Displaying and Maintaining Port Mirroring
To do...
Display port mirroring configuration
on a Switch 4500
Mirroring Configuration Examples
Local Port Mirroring Configuration Example
Network requirements
The departments of a company connect to each other through Switch 4500 series:
Research and Development (R&D) department is connected to Switch C through Ethernet 1/0/1.
Marketing department is connected to Switch C through Ethernet 1/0/2.
Data detection device is connected to Switch C through Ethernet 1/0/3
The administrator wants to monitor the packets received on and sent from the R&D department and the
marketing department through the data detection device.
Use the local port mirroring function to meet the requirement. Perform the following configurations on
Switch C.
Configure Ethernet 1/0/1 and Ethernet 1/0/2 as mirroring source ports.
Configure Ethernet 1/0/3 as the mirroring destination port.
Network diagram
Figure 46-3 Network diagram for local port mirroring
Configuration procedure
Configure Switch C:
# Create a local mirroring group.
<Sysname> system-view
[Sysname] mirroring-group 1 local
# Configure the source ports and destination port for the local mirroring group.
Use the command...
display mirroring-group
{ group-id | all | local |
remote-destination |
remote-source }
46-9
Remarks
Available in any view