3Com 4500 50-PORT Switch User Manual


 
QoS Configuration Commands List 195
rule rule: Specifies the subitem of an active ACL, ranging from 0 to 65534; if
not specified, all subitems of the ACL will be activated. If only IP ACL or Layer 2
ACL is activated, this parameter can be omitted. If both IP and Layer 2 ACL are
activated at the same time, the
rule parameter cannot be omitted.
cpu: Specifies the traffic will be mirror to CPU
monitor-interface: Specifies that the destination port is the monitor port.
Description
Use the mirrored-to command to enable ACL traffic identification and perform
traffic mirroring.
Use the undo mirrored-to command to disable traffic mirroring.
This command is used for mirroring the traffic matching the specified ACL (whose
action is permit). The observing port cannot be a Trunk port or aggregated port.
This command only supports one observing port. When you use the traffic mirror
for the first time, you have to designate the observing port.
Related command: display qos-interface mirrored-to.
Example
To mirror the packets matching the ACL 2000 rules, whose action is permit, to the
port Ethernet1/0/1, enter the following:
<4500>system-view
System View: return to User View with Ctrl+Z
[4500]interface Ethernet 1/0/1
[4500-Ethernet1/0/1]monitor-port
[4500-Ethernet1/0/1]quit
[4500]interface Ethernet 1/0/2
[4500-Ethernet1/0/2] mirrored-to ip-group 2000 monitor-interface
4500-Ethernet1/0/2]
mirroring-port Syntax
mirroring-port { inbound | outbound | both }
undo mirroring-port
View
Ethernet Port View
Parameter
None.
Description
Use the mirroring-port command to configure a mirroring port.
Use the undo mirroring-port command to remove setting of mirroring port.
The Switch supports one monitor port and one mirroring port. If several Switches
form a Fabric, only one monitor port and one mirroring port can be configured in