Owners manual

DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide
499
53-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
(Optional) Specifies the module and port number.
POLICY-NAME
(Optional) Specifies the name of the policy map. If not specified, all
policy maps will be displayed.
Default
None.
Command Mode
EXEC Mode 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 eth3/0/1
Router(config-if)# service-policy input policy1
Router(config-if)#
This example shows how to the display of the policy map called policy1, created above.