To analyze traffic sent or received on an interface, configure this interface as a mirrored port.
The common mode supports interface-based mirroring, and the mirroring instance mode supports only board-based mirroring.
CAR can be implemented for mirrored traffic in both modes. In common mode, CAR is implemented on each interface. In mirroring instance mode, a shared CAR can be configured in a mirroring instance and applies to different interfaces bound to the mirroring instance, which simplifies configuration and optimizes CAR resource usage.
A shared instance can be configured for multiple interfaces. To be specific, multiple interfaces can share a mirroring instance. This feature allows more interfaces to support port mirroring when the mirroring specification is insufficient.
Interface Type |
Mirrored Port |
Observing Port |
---|---|---|
Layer 3 Ethernet main interfaces (including Eth-Trunk interfaces and a Layer 3 main interface configured as a BAS main interface) |
Supported |
Supported |
BAS interface |
Supported
NOTE:
When a VE interface functions as a BAS interface, local flow mirroring is supported only on the access VE interface in hardware loopback mode. |
Not supported |
Ethernet sub-interfaces (including Eth-Trunk interfaces) |
Supported
NOTE:
After a sub-interface is configured as a dot1q, dot1q VLAN tag termination, QinQ VLAN tag termination, EVC, or BAS sub-interface, the sub-interface still supports mirroring. |
Supported NOTE:
After a sub-interface is configured as a dot1q VLAN tag termination, QinQ VLAN tag termination, or BAS sub-interface, the sub-interface does not support be configured as an observing port. The observing port can only be configured on the EVC sub-interface with untag or dot1q traffic encapsulation type. |