Users Guide

Table Of Contents
1. View IPv4 or IPv6 PBR policy information in EXEC mode.
show {ip | ipv6} policy name
2. View current PBR statistics in EXEC mode.
show route-map map-name pbr-statistics
3. Clear all policy statistics information in EXEC mode.
clear route-map map-name pbr-statistics
Verify IPv4 PBR configuration
OS10# show ip policy abc
Interface Route-map
-----------------------
ethernet1/1/1 abc
ethernet1/1/3 abc
vlan100 abc
Verify IPv6 PBR configuration
OS10# show ipv6 policy abc
Interface Route-map
-------------------------
ethernet1/1/1 abc
ethernet1/1/3 abc
vlan100 abc
View current PBR statistics
show route-map pbr-sample pbr-statistics
route-map pbr-sample, permit, sequence 10
Policy routing matches: 84 packets
Policy-based routing per VRF
Configure PBR per VRF instance for both IPv4 and IPv6 traffic flows.
Policy-based routing (PBR) enables packets with certain match criteria, such as packets from specific source and destination addresses,
to be re-directed to a different next-hop.
You can also use PBR to re-direct packets arriving on a VRF instance to a next-hop that is reachable through a different VRF instance.
You can re-direct packets arriving on any VRF instance to the default VRF instance or any other non-default VRF instance.
NOTE:
PBR is supported on the default and non-default VRF instances; however, PBR is not supported on the
management VRF instance.
Configuring PBR per VRF
For traffic arriving on a VRF instance, you can re-direct this traffic to a next-hop on another VRF instance using route-maps. In the route-
map, set the next-hop IP address that is reachable through a different VRF instance. When traffic that matches certain criteria arrives on
a VRF instance, the route-map configuration enables packets to be re-directed to a next-hop that is reachable over another VRF instance.
To configure PBR per VRF:
1. Create the match ACL rule for IPv4 or IPv6 traffic.
{ip | ipv6} access-list access-list-name
2. Permit or deny IPv4 or IPv6 traffic from any source with a specific destination.
permit {ip | ipv6} any ip-address
or
deny {ip | ipv6} any ip–address
Layer 3
671