Configuring Congestion Avoidance 675n Only non-type-A I/O Modules support the configuration for queue schedulingmode.Configuration Example ■ The switch adopts the WRR queue scheduling algorithm, and the weight valuesof outbound queues are 10, 5, 10, 10, 5, 10, 5, and 10 respectively;■ Display the configuration.Configuration procedure: system-view[SW7750] interface GigabitEthernet 2/0/1[SW7750-GigabitEthernet2/0/1] qos[SW7750-qosb-GigabitEthernet2/0/1] queue-scheduler wrr 10 5 10 10 5 10 5 10[SW7750-qosb-GigabitEthernet2/0/1] display qos-interface GigabitEthernet 2/0/1 queue-schedulerGigabitEthernet2/0/1:Queue scheduling mode: weighted round robinweight of queue 1: 10weight of queue 2: 5weight of queue 3: 10weight of queue 4: 10weight of queue 5: 5weight of queue 6: 10weight of queue 7: 5weight of queue 8: 10COS configuration:Config (max queues): 8Schedule mode: weighted round-robinWeighting (in packets):COSQ 0 = 10 packetsCOSQ 1 = 5 packetsCOSQ 2 = 10 packetsCOSQ 3 = 10 packetsCOSQ 4 = 5 packetsCOSQ 5 = 10 packetsCOSQ 6 = 5 packetsCOSQ 7 = 10 packetsEgress port queue statistics(in bytes):Priority CosQ Threshold Count Used(%):0 2 18432 0 01 0 2560 0 02 1 2560 0 03 3 2560 0 04 4 2560 0 05 5 2560 0 06 6 2560 0 07 7 2560 0 0common queue statistics(in bytes):49152 0 0ConfiguringCongestion AvoidanceWhen congestion happens, the switch will drop packets as soon as possible torelease queue resources and try not to put packets into high-delay queues in orderto eliminate congestion. The switch adopts the RED algorithm for congestionavoidance.ConfigurationPrerequisites■ The indexes of queues to be dropped at random, the queue length that startsthe drop action, the queue length that causes all the packets to be droppedand the drop probability are specified■ The ports that need this configuration are specified