HP 6125XLG R2306-HP 6125XLG Blade Switch ACL and QoS Configuration Guide - Page 61

WRED configuration example, Network requirements, Configuration procedure

Page 61 highlights

Task Display configuration information about a WRED table or all WRED tables. Command display qos wred table [ name table-name ] [ slot slot-number ] WRED configuration example Network requirements Apply a WRED table to interface Ten-GigabitEthernet 1/1/6, so that the packets are dropped as follows when congestion occurs: • To use better effort to forward higher-priority traffic, configure a lower drop probability for a queue with a greater queue number. Set different drop parameters for queue 0, queue 3, and queue 7. • Drop packets according to their colors. In queue 0, set the drop probability to 25%, 50%, and 75% for green, yellow, and red packets, respectively. In queue 3, set the drop probability to 5%, 10%, and 25% for green, yellow, and red packets, respectively. In queue 7, set the drop probability to 1%, 5%, and 10% for green, yellow, and red packets, respectively. • Enable ECN for queue 7. Configuration procedure # Configure a queue-based WRED table, and set different drop parameters for packets with different drop levels in different queues. system-view [Sysname] qos wred queue table queue-table1 [Sysname-wred-table-queue-table1] queue 0 drop-level 0 low-limit 128 high-limit 512 discard-probability 25 [Sysname-wred-table-queue-table1] queue 0 drop-level 1 low-limit 128 high-limit 512 discard-probability 50 [Sysname-wred-table-queue-table1] queue 0 drop-level 2 low-limit 128 high-limit 512 discard-probability 75 [Sysname-wred-table-queue-table1] queue 3 drop-level 0 low-limit 256 high-limit 640 discard-probability 5 [Sysname-wred-table-queue-table1] queue 3 drop-level 1 low-limit 256 high-limit 640 discard-probability 10 [Sysname-wred-table-queue-table1] queue 3 drop-level 2 low-limit 256 high-limit 640 discard-probability 25 [Sysname-wred-table-queue-table1] queue 7 drop-level 0 low-limit 512 high-limit 1024 discard-probability 1 [Sysname-wred-table-queue-table1] queue 7 drop-level 1 low-limit 512 high-limit 1024 discard-probability 5 [Sysname-wred-table-queue-table1] queue 7 drop-level 2 low-limit 512 high-limit 1024 discard-probability 10 [Sysname-wred-table-queue-table1] queue 7 ecn [Sysname-wred-table-queue-table1] quit # Apply the queue-based WRED table to interface Ten-GigabitEthernet 1/1/6. [Sysname] interface ten-gigabitethernet 1/1/6 55

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109

55
Task
Command
Display configuration information about a
WRED table or all WRED tables.
display qos wred table
[
name
table-name
] [
slot
slot-number
]
WRED configuration example
Network requirements
Apply a WRED table to interface Ten-GigabitEthernet 1/1/6, so that the packets are dropped as follows
when congestion occurs:
To use better effort to forward higher-priority traffic, configure a lower drop probability for a queue
with a greater queue number. Set different drop parameters for queue 0, queue 3, and queue 7.
Drop packets according to their colors. In queue 0, set the drop probability to 25%, 50%, and 75%
for green, yellow, and red packets, respectively. In queue 3, set the drop probability to 5%, 10%,
and 25% for green, yellow, and red packets, respectively. In queue 7, set the drop probability to 1%,
5%, and 10% for green, yellow, and red packets, respectively.
Enable ECN for queue 7.
Configuration procedure
# Configure a queue-based WRED table, and set different drop parameters for packets with different
drop levels in different queues.
<Sysname> system-view
[Sysname] qos wred queue table queue-table1
[Sysname-wred-table-queue-table1] queue 0 drop-level 0 low-limit 128 high-limit 512
discard-probability 25
[Sysname-wred-table-queue-table1] queue 0 drop-level 1 low-limit 128 high-limit 512
discard-probability 50
[Sysname-wred-table-queue-table1] queue 0 drop-level 2 low-limit 128 high-limit 512
discard-probability 75
[Sysname-wred-table-queue-table1] queue 3 drop-level 0 low-limit 256 high-limit 640
discard-probability 5
[Sysname-wred-table-queue-table1] queue 3 drop-level 1 low-limit 256 high-limit 640
discard-probability 10
[Sysname-wred-table-queue-table1] queue 3 drop-level 2 low-limit 256 high-limit 640
discard-probability 25
[Sysname-wred-table-queue-table1] queue 7 drop-level 0 low-limit 512 high-limit 1024
discard-probability 1
[Sysname-wred-table-queue-table1] queue 7 drop-level 1 low-limit 512 high-limit 1024
discard-probability 5
[Sysname-wred-table-queue-table1] queue 7 drop-level 2 low-limit 512 high-limit 1024
discard-probability 10
[Sysname-wred-table-queue-table1] queue 7 ecn
[Sysname-wred-table-queue-table1] quit
# Apply the queue-based WRED table to interface Ten-GigabitEthernet 1/1/6.
[Sysname] interface ten-gigabitethernet 1/1/6