ipv6 policy route-map
Enables IPv6 policy-based routing (PBR).
Command Default
PBR is not enabled.
Parameters
Modes
Global configuration mode
Interface configuration mode
Virtual interface configuration mode
Usage Guidelines
This command can be used to enable IPv6 PBR globally on all interfaces or on a specific interface.
Examples
The following example configures a route-map named test-route and enables IPv6 PBR globally.
device# configure terminal device(config)# ipv6 access-list acl8 permit 2001:DB8:12d:1300::/64 device(config)# route-map test-route permit acl8 device(config-routemap test-route)# match ipv6 address acl8 device(config-routemap test-route)# set ipv6 next-hop 2001:DB8:12d:1300:1 device(config-routemap test-route)# exit device(config)# ipv6 policy route-map test-route
The following example configures a route-map named test-route and enables IPv6 PBR on Ethernet interface 1/1/1.
device# configure terminal device(config)# ipv6 access-list acl8 permit 2001:DB8:12d:1300::/64 device(config)# route-map test-route permit acl8 device(config-routemap test-route)# match ipv6 address acl8 device(config-routemap test-route)# set ipv6 next-hop 2001:DB8:12d:1300:1 device(config-routemap test-route)# exit device(config)# interface ethernet 1/1/1 device(config-if-e1000-1/1/1)# ipv6 policy route-map map1
History
| Release version | Command history |
|---|---|
| 08.0.70 | This command was introduced. |