ipv6 policy route-map
To set an interface to use policy-based routing (PBR) with IPv6, use the ipv6 policy route-map command in interface configuration mode. To clear the PBR, use the no form of this command.
ipv6 policy route-map string
no ipv6 policy route-map string
Syntax Description
string |
Identifies a route map to be used for IPv6 PBR on an interface. |
Command Default
None
Command Modes
interface configuration (config-if)
Command History
Release | Modification |
---|---|
Cisco IOS XE Catalyst SD-WAN Release 17.2.1v |
Command qualified for use in Cisco SD-WAN Manager CLI templates. |
Usage Guidelines
To enable PBR for IPv6, create a route map that specifies the packet match criteria and the desired policy-route action. Then, associate the route map on the required interface. All packets arriving on the specified interface that match the match clauses will be subject to PBR.
Depending on your release, IPv6 PBR allows users to override normal destination IPv6 address-based routing and forwarding results. VPN routing and forwarding (VRF) allows multiple routing instances in Cisco software. The PBR feature is VRF-aware, which means that it works under multiple routing instances, beyond the default or global routing table.
Example
The following example configures PBR on GigabitEthernet 0/0/2, using the map tag “rip-to-ospf”
Device(config)# interface GigabitEthernet 0/0/2
Device(config-if)# ipv6 policy route-map rip-to-ospf