Chapter 5 IPv6 Static Route Configuration
Steps
S1 configuration:
S1(config)#interface vlan10
S1(config-if-vlan10)#ipv6 enable
S1(config-if-vlan10)#ipv6 address 2005::1/64
S1(config-if-vlan10)#exit
S1(config)#ipv6 route 2003::/64 2005::2
S1(config)#exit
S2 configuration:
S2(config)#interface vlan10
S2(config-if-vlan10)#ipv6 enable
S2(config-if-vlan10)#ipv6 address 2005::2/64
S2(config-if-vlan10)#exit
S2(config)#interface vlan20
S2(config-if-vlan20)#ipv6 enable
S2(config-if-vlan20)#ipv6 address 2003::2/64
S2(config-if-vlan20)#exit
Verification
On S1, check whether the address has been successfully configured, whether the interface
is up, and whether the static route has been successfully added, and then run "ping6
2003::2" to check whether the ping operation is successful.
S1(config)#show running-config-interface vlan10
!<if-intf>
interface vlan10
ipv6 enable
ipv6 address 2005::1/64
$
!</if-intf>
S1(config)#show ipv6 interface brief vlan10
vlan10
[up/up]
fe80::2d0:d0ff:fe60:1000
2005::1/64
S1(config)#show running-config ipv6-static
!<ipv6-static-route>
ipv6 route 2003::/64 2005::2
!</ipv6-static-route>
S1(config)#ping6 2003::2
sending 5,100-byte ICMP echo(es) to 2003:0:0:0:0:0:0:2,timeout is 2 second(s).
5-5
SJ-20150114102049-011|2015-01-15 (R1.0)
ZTE Proprietary and Confidential