Chapter 9 IPv6 Route-Map Policy Configuration
via ::, loopback33, 00h04m47
A
33::33/128
via ::, loopback33, 00h04m47
D
1001::20:0/120
via ::, loopback44, 00h04m47
A
1001::20:2/128
via ::, loopback44, 00h04m47
IB
2002::20:0/120 [200/0]
via ::ffff:10.10.3.3, loopback1, IPv6-mpls, 21h23m00
The test2 routing policy filters routes advertised from peer PE2.
IB
22::/64 [200/0]
via ::ffff:10.10.3.3, loopback1, IPv6-mpls, 09h03m49s
PE1 can learn routes only if rule 1 (permit ipv6 2002::20:0/120 any) defined in route-map
test2 is matched. The command is as follows.
IB
2002::20:0/120 [200/0]
via ::ffff:10.10.3.3, loopback1, IPv6-mpls, 08h33m41s
The test1 routing policy works for outgoing routes on PE1. Before the use of the policy,
the routing table for VRF test1 on PE2 is as follows.
PE2#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!
D
22::/64
via ::, loopback22, 21h02m55s
A
22::1/128
via ::, loopback22, 21h02m55s
IB
33::/64 [200/0]
via ::ffff:10.10.1.1, loopback1, IPv6-mpls, 08h33m39s
IB
1001::20:0/120 [200/0]
via ::ffff:10.10.1.1, loopback1, IPv6-mpls, 08h47m18s
D
2002::20:0/120
via ::, gei-1/10.1, 06h2211s
A
2002::20:2/128
via ::, gei-1/10.1, 06h22m11s
After the policy is enabled, the routing table for VRF test1 on PE2 is as follows.
PE2#show ipv6 protocol routing vrf test1
Vrf test1 IPv6 Routing Table
9-29
SJ-20140504150128-018|2014-05-10 (R1.0)
ZTE Proprietary and Confidential