Command: port-mirroring

Home | Command modes | Alphabetical listing

port-mirroring

Modifies the port-mirroring configuration.

Syntax

Default

None

Command mode

Global Configuration

Command parameters

ParameterDescription

<1-4>

Specifies the mirroring or RSPAN instance number.

<port>

Specifies the port numbers.

Adst

Mirror packets with destination MAC address A.

allow-traffic

Enables bi-directional monitor port.

Asrc

Mirror packets with source MAC address A.

AsrcBdst

Mirror packets with source MAC address A and destination MAC address B.

AsrcBdstOrBsrcAdst

Mirror packets with source MAC address A and destination MAC address B or packets with source MAC address B and destination MAC address A.

AsrcOrAdst

Mirror packets with source or destination MAC address A.

destination-port <port>

Specifies the RSPAN destination port.

disable

Disables port-mirroring.

ManytoOneRx

Many to one port mirroring on ingress packets.

ManytoOneRxTx

Many to one port mirroring on ingress and egress packets.

ManytoOneTx

Many to one port mirroring on egress packets.

mirror-MAC-A <H.H.H>

Specifies the mirroring MAC address A.

mirror-MAC-B <H.H.H>

Specifies the mirroring MAC address B.

mirror-port-X

Specifies the mirroring port X.

mirror-port-Y

Specifies the mirroring port Y.

monitor-port <port>

Specifies the monitoring port.

rspan-vlan <2-4094>

Enables remote port-mirroring and specifies the VLAN for mirrored traffic.

vlan <2-4094>

Specifies the RSPAN VLAN.

Xrx

Mirror packets received on port X.

XrxOrXtx

Mirror packets received or transmitted on port X.

XrxOrYtx

Mirror packets received on port X or transmitted on port Y.

XrxYtx

Mirror packets received on port X and transmitted on port Y. This mode is not recommended for mirroring broadcast and multicast traffic.

XrxYtxOrXtxYrx

Mirror packets received on port X and transmitted on port Y or packets received on port Y and transmitted on port X.

Xtx

Mirror packets transmitted on port X.