Content Cisco router Configuration Basic Tunnel configuration RIPng Configuration IPv6 指令 Router>enable Router#config Router(config)# ipv6 unicast-routing Enables the forwarding of IPv6 unicast datagrams. Router(config)# interface interface-type interface-number Specifies an interface type and number, and placesthe router in interface configuration mode. Router(config-if)# ipv6 address ipv6-prefix/ prefix-length [eui-64] Specifies an IPv6 network assigned to the interface and enables IPv6 processing on the interface. IPv6 指令 Router(config-if)# ipv6 enable Automatically configures an IPv6 link-local address on the interface while also enabling the interface for IPv6 processing Router# show running-config to verify that IPv6 processing of packets is enabled globally on the router and on applicable interfaces Router# show ipv6 interface ethernet 0 verifies that IPv6 addresses are configured correctly Router# ping ipv6-address IPv6 指令 Router(config)# interface interface-type interface-number Router(config-if)# ipv6 nd suppress-ra Disable Router advertisement Example 1-1 Router# show running-config Building configuration... Current configuration : 22324 bytes ! ! hostname fred ! ipv6 unicast-routing ! interface Ethernet0 no ip route-cache no keepalive ipv6 enable ipv6 address 3FFE:C00:0:1::/64 eui-64 Example 1-1 Router# show ipv6 interface ethernet 0 Ethernet0 is up, line protocol is up IPv6 is enabled, link-local address is FE80::260:3EFF:FE11:6770 Global unicast address(es): 3FFE:C00:0:1:260:3EFF:FE11:6770, subnet is 3FFE:C00:0:1::/64 Joined group address(es): FF02::1 FF02::2 FF02::1:FF11:6770 ……. ND router advertisements are sent every 200 seconds ND router advertisements live for 1800 seconds Hosts use stateless autoconfig for addresses. Example 1-2 Router# show running-config Building configuration... Current configuration : 22324 bytes ! ! hostname fred ! ipv6 unicast-routing ! interface Ethernet0 no ip route-cache no keepalive