Displaying mirror and monitor port configuration – Brocade Multi-Service IronWare Switching Configuration Guide (Supporting R05.6.00) User Manual
Page 45
![background image](/manuals/361635/45/background.png)
Multi-Service IronWare Switching Configuration Guide
15
53-1003036-02
Mirroring and Monitoring
1
Brocade(config)# mirror-port ethernet 3/1
Syntax: [no] mirror-port ethernet slot/portnum
NOTE
If a port is configured as a mirror port, all traffic sent from that port will retain the encapsulation of
the port being monitored and not add the encapsulation of the Egress port.
Enter the slot and port number of the port that will be the mirrored.
Brocade(config)# interface ethernet 4/1
Brocade(config-if-4/1)# monitor ethernet 3/1
Syntax: [no] monitor ethernet slot/portnum both | input | output
Enter the slot and port number of the port that will serve as the monitor port. This port cannot be
the same as the mirror port.
NOTE
A mirror port must be an Ethernet port.
Specify input if the port will monitor incoming traffic, output to monitor outgoing traffic, or both to
monitor both types of traffic.
NOTE
In VPLS, when an unknown unicast traffic is handled, it uses the corresponding VLAN Forwarding ID
to flood the packets to the VLAN domain which contains both the monitored port as well as the
mirroring port. But in VLL, there is no such flood handling mechanism and hence, there is a
discrepancy in the output of the show statistic brief command in terms of the Packet Transmit count
on the mirroring port.
Displaying mirror and monitor port configuration
To display the inbound and outbound traffic mirrored to each mirror port, enter the following
command at any level of the CLI.
Brocade# show monitor config
Monitored Port 3/1
Input traffic mirrored to: 2/1
Output traffic mirrored to: 1/1
Monitored Port 4/1
Input traffic mirrored to: 1/2
Output traffic mirrored to: 2/1
Syntax: show monitor config
To display the actual traffic mirrored to each mirror port, enter the following command at any level
of the CLI.
Brocade# show monitor actual
Monitored Port 3/1
Output traffic mirrored to: 1/1
Monitored Port 4/1
Input traffic mirrored to: 1/2
Syntax: show monitor actual