HP 6125G HP 6125G & 6125G/XG Blade Switches ACL and QoS Configuration - Page 56
Configuring WRED, Configuration procedure, Configuration examples
View all HP 6125G manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 56 highlights
is below the upper threshold, the switch drops packets at the user-configured drop probability. When the queue size reaches the upper threshold, all subsequent packets are dropped. • Drop precedence-A parameter used in packet drop. Value 0 represents green packets, 1 represents yellow packets, and 2 represents red packets. Red packets are preferentially dropped. • Drop probability-Drop probability in percentage. A higher value means a higher drop probability. Configuring WRED In a WRED table, drop parameters are configured on a per queue basis because WRED regulates packets on a per queue basis. A WRED table can be applied to multiple interfaces. For a WRED table already applied to an interface, you can modify the values of the WRED table, but you cannot remove the WRED table. Configuration procedure To configure and apply a queue-based WRED table: Step Command Remarks 1. Enter system view. system-view N/A 2. Create a WRED table and enter its view. qos wred queue table table-name N/A Optional. 3. Set other parameters for the WRED table. queue queue-id [ drop-level drop-level ] low-limit low-limit high-limit high-limit [ discard-probability discard-prob ] By default, low-limit is 100, high-limit is 1000, and discard-prob is 10. 4. Enter interface view. 5. Apply the WRED table to the interface. interface interface-type interface-number N/A qos wred apply table-name N/A Configuration examples Configure a WRED table, set low-limit to 500, high-limit to 2000, and discard-probability to 50 for yellow packets in queue 1. Apply the WRED table to port GigabitEthernet 1/0/1. # Enter system view. system-view # Create a WRED table, and configure the drop parameters. [Sysname] qos wred queue table queue-table1 [Sysname-wred-table-queue-table1] queue 1 drop-level 1 low-limit 500 high-limit 2000 discard-probability 50 [Sysname-wred-table-queue-table1] quit # Enter port view. [Sysname] interface gigabitethernet 1/0/1 # Apply the WRED table to port GigabitEthernet 1/0/1. [Sysname-GigabitEthernet1/0/1] qos wred apply queue-table1 50