UMN:CLI
User Manual
V5824G
88
Setting a mirror for VLAN allows you to monitor all traffic to the specified VLAN interface.
To designate the mirrored VLAN ID, use the following command.
Command
Mode
Description
mirror add
vlan
VLANS
Bridge
Designates the mirrored VLAN.
VLANS: VLAN ID
The V5824G supports the VLAN mirroring function for the ingress traffic only.
Step 3
Activate the port mirroring, using the following command.
Command
Mode
Description
mirror enable
Bridge
Activates port mirroring.
Step 4
To display a configured port mirroring, use the following command.
Command
Mode
Description
show mirror
Enable
Global
Bridge
Shows a configured port mirroring.
To delete and modify the configuration, use the following command.
Command
Mode
Description
mirror disable
Bridge
Deactivates monitoring.
mirror del
PORTS
[
ingress
|
egress
]
Deletes a port from the mirrored ports.
mirror del vlan
VLANS
Deletes the VLAN from the mirrored VLANs.
To disable monitoring function, use the following command.
Command
Mode
Description
no mirror monitor
Bridge
Disables port mirroring function.
The following is an example of enabling the port mirroring on the port 11 and 12 with the
monitoring port 9.
SWITCH(bridge)#
mirror monitor
9
SWITCH(bridge)#
mirror add
11
SWITCH(bridge)#
mirror add
12
SWITCH(bridge)#
mirror enable
SWITCH(bridge)#
show mirror
Mirroring enabled
Monitor port = 9
!