11 police – Accton Technology ES4626 User Manual

Page 265

Advertising
background image

265

DSCP Value

0 8 16 24 32 40 48 56

Default DSCP-to-CoS Map

DSCP Value

0–7 8–15 16–23 24–31 32–39 40–47 48–55 56–63

CoS Value

0 1 2

3 4 5 6 7

Default IP-Precedence-to-DSCP Map

IP Precedence Value

0 1 2 3 4 5 6 7

DSCP Value

0 8 16 24 32 40 48 56

dscp-mutation and policed-dscp are not configured by default

Command mode:

Global Mode

Usage Guide:

In police command, classified packet traffic can be set to mark down if

exceed specified average speed or burst value, policed-dscp <dscp-list> to

<mark-down-dscp>

can mark down the DSCP values of those packets to new DSCP

values.

Example:

Setting the CoS-to-DSCP mapping value to the default 0 8 16 24 32 40 48 56

to 0 1 2 3 4 5 6 7.

Switch(Config)#mls qos map cos-dscp 0 1 2 3 4 5 6 7

8.1.3.11 police

Command:police <rate-kbps> <burst-kbyte> [exceed-action {drop |

policed-dscp-transmit}]

no police <rate-kbps> <burst-kbyte> [exceed-action {drop |

policed-dscp-transmit}]

Function:

Configures 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,000 to 10,000,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:

Setting 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

Advertising
This manual is related to the following products: