首页 > 代码库 > 013 IPv6

013 IPv6

Router>en
Router#config t
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#ipv6 ?
  access-list      Configure access lists
  dhcp             Configure Ipv6 DHCP
  general-prefix   Configure a general IPv6 prefix
  host             Configure static hostnames
  local            Specify local options
  nat              NAT-PT Configuration commands
  neighbor         Neighbor
  route            Configure static routes
  router           Enable an IPV6 routing process
  unicast-routing  Enable unicast routing
Router(config)#ipv6 un
Router(config)#ipv6 unicast-routing
Router(config)#int f0/0
Router(config-if)#ipv6 add ?
  WORD                General prefix name
  X:X:X:X::X          IPv6 link-local address
  X:X:X:X::X/<0-128>  IPv6 prefix
  autoconfig          Obtain address using autoconfiguration
Router(config-if)#ipv6 add 2001:1cc1:dddd:2::/64 eui-64
Router(config-if)#end
 
%SYS-5-CONFIG_I: Configured from console by console
Router#sh ipv6 int f0/0
FastEthernet0/0 is administratively down, line protocol is down
  IPv6 is enabled, link-local address is FE80::202:17FF:FEB2:6001 [TEN]
  No Virtual link-local address(es):
  Global unicast address(es):
    2001:1CC1:DDDD:2:202:17FF:FEB2:6001, subnet is 2001:1CC1:DDDD:2::/64 [EUI/TEN]
  Joined group address(es):
    FF02::1
    FF02::2
    FF02::1:FFB2:6001
  MTU is 1500 bytes
  ICMP error messages limited to one every 100 milliseconds
  ICMP redirects are enabled
  ICMP unreachables are sent
  ND DAD is enabled, number of DAD attempts: 1
  ND reachable time is 30000 milliseconds
  ND advertised reachable time is 0 milliseconds
  ND advertised retransmit interval is 0 milliseconds
  ND router advertisements are sent every 200 seconds
  ND router advertisements live for 1800 seconds
  ND advertised default router preference is Medium
  Hosts use stateless autoconfig for addresses.
 
DNS server
Router#config t
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#ipv6 host ?
  WORD  Name of host
Router(config)#ipv6 host yanjin ?
  X:X:X:X::X  IPv6 address
Router(config)#ipv6 host yanjin 2001:1CC1:DDDD:2:202:17FF:FEB2:6001 ?
  X:X:X:X::X  IPv6 address
  <cr>
Router(config)#ipv6 host yanjin 2001:1CC1:DDDD:2:202:17FF:FEB2:6001
Router(config)#ip name-server 2001:1CC1:DDDD:2:202:17FF:FEB2:6001
Router(config)#
 
RIPng
Router(config)#ipv6 router rip ?
  WORD  User selected string identifying this process
Router(config)#ipv6 router rip RIPPROC1
Router(config-rtr)#int f0/0
Router(config-if)#ipv6 rip RIPPROC1 enable
Router(config-if)#do sh ipv6 rip
sh ipv6 rip
% Incomplete command.
Router(config-if)#end
 
%SYS-5-CONFIG_I: Configured from console by console
Router#sh ipv6 rip
% Incomplete command.
Router#sh ipv6 rip ?
  database  RIP local RIB
Router#sh ipv6 rip d
Router#sh ipv6 rip database
RIP process "RIPPROC1" local RIB
Router#


来自为知笔记(Wiz)


013 IPv6