DXS-3600 Series Layer 3 Managed 10Gigabit Ethernet Switch CLI Reference Guide
2
3
4
5
6
7
Switch#
87-27
show policy-map
This command is used to display the policy map configuration.
show policy-map [POLICY-NAME | interface INTERFACE-ID]
Parameters
INTERFACE-ID
POLICY-NAME
Default
None.
Command Mode
User EXEC or Any Configuration Mode.
Command Default Level
Level: 1.
Usage Guideline
The show policy-map command displays the class policies configured for the policy map. Use the show
policy-map command to display the class policy configurations of any or all the existing service policy
maps.
Example
This example shows how in the policy map called policy1, two-rate traffic policing has been configured for
the class called police. Two-rate traffic policing has been configured to limit the traffic to an average
committed rate of 500 kbps and a peak rate of 1 Mbps.
Switch# configure terminal
Switch(config)# class-map police
Switch(config-cmap)# match access-group name acl_rd
Switch(config-cmap)# policy-map policy1
Switch(config-pmap)# class police
Switch(config-pmap-c)# police cir 500 bc 10 pir 1000 be 10 exceed-action set-dscp-
transmit 2 violate-action drop
Switch(config-pmap-c)# exit
Switch(config-pmap)# exit
Switch(config)# interface ethernet 1/0/1
Router(config-if)# service-policy output policy1
Router(config-if)#
3
4
5
6
7
8
(Optional) Specifies the module and port number.
(Optional) Specifies the name of the policy map. If not specified, all
policy maps will be displayed.
1111