DXS-3600-32S CLI Reference Guide


Add to my manuals
596 Pages

advertisement

DXS-3600-32S CLI Reference Guide | Manualzz

DXS-3600-32S 10GbE Layer 2/3 Switch CLI Reference Guide

Weighted Random Early Detection (WRED) Commands

65-1 clear random-detect drop-counter

This command is used to clear WRED drop counters.

clear random-detect drop-counter

Parameters

Default

Command Mode

None.

None.

Interface Configuration Mode.

Command Default Level

Level: 15

Usage Guideline

Only physical ports are valid for this command.

Example

This example shows how to clear WRED drop counters.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface tenGigabitEthernet 3

DXS-3600-32S(config-if)#clear random-detect drop-counter

Success

DXS-3600-32S(config-if)#

65-2 random-detect

This command is used to enable the WRED function. The no form of this command use to disable the WRED function.

random-detect COS-VALUE [profile id]

no random-detect COS-VALUE

Parameters

COS-VALUE

profile id

Specifies CoS queues on which WRED state will be set.

Specifies the WRED profile that will be applied. If not specified, the WRED profile 1 will be applied

Default

Command Mode

WRED is disabled.

Interface Configuration Mode.

Command Default Level

Level: 15

Usage Guideline

Only physical ports are valid for this command. When a packet arrives, the current average queue size is calculated by the hardware. The weight value is set by the command random-detect exponential-weight.

If the current average queue size is less than the min-threshold of the queue, the arriving packet is queued. If the current queue length is between the min-threshold and the max-threshold of the queue, the packet is either dropped or queued depending on the packet drop probability. If the average queue size is greater than the max-threshold of the queue, all packets will be dropped

Example

This example shows how to enable the WRED function queue 5 and apply WRED profile 10.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface tenGigabitEthernet 3

DXS-3600-32S(config-if)#random-detect 5 profile 10

Success

DXS-3600-32S(config-if)#

550

DXS-3600-32S 10GbE Layer 2/3 Switch CLI Reference Guide

65-3 random-detect exponential-weight

This command is used to configure the WRED exponential weight factor for the average queue size calculation for the queue. The no form is used to configure it to the default setting.

random-detect exponential-weight COS-VALUE exponent <VALUE 0-15>

no random-detect exponential-weight

Parameters

COS-VALUE

Specifies the CoS queues on which exponent will be set.

exponent <VALUE 0-15> Specifies the exponent value used in the average queue size calculation. This value must be between 0 and 15.

Default

Command Mode

The default exponential weight factor is 9.

Interface Configuration Mode.

Command Default Level

Level: 15

Usage Guideline

Only physical ports are valid for this command.

Example

This example shows how to configure the exponent to 10 and the queue to 5.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface tenGigabitEthernet 3

DXS-3600-32S(config-if)#random-detect exponential-weight 5 exponent 10

Success

DXS-3600-32S(config-if)#

65-4 random-detect profile

This command is used to configure the WRED profile. Use no form of this command to configure it to default setting.

random-detect profile id [tcp | non-tcp] [green | yellow | red] min-threshold <0-100> max-threshold <0-100>

max-drop-rate <0-14>

no random-detect profile id

Parameters

id

tcp non-tcp green yellow red

min-threshold <0-100>

max-threshold <0-100>

Specifies the ID of the WRED profile that will be set.

Specifies the WRED drop parameters for TCP packet to be set. If not specified, the same WRED drop parameter will be set for both type of traffic.

Specifies the WRED drop parameters for a Non-TCP packet to be set. If not specified, the same WRED drop parameter will be set for both type of traffic.

Specifies the WRED drop parameters for the green packet to be set. If not specified, the same WRED drop parameter will be set for all color packet.

Specifies the WRED drop parameters for the yellow packet to be set. If not specified, the same WRED drop parameter will be set for all color packet.

Specifies the WRED drop parameters for the red packet to be set. If not specified, the same WRED drop parameter will be set for all color packet.

Specifies the minimum queue size (in percentage of total queue size) to start WRED dropping. This value must be between 0 and 100.

Specifies the maximum queue size (in percentage of total queue size) over which

WRED will drop all packets destined for this queue. This value must be between 0 and 100.

551

max-drop-rate <0-14>

DXS-3600-32S 10GbE Layer 2/3 Switch CLI Reference Guide

Specifies the drop probability when the average queue size reaches max-threshold.

This value must be between 0 and 14.

Default

Command Mode

The default maximum drop rate is 0

Global Configuration Mode.

Command Default Level

Level: 15

Usage Guideline

None.

Example

This example shows how to configure the WRED drop parameter for all types and color packets on profile 10.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#random-detect profile 10 min-threshold 30 max-threshold 50 max-drop-rate 10

Success

DXS-3600-32S(config)#

Example

This example shows how to configure the WRED drop parameter for TCP yellow and red packets on profile 10.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#random-detect profile 10 tcp yellow red min-threshold 20 max-threshold 40 max-drop-rate 5

Success

DXS-3600-32S(config)#

65-5 show queueing random-detect

This command is used to display the WRED configuration on specified interfaces.

show queueing random-detect [interface INTERFACE-ID [,|-]]

Parameters

interface INTERFACE-ID

[,|-]

Specifies the interface ID for which the WRED configuration will be displayed. You can specify multiple interface IDs, which are separated by commas (,) or hyphens (-

). No spaces are allowed before or after the commas or hyphens.

Default

None.

Command Mode

EXEC Mode.

Command Default Level

Level: 15

Usage Guideline

The command will display the WRED configuration. If the interface ID isn’t specified, the WRED configuration for all ports on the system will be displayed.

552

DXS-3600-32S 10GbE Layer 2/3 Switch CLI Reference Guide

Example

This example displays the WRED configuration and CoS queue status.

DXS-3600-32S#show queueing random-detect tenGigabitEthernet 3

Current WRED configuration:

Interface: 3

CoS WRED State Exp-weight-constant Profile

--- ---------- ------------------- -------

0 Disabled 9 1

1 Disabled 9 1

2 Disabled 9 1

3 Disabled 9 1

4 Disabled 9 1

5 Enabled 10 10

6 Disabled 9 1

7 Disabled 9 1

DXS-3600-32S#

65-6 show random-detect drop-counter

This command is used to display the WRED drop counter.

show random-detect drop-counter [interface INTERFACE-ID [,|-]]

Parameters

interface INTERFACE-ID

[,|-]

Specifies the interface ID for which the WRED drop counter will be displayed. You can specify multiple interface IDs, which are separated by commas (,) or hyphens (-

). No spaces are allowed before or after the commas or hyphens.

Default

Command Mode

None.

EXEC Mode.

Command Default Level

Level: 15

Usage Guideline

Use this command to display the WRED drop counter.

Example

This example shows how to display the WRED drop counter.

DXS-3600-32S#show random-detect drop-counter tenGigabitEthernet 3

Current WRED Drop Counter:

Interface Green Yellow Red

--------- ---------------------- ---------------------- ----------------------

3 0 5 10

DXS-3600-32S#

65-7 show random-detect profile

This command is used to display the WRED profile setting.

show random-detect profile [profile id]

553

DXS-3600-32S 10GbE Layer 2/3 Switch CLI Reference Guide

Parameters

profile id Specifies the WRED profile ID for which the WRED profile configuration will be displayed. If not specified, the configuration for all WRED profiles will be displayed.

Default

Command Mode

None.

EXEC Mode.

Command Default Level

Level: 15

Usage Guideline

Use this command to display the WRED profile setting.

Example

This example shows how to display the WRED profile 1 setting.

DXS-3600-32S#show random-detect profile 1

WRED Profile 1

Packet Type Min-Threshold Max-Threshold Max-Drop-Rate

--------------- ------------- ------------- -------------

TCP-GREEN 20 80 0

TCP-YELLOW 20 80 0

TCP-RED 20 80 0

NON-TCP-GREEN 20 80 0

NON-TCP-YELLOW 20 80 0

NON-TCP-RED 20 80 0

DXS-3600-32S#

554

advertisement

Was this manual useful for you? Yes No
Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Related manuals

Download PDF

advertisement

Table of contents