show policy-map type pbr
To view details of the configured PBR policy and related statistics, use the
show policy-map type pbr vrf
vrf-name addr-family ipv4 statistics
command in XR EXEC mode.
show policy-map type pbr vrf vrf-name addr-family
{
ipv4 | ipv6
}
statistics
Syntax Description
Sets the VRF name.
vrf vrf-name
Command Default
No default action.
Command Modes
XR EXEC mode
Command History
Modification
Release
This command was introduced.
Release 6.0.1
Usage Guidelines
This command applies only to the incoming IPv4 packets only.
Task ID
Operations
Task
ID
read
qos
Examples
This example shows how to view details of the configured PBR policy and related statistics:
/* Configuring a VRF */
RP/0/RP0/CPU0:router(config)#
vrf gre-vrf address-family ipv4 unicast
...
/* Configuring a policy */
RP/0/RP0/CPU0:router(config)#
policy-map type pbr gre-policy
...
/* Applying the policy on the VRF */
RP/0/RP0/CPU0:router(config)#
vrf-policy vrf gre-vrf address-family ipv4 policy type pbr
input gre-policy
/* Displaying policy details and statistics */
RP/0/RP0/CPU0:router#
show policy-map type pbr vrf gre-vrf addr-family ipv4 policy type pbr
input gre-policy
Modular QoS Command Reference for Cisco NCS 5500 Series and Cisco NCS 540 Series Routers
62
Congestion Management Commands
show policy-map type pbr