To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter Ethernet port view
interface
interface
interface-type
-number
—
Configure WRED
wred
queue-index
qstart
probabilit
Require
By default, WRED is not
configured.
d
y
Co
C
D for queu
net
ackets in queu
number of packets in queue 2 exceeds 64, s
ing probability being 20%.
onfiguration procedure:
<Sysname> system-view
[Sysname] interface Ethernet1/0/1
[Sysname-Ethernet1/0/1] wred 2 64 20
Conf
efer to section
Traffic mirroring
nfiguration example
onfigure WRE
e 2 of Ether
1/0/1 to drop the p
e 2 randomly when the
etting the dropp
C
iguring Traffic Mirroring
R
for information about traffic mirroring.
ites
affic classification have been defined. Refer to the ACL module
of this manual
ng ACL rules.
rmined.
Configuration procedure
igure traffic mirroring:
Configuration prerequis
z
The ACL rules for tr
for information about defini
z
The source mirroring ports and mirroring direction have been dete
z
The destination mirroring port has been determined.
Follow these steps to conf
To do…
Use the command…
Remarks
Enter system view
system-view
—
interface
interface-type
interface-number
—
Enter Ethernet port view
Configure the current port as a source
mirrored-to
{
inbound
|
outbound
}
acl-rule
steps if you
traffic to the
mirroring port
{
monitor-interface
|
cpu
}
Required
Omit the following
redirect
CPU.
Proceed to the
following steps if you
redirect traffic to a port.
Quit to system view
quit
—
In system view
mirroring-group group-id
monitor-port monitor-port-id
interface
interface-type
interface-number
Configure the specified
port as the destination
mirroring port
In Ethernet
port view
monitor-port
Required
Use either approach.
45-22