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 access uplink mode. Port mirroring is supported in the combinations listed in the following table.
Port type |
Port mode |
Port encap type |
Platforms |
---|---|---|---|
Ethernet |
access |
null, dot1q and QinQ |
7210 SAS-D, 7210 SAS-Dxp, 7210 SAS-K 2F1C2T, 7210 SAS-K 2F6C4T, 7210 SAS-K 3SFP+ 8C |
Ethernet |
access uplink |
qinq |
7210 SAS-D, 7210 SAS-Dxp, 7210 SAS-K 2F1C2T, 7210 SAS-K 2F6C4T, 7210 SAS-K 3SFP+ 8C |
Ethernet |
network mode |
null, dot1q |
7210 SAS-K 2F6C4T, 7210 SAS-K 3SFP+ 8C |
debug>mirror-source# port {port-id|lag lag-id}{[egress][ingress]}
*A:ALA-A>debug>mirror-source# port 1/1/2 ingress egress