beautypg.com

7 mls qos aggregate-policer – Accton Technology ES4626 User Manual

Page 262

background image

262

Command: mls qos cos { }

no mls qos cos

Function:

Configures the default CoS value of the port; the “no mls qos cos” command

restores the default setting.

Parameters:

< default-cos> is the default CoS value for the port, the valid range is 0 to

7.

Default:

The default CoS value is 0.

Command mode:

Interface Mode

Usage Guide:

Example:

Setting the default CoS value of Ethernet port 1/1 to 5, i.e., packets coming in

through this port will be assigned a default CoS value of 5 if no CoS value present.

Switch(Config)#interface ethernet 1/1

Switch(Config-Ethernet1/1)#mls qos cos 5

8.1.3.7 mls qos aggregate-policer

Command: mls qos aggregate-policer <aggregate-policer-name>

exceed-action {drop |policed-dscp-transmit}

no mls qos aggregate-policer <aggregate-policer-name>

Function:

Defines a policy set that can be used in one policy map by several classes;

the “no mls qos aggregate-policer <aggregate-policer-name>“ command deletes the

specified policy set.

Parameters:

<aggregate-policer-name> is the name of the policy set; <rate-kbps> is

the average baud rate (in kb/s) of classified traffic, range from 1,000 to 10,000,000;

is the burst value (in kb/s) for classified traffic, range from 1 to 1,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:

No policy set is configured by default.

Command mode:

Global Mode

Usage Guide:

If a policy set is using by a policy map, it cannot be deleted unless the

reference to the policy set is cleared in the appropriate policy map with “no police

aggregate <aggregate-policer-name>

“ command. The delete should be performed in

Global Mode with “no mls qos aggregate-policer

<aggregate-policer-name>

“ command.

Example:

Setting a policy set named “agg1”, the policy set defines the bandwidth for

packets of up to 20 Mbps, with a burst value of 2 MB. All packets exceeding this

bandwidth setting will be dropped.

Switch(Config)#mls qos aggregate-policer agg1 20000 2000 exceed-action drop

This manual is related to the following products: