ZXR10 ZSR V2 Configuration Guide (IPv6)
PE2(config-ospf-1)#network 10.0.0.0 0.255.255.255 area 0.0.0.0
PE2(config-ospf-1)#exit
PE2(config)#ipv6 router ospf 1 vrf
test1
PE2(config-ospfv3-1)#router-id 2.2.2.2
PE2(config-ospfv3-1)#interface gei-1/7.10 area 0.0.0.0
PE2(config-ospfv3-1- gei-1/7.10)#exit
PE2(config-ospfv3-1)#exit
PE2(config)#router bgp 100
PE2(config-bgp)#neighbor 10.10.1.1 remote-as 100
PE2(config-bgp)#neighbor 10.10.1.1 update-source loopback1
PE2(config-bgp)#address-family ipv6 vrf test1
PE2(config-bgp-af-ipv6-vrf)#redistribute ospf-int 1
PE2(config-bgp-af-ipv6-vrf)#redistribute connected
PE2(config-bgp-af-ipv6-vrf)#exit
PE2(config-bgp)#address-family vpnv6
PE2(config-bgp-af-vpnv6)#neighbor 10.10.1.1 activate
PE2(config-bgp-af-vpnv6)#exit
PE2(config-bgp-vpnv6)#exit
2.
Check the VRF routes on PE1 and PE2.
The sample output on PE1 is as follows:
PE1#show ipv6 protocol routing vrf test1
Vrf test1 IPv6 Routing Table
Codes: D - Direct, A - Address, S - Static, R - RIP, UI - USER_IPADDR,
I1 - ISIS L1, I2 - ISIS L2, IA - ISIS interarea, IS - ISIS static,
O - OSPF intra, OI - OSPF inter, E1 - OSPF ext 1, E2 - OSPF ext 2, N - ND,
B - BGP, IB - IBGP, EB - EBGP, AG - BGP AGG, V - VRRP, P - PPP, D6 - DHCPv6,
SFN - Stateful NAT64, SLN - Stateless NAT64, AF - AFTR
Time: The time of last modified!
IB
22::/64 [200/0]
via ::ffff:10.10.3.3, loopback1, IPv6-mpls, 09h03m49s
D
33::/64
via ::, loopback33, 07h10m49s
A
33::33/128
via ::, loopback33, 07h10m49s
D
1001::20:0/120
via ::, loopback44, 08h47m18s
A
1001::20:2/128
via ::, loopback44, 08h47m18s
IB
2002::20:0/120 [200/0]
via ::ffff:10.10.3.3, loopback1, IPv6-mpls, 08h33h41s
The sample output on PE2 is as follows:
9-24
SJ-20140504150128-018|2014-05-10 (R1.0)
ZTE Proprietary and Confidential