365
DCS-3950 series Ethernet switch manual
Default: Not assigning by default
Command mode: Policy Class-map Mode
Usage Guide: Only the classified traffic which matches the matching standard will be
assigned with the new values.
Example: Set the IP Precedence of the packets matching the c1 class rule to 3.
Switch(config)#policy-map p1
Switch(config-PolicyMap)#class c1
Switch(config--Policy-Class)#set ip precedence 3
Switch(config--Policy-Class)#exit
Switch(config-PolicyMap)#exit
24.2.2.7 police
Command: police <rate-bps> <burst-byte> [exceed-action
{drop|policed-dscp-transmit}]
no police <rate-bps> <burst-byte> [exceed-action
{drop|policed-dscp-transmit}]
Function: Configure a policy to a classified traffic; the ‘no police <rate-kbps>
<burst-kbyte> [exceed-action {drop | policed-dscp-transmit}]’ command deletes the
specified policy.
Parameters: <rate-kbps> is the average baud rate (kb/s) of classified traffic, ranging
from 1 to 10,000,000; <burst-kbyte> is the burst baud rate (kbyte) of classified traffic,
ranging from 1 to 1000,000; exceed-action drop means drop packets when specified
speed is exceeded; exceed-action policed-dscp-transmit specifies to mark down
packet DSCP value according to policed-dscp mapping when specified speed is
exceeded.
Default: There is no policy by default.
Command mode: Policy class map configuration Mode
Usage Guide: The ranges of <rate-kbps> and <burst-kbyte> are quite large, if the
setting exceeds the actual speed of the port, the policy map applying this policy will not
bind to switch ports.
Example: Set the bandwidth for packets that matching c1 class rule to 20 Mbps, with
a burst value of 2 MB, all packets exceed this bandwidth setting will be dropped.
Switch(config)#policy-map p1
Switch(config-PolicyMap)#class c1
Switch(config--Policy-Class)#police 20000000 20000 exceed-action drop
Switch(config--Policy-Class)#exit
Switch(config-PolicyMap)#exit
24.2.2.8 mls qos aggregate-policer
Command: mls qos aggregate-policer <aggregate-policer-name> <rate-kbps>
<burst-kbyte> exceed-action {drop |policed-dscp-transmit}
no mls qos aggregate-policer <aggregate-policer-name>