3Com Switch 7750 Configuration Guide Guide

650 CHAPTER 59: MIRRORING CONFIGURATION
[SW7750-acl-link-4500] quit
[SW7750] interface GigabitEthernet 1/0/2
[SW7750-GigabitEthernet1/0/2] qos
[SW7750-qosb-GigabitEthernet1/0/2] traffic-redirect inbound link-gro
up
4500 rule 1 interface GigabitEthernet 1/0/1
# Configure Switch A.
<SW7750> system-view
[SW7750] vlan 10
[SW7750-vlan10] remote-probe vlan enable
[SW7750-vlan10] quit
[SW7750] interface GigabitEthernet 1/0/1
[SW7750-GigabitEthernet1/0/1] port link-type trunk
[SW7750-GigabitEthernet1/0/1] port trunk permit vlan 10
[SW7750-GigabitEthernet1/0/1] quit
[SW7750] acl number 4500
[SW7750-acl-link-4500] rule 1 permit ingress 10
[SW7750-acl-link-4500] quit
[SW7750] interface GigabitEthernet 1/0/1
[SW7750-GigabitEthernet1/0/1] qos
[SW7750-qosb-GigabitEthernet1/0/1] traffic-redirect inbound link-gro
up 4500 rule 1 interface GigabitEthernet 1/0/2
[SW7750-qosb-GigabitEthernet1/0/1] quit
[SW7750-GigabitEthernet1/0/1] quit
[SW7750] mirroring-group 1 remote-destination
[SW7750] mirroring-group 1 monitor-port GigabitEthernet 1/0/2
[SW7750] mirroring-group 1 remote-probe vlan 10
[SW7750] display mirroring-group remote-destination
mirroring-group 1:
type: remote-destination
status: active
monitor port: GigabitEthernet1/0/2
remote-probe vlan: 10
Configuring Local Traffic
Mirroring
Configuration prerequisites
ACLs for identifying traffics have been defined. For defining ACLs, see the
description on the ACL module in this manual.
The destination port has been defined.
The port on which to perform traffic mirroring configuration and the direction
of traffic mirroring has been determined.
Configuration procedure
Tabl e 515 Configure traffic mirroring in Ethernet port view
Operation Command Description
Enter system view system-view -
Create a mirroring group
mirroring-group group-id
local
Required
Define the destination port
mirroring-group group-id
monitor-port monitor-port
Required
LACP must be disabled on the
mirroring destination port and
you are recommended to
disable STP on the mirroring
destination port.