ZXR10 ZSR V2 Configuration Guide (IPv6)
R1(config)#route-map www permit 10
R1(config-route-map)#set ipv6 metric 10
R1(config-route-map)#exit
R1(config)#ipv6 router rip
R1(config-ripng)#interface gei-1/2
R1(config-ripng-if-gei-1/2)#ipv6 rip enable
R1(config-ripng-if-gei-1/2)#exit
R1(config-ripng)#redistribute static route-map www
R1(config-ripng)#exit
R1(config)#ipv6 route 1:2:3::0/64
192:168::1:2
Configuration on R2:
R2(config)#interface gei-2/2
R2(config-if-gei-2/2)#no shutdown
R2(config-if-gei-2/2)#ipv6 enable
R2(config-if-gei-2/2)#ipv6 address 192:168::1:2/64
R2(config-if-gei-2/2)#exit
R2(config)#ipv6 router rip
R2(config-ripng)#interface gei-2/2
R2(config-ripng-if-gei-2/2)#ipv6 rip enable
R2(config-ripng-if-gei-2/2)#end
Configuration Verification
Run the
show
command on R1 and R2 respectively to query the configuration of the RIP
protocol, route-map and static routes, RIP routing table and routing information.
The sample output on R1 is as follows.
R1#show running-config ripng
! <ripng>
ipv6 router rip
redistribute static route-map www
interface gei-1/2
ipv6 rip enable
$
$
! </ripng>
R1#show running-config ipv6-static
! <ipv6-static>
ipv6 route 1:2:3::/64 192:168::1:2
! </ipv6-static>
9-8
SJ-20140504150128-018|2014-05-10 (R1.0)
ZTE Proprietary and Confidential