1-22To do… Use the command… RemarksEnter system view system-view —Enter Ethernet port view interface interface-typeinterface-number —Configure WRED wred queue-index qstartprobabilityRequiredBy default, WRED is notconfigured.Configuration exampleConfigure WRED for queue 2 of Ethernet 1/0/1 to drop the packets in queue 2 randomly when thenumber of packets in queue 2 exceeds 64, setting the dropping probability being 20%.Configuration procedure: system-view[Sysname] interface Ethernet1/0/1[Sysname-Ethernet1/0/1] wred 2 64 20Configuring Traffic MirroringRefer to section Traffic mirroring for information about traffic mirroring.Configuration prerequisitesz The ACL rules for traffic classification have been defined. Refer to the ACL module of this manualfor information about defining ACL rules.z The source mirroring ports and mirroring direction have been determined.z The destination mirroring port has been determined.Configuration procedureFollow these steps to configure traffic mirroring:To do… Use the command… RemarksEnter system view system-view —Enter Ethernet port view interface interface-typeinterface-number —Configure the current port as a sourcemirroring portmirrored-to { inbound |outbound } acl-rule{ monitor-interface | cpu }RequiredOmit the followingsteps if you redirecttraffic to the CPU.Proceed to thefollowing steps if youredirect traffic to a port.Quit to system view quit —In system view mirroring-group group-idmonitor-port monitor-port-idinterface interface-typeinterface-numberConfigure the specifiedport as the destinationmirroring port In Ethernetport viewmonitor-portRequiredUse either approach.