Displaying and maintaining port mirroring
Task
Display the configuration of
mirroring groups.
Port mirroring configuration examples
Local port mirroring configuration example
Network requirements
On the network shown in
Device A connects to the marketing department through GigabitEthernet 1/0/1 and to the
•
technical department through GigabitEthernet 1/0/2. It connects to the server through
GigabitEthernet 1/0/3.
Configure local port mirroring in source port mode to enable the server to monitor the bidirectional
•
traffic of the marketing department and the technical department.
Figure 34 Network diagram
Configuration procedure
1.
Create a local mirroring group:
# Create local mirroring group 1.
system-view
[DeviceA] mirroring-group 1 local
Command
display mirroring-group { group-id | all | local |
remote-destination | remote-source } [ | { begin |
exclude | include } regular-expression ]
Figure
34:
99
Remarks
Available in any view