57
CSA-7400 QSG
Set port mirror
Description
Set the mirror of port.
Prerequisite
None
Syntax
port PORT_LIST|PORT_ID mirror-to PORT_ID ingress| egress|both
PORT_LIST|PORT_ID Port id list or port id. Eg: xe1 or xe1,xe3 or xe1-
xe3.
Options
ingress| egress|both
Ingress: mirror the ingress traffic of the SrcPort to
the DstPort.
Egress: mirror the egress traffic of the SrcPort to
the DstPort.
Both: mirror both the ingress and egress traffic of
the SrcPort to the DstPort.
Example
Set port mirror.
ADLINK(fabric)# port xe1 mirror-to xe2 ingress
ADLINK(fabric)# port xe1 mirror-to xe3 egress
ADLINK(fabric)# show port mirror
SRC_PORT DST_PORT MODE
xe1 xe3 egress
ADLINK(fabric)#