40 Chapter 2 Configuring network monitoring using CLI
port-mirroring command
The port-mirroring command sets the port mirroring configuration. The
syntax of the port-mirroring command is:
port-mirroring mode
{disable |
Xrx monitor-port <portlist> mirror-port-X <portlist> |
Xtx monitor-port <portlist> mirror-port-X <portlist> |
XrxOrXtx monitor-port <portlist>
mirror-port-X <portlist> mirror-port-Y <portlist> |
XrxOrYtx monitor-port <portlist>
mirror-port-X <portlist> mirror-port-Y <portlist> |
XrxYtx monitor-port <portlist>
mirror-port-X <portlist> mirror-port-Y <portlist> |
XrxYtxOrYrxXtx monitor-port <portlist>
mirror-port-X <portlist> mirror-port-Y <portlist> |
Asrc monitor-port <portlist> mirror-MAC-A <macaddr> |
Adst monitor-port <portlist> mirror-MAC-A <macaddr> |
AsrcOrAdst monitor-port <portlist>
mirror-MAC-A <macaddr> |
AsrcBdst monitor-port <portlist>
mirror-MAC-A <macaddr> mirror-MAC-B <macaddr> |
AsrcBdstOrBsrcAdst monitor-port <portlist>
mirror-MAC-A <macaddr> mirror-MAC-B <macaddr>}
Note: In this command, portlist must specify only a single port.
The port-mirroring command is in the config command mode.
Table 12 "port-mirroring command parameters and variables" (page
40) descr ibes the parameters and variables for the port-mirroring
command.
Table 12
port-mirroring command parameters and variables
Parameters and
variables
Description
disable
Disables port mirroring.
monitor-port
Specifies the monitor port.
mirror-port-X
Specifies the mirroring port X.
mirror-port-Y
Specifies the mirroring port Y.
mirror-MAC-A
Specifies the mirroring MAC address A.
mirror-MAC-B
Specifies the mirroring MAC address B.
portlist
Enter the port number.
Xrx
Mirror packets received on port X.
Nortel Ethernet Switch 460/470
Configuration — System Monitoring
NN47210-503 01.01 Standard
3.7 22 February 2007
Copyright © 2005-2007, Nortel Networks Nortel Networks Confidential
.