ZXR10 ZSR V2 Configuration Guide (IPv6)
[route-map v6-pbr] IP type: IPv6
route-map v6-pbr permit 10
match ipv6 address 1
set ipv6 next-hop 100:0:0:0:0:0:0:1
route-map v6-pbr permit 20
match ipv6 address 2
set ipv6 next-hop 200:0:0:0:0:0:0:1
Apply the route-map to the interfaces.
ZXR10(config)#ipv6 policy interface gei-1/1 route-map v6-pbr
ZXR10(config)#show running-config pbr
! <pbr>
ipv6 policy interface gei-1/1 route-map v6-pbr
! </pbr>
ZXR10(config)#ipv6 policy interface gei-1/2 route-map v6-pbr
ZXR10(config)#show running-config pbr
! <pbr>
ipv6 policy interface gei-1/2 route-map v6-pbr
! </pbr>
In this example, the following three situations may occur.
l
When both the ISP1 egress and the ISP2 egress are normal, the ISP1 egress is
selected for the services of the users of the subnet 10::1/24 whereas the ISP2 egress
is selected for the services of the users of the subnet 11::1/24.
l
When the ISP1 egress is normal but the ISP2 egress is abnormal, the ISP1 egress
is selected for the services of the users of both subnets and then the default route is
used for the services of the users of the subnet 11::1/24.
l
When the ISP1 egress is abnormal but the ISP2 egress is normal, the services of the
users of the subnet 11::1/24 are normal but the services of the users of the subnet
10::1/24 are interrupted.
Configuration Verification
Check the route-map configuration information, as shown below.
ZXR10(config)#show route-map v6-pbr
[route-map v6-pbr] IP type: IPv6
route-map v6-pbr permit 10
match ipv6 address 1
set ipv6 next-hop 100:0:0:0:0:0:0:1
route-map v6-pbr permit 20
match ipv6 address 2
set ipv6 next-hop 200:0:0:0:0:0:0:1
Check the PBR binding information on the interface, as shown below.
ZXR10(config)#show running-config pbr
! <pbr>
9-34
SJ-20140504150128-018|2014-05-10 (R1.0)
ZTE Proprietary and Confidential