Port

The port command associates a port to a mirror source. The port is identified by the port ID. The defined port can be Ethernet or a Link Aggregation Group (LAG) ID. When a LAG ID is specified as the port ID, mirroring is enabled on all ports making up the LAG.

Mirror sources can be ports in either access or network mode. Port mirroring is supported in the combinations described in the following table.

Table: Mirror source port requirements
Port type Port mode Port encapsulation type

faste/gige/10gige

access

null, dot1q and QinQ

faste/gige/10gige

access uplink

qinq

faste/gige/10gige

network

null/dot1q

faste/gige/10gige

hybrid

null/dot1q/qinq

debug>mirror-source# port {port-id|lag lag-id}{[egress][ingress]}
*A:ALA-A>debug>mirror-source# port 1/1/2 ingress egress