D-Link DGS-1510 Series Reference Manual page 512

Gigabit ethernet smartpro switch
Hide thumbs Also See for DGS-1510 Series:
Table of Contents

Advertisement

DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide
INTERFACE-ID
POLICY-NAME
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.
Switch# show policy-map interface eth3/0/1
Policy Map: policy1 : input
Class police
police cir 500 bc 10 pir 1000 be 10 conform-action transmit exceed-action set-dscp-
transmit 2 violate-action drop
Switch#
(Optional) Specifies the module and port number.
(Optional) Specifies the name of the policy map. If not specified, all
policy maps will be displayed.
509

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents