Mirroring in a Campus Fabric Domain
Campus Fabric Mirroring Limitations
Consider the following items when configuring mirroring in a Campus Fabric network.
- Only one mirror port can be configured on a PE unit for port mirroring.
- When an SPX LAG is mirrored, all traffic is monitored. It is not possible to limit monitoring to an individual LAG port.
- Due to a hardware limitation, a PE mirror port cannot mirror egress flooding, for example, from broadcast, unknown unicast, or multicast traffic.
- A VLAN must have at least one port member configured before monitoring can be configured.
- All incoming traffic (tagged and untagged) in the VLAN is mirrored. Mirroring is not affected by the configuration of the mirror port itself.
Supported Campus Fabric Mirroring Scenarios
The following mirroring scenarios are possible in a Campus Fabric domain :
- Mirroring a port on any CB unit, monitoring from any CB port on any CB unit
- Mirroring a CB port, monitoring from a
PE port (supported for port-based mirroring; not supported for ACL mirroring)
Note: If you are monitoring a CB port from a PE port, the monitoring port is configured as a virtual PE port on the CB, and traffic is transmitted to and from the virtual port with an E-tag addressed to the port. Packets are copied out to the mirroring port with the E-tag intact. As a result, the monitoring device receive packets containing the E-tag.
- Mirroring a port on a PE unit, monitoring from another port on the same PE unit
- Mirroring of a CB port, monitoring from a PE port when VLAN mirroring is enabled.
Unsupported Campus Fabric Mirroring Configurations
The following scenarios are not supported in a Campus Fabric domain:
- Mirroring a port on one PE unit,
monitoring a port from a different PE unit
Note: If the CB determines the mirror port is configured on a PE port, and the monitoring port is on a different PE, the system blocks the configuration and displays a warning similar to the following message:
Mirror port 17/1/1 and monitor port 18/1/2 are not on the same PE. Either move mirror port to a CB port, or change mirror and monitor port to the same PE.
- With ACL mirroring, PE to CB or CB to PE monitoring
- With VLAN mirroring, PE cannot be used as a mirror port
- Monitoring an individual SPX LAG member
Sample Configuration for Campus Fabric Mirroring
The following example configures port 1/1/7 on the CB as a mirror port that monitors inbound traffic on PE port 17/1/1.
device# configure terminal device(config)# mirror-port ethernet 1/1/17 device(config)# interface ethernet 17/1/1 device(config-if-pe-e1000-17/1/1)# monitor ethernet 1/1/17 in
Displaying Campus Fabric Mirroring Information
The show mirror command
can be used to display information on mirroring activity for the device. The
following example displays information on mirroring on CB units 1 and 2. PE units
17
and 18 are being monitored.
device# show mirror Mirror port 1/1/17 Input monitoring : (U17/M1) 1 2 3 11 Input monitoring : (U17/M2) 1 Output monitoring : (U17/M1) 1 2 3 11 Output monitoring : (U17/M2) 1 Mirror port 2/1/20 Input monitoring : (U17/M1) 10 Input monitoring : (U18/M1) 1 Output monitoring : (U17/M1) 10 Output monitoring : (U18/M1) 1