3com S7906E Instruccion De Instalación
1-16
Displaying and Maintaining Port Mirroring
To do…
Use the command…
Remarks
Display the configuration of port
mirroring groups
mirroring groups
display mirroring-group { group-id | all |
local | remote-destination | remote-source }
local | remote-destination | remote-source }
Available in any view
Port Mirroring Configuration Examples
Local Port Mirroring Configuration Example (in Mirroring Port Mode)
Network requirements
On a network shown in
z
Device A connects to the marketing department through GigabitEthernet 2/0/1 and to the technical
department through GigabitEthernet 2/0/2, and connects to the server through GigabitEthernet
2/0/3.
z
Configure local port mirroring in mirroring port mode to enable the server to monitor the
bidirectional traffic of the marketing department and the technical department.
Figure 1-4 Network diagram for local port mirroring configuration
Configuration procedure
1) Create a local mirroring group.
# Create local mirroring group 1.
<DeviceA> system-view
[DeviceA] mirroring-group 1 local
# Configure GigabitEthernet 2/0/1 and GigabitEthernet 2/0/2 as mirroring ports and port
GigabitEthernet 2/0/3 as the monitor port.
[DeviceA] mirroring-group 1 mirroring-port gigabitethernet 2/0/1 gigabitethernet 2/0/2 both
[DeviceA] mirroring-group 1 monitor-port gigabitethernet 2/0/3
2) Verify the configurations.
# Display the configuration of all port mirroring groups.