ZXR10 ZSR V2 Configuration Guide (IPv6)
Figure 4-1 Topology Diagram for Configuring a Static IPv6 Route (Direct Next Hop)
Configuration Flow
1.
Configure the IPv6 address of the network segment 2005::/64 for the direct connection
between R1 and R2.
2.
Configure the IPv6 address of another different network segment 2003::/64 on the
direct connection interface of R2.
3.
Add a static route pointing to the network segment 2003::/64 on R1 so that R1 can
successfully ping the network segment 2003::/64 of R2.
Configuration Commands
The configuration on R1 is as follows:
R1(config)#interface gei-2/1
R1(config-if-gei-2/1)#no shutdown
R1(config-if-gei-2/1)#ipv6 enable
R1(config-if-gei-2/1)#ipv6 address 2005::1/64
R1(config-if-gei-2/1)#exit
R1(config)#ipv6 route 2003::/64 2005::2
/*Configure the static route*/
R1(config)#exit
The configuration on R2 is as follows:
R2(config)#interface gei-4/1
R2(config-if-gei-4/1)#no shutdown
R2(config-if-gei-4/1)#ipv6 enable
R2(config-if-gei-4/1)#ipv6 address 2005::2/64
R2(config-if-gei-4/1)#exit
R2(config)#interface gei-4/3
R2(config-if-gei-4/3)#no shutdown
R2(config-if-gei-4/3)#ipv6 enable
R2(config-if-gei-4/3)#ipv6 address 2003::2/64
R2(config-if-gei-4/3)#exit
Configuration Verification
On R1, check whether the address has been successfully configured, whether the interface
is in up status, and whether the static route has been successfully added, and then execute
the "ping6 2003::2” command to check whether the ping operation is successful.
R1(config)#show running-config-interface gei-2/1
! <Interface>
interface gei-2/1
4-4
SJ-20140504150128-018|2014-05-10 (R1.0)
ZTE Proprietary and Confidential