show policy-map targets
To display information about the interfaces on which policy maps are applied, use the show policy-map
targets command in XR EXEC mode.
show policy-map targets [{location node-id|pmap-name name|type qos [{location
node-id|pmap-name name}]}]
Syntax Description
(Optional) Displays information about the interfaces on which policy maps are applied
for the specified location. The node-id argument is entered in the rack/slot/module
notation.
location node-id
(Optional) Displays information about the interfaces on which the specified policy map
is applied.
pmap-name name
(Optional) Displays information about the interfaces on which QoS policy maps are
applied. This is the default type.
type qos
Command Default
The default QoS policy type is QoS.
Command Modes
XR EXEC mode
Command History
ModificationRelease
This command was introduced.Release 6.0
Usage Guidelines
For a short period of time while a QoS policy is being modified, there might not be any policy in effect on
the interfaces in which the modified policy is used. For this reason, modify QoS policies that affect the fewest
number of interfaces at a time. Use the show policy-map targets command to identify the number of
interfaces that will be affected during policy map modification.
Task ID
OperationsTask
ID
readqos
Examples
In this example, the TenGigabit Ethernet interface 4/0/10/0 has one policy map attached as a main
policy. Outgoing traffic on this interface will be affected if the policy is modified:
RP/0/RP0/CPU0:router# show policy-map targets
Wed Dec 2 22:35:13.993 UTC
1) Policymap: test-qlimit Type: qos
Targets (applied as main policy):
TenGigE0/4/0/10/0 output
TenGigE0/6/0/30/1 output
Total targets: 2
Targets (applied as child policy):
Total targets: 0
Modular QoS Command Reference for Cisco NCS 5500 Series and Cisco NCS 540 Series Routers
60
Congestion Management Commands
show policy-map targets