ZXR10 ZSR V2 Configuration Guide (IPv6)
R2(config-if-gei-1/3)#exit
R2(config)#interface gei-1/4
R2(config-if-gei-1/4)#no shutdown
R2(config-if-gei-1/4)#ipv6 enable
R2(config-if-gei-1/4)#ipv6 address 2:3::2/64
R2(config-if-gei-1/4)#exit
R2(config)#router bgp 200
R2(config-bgp)#neighbor 1:2::1 remote-as 1011
R2(config-bgp)#neighbor 2:3::3 remote-as 200
R2(config-bgp)#address-family ipv6
R2(config-bgp-af-ipv6)#neighbor 1:2::1 activate
R2(config-bgp-af-ipv6)#neighbor 2:3::3 activate
R2(config-bgp-af-ipv6)#exit
R2(config-bgp)#exit
Configuration on R3:
R3(config)#interface gei-5/3
R3(config-if-gei-5/3)#no shutdown
R2(config-if-gei-5/3)#ipv6 enable
R3(config-if-gei-5/3)#ipv6 address 2:3::3/64
R3(config-if-gei-5/3)#exit
R3(config)#router bgp 200
R3(config-bgp)#neighbor 2:3::2 remote-as 200
R3(config-bgp)#address-family ipv6
R3(config-bgp-af-ipv6)#neighbor 2:3::2 activate
R3(config-bgp-af-ipv6)#exit
R3(config-bgp)#exit
2.
Run the following commands to advertise five BGP routes from R1 to R2.
R1(config)#router bgp 1011
R1(config-bgp)#address-family ipv6
R1(config-bgp-af-ipv6)#network 4:4::4/64
R1(config-bgp-af-ipv6)#network 5:5::5/64
R1(config-bgp-af-ipv6)#network 6:6::6/64
R1(config-bgp-af-ipv6)#network 7:7::7/64
R1(config-bgp-af-ipv6)#network 8:8::8/64
R1(config-bgp-af-ipv6)#exit
R1(config-bgp)#exit
3.
Configure route-map test1 and ACLs on R2.
R2(config)#ipv6-access-list 1
R2(config-ipv6-acl)#rule 1 permit ipv6 4:4::/64 any
R2(config-ipv6-acl)#exit
R2(config)#ipv6-access-list 2
9-18
SJ-20140504150128-018|2014-05-10 (R1.0)
ZTE Proprietary and Confidential