DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide
527
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.
Switch# show policy-map policy1
Policy Map policy1
Class police
police cir 500 bc 10 pir 1000 be 10 conform-action transmit exceed-action set-dscp-
transmit 2 violate-action drop
Switch#
This example shows how to display all policy maps at port 3/0/1.
Содержание DGS-510
Страница 1: ...1 ...
Страница 287: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 284 ...
Страница 321: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 318 ...
Страница 493: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 490 ...
Страница 733: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 730 ...