Traffic Mirroring Configuration | 237 |
Configuration Procedure # Configure a basic ACL 2000, matching the packets whose source IP address is 192.168.0.1.
<3Com>
#Configure traffic mirroring on Ethernet 1/0/1. Mirror packets matching source IP address 192.168.0.1 to the destination port.
[3Com] interface Ethernet 1/0/1
# Configure Ethernet 1/0/2 as the destination port of traffic mirroring.
[3Com] interface Ethernet 1/0/2
Complete Configuration #
#
acl number 2000
rule 0 permit source 192.168.0.1 0
#
interface Ethernet1/0/1
#
interface Ethernet1/0/2
#
Precautions Note the following when configuring traffic mirroring:
■The destination port to be configured cannot be a member port of an existing mirroring group, a fabric port (only the Switch 5500/5500G have this limitation), a member port of an aggregation group, an LACP enabled port, or an STP enabled port.
■When you configure the destination port of traffic mirroring on a Switch 5500, if mirroring group 1 does not exist on the switch, the switch will automatically create local mirroring group 1 and add the destination port to the group; if mirroring group 1 already exists but is not a local mirroring group, your configuration of the destination port will fail.
■On a Switch 4500, if you execute the