62 Troubleshooting tools
2
Variable definitions
Variable
id
port
Configuring the mirror-by-port mode
Use the following procedure to configure the mode of the mirror-by-port.
Procedure steps
Step
1
Variable definitions
Variable
id
mode <tx | rx | both>
Displaying mirrored port information
Use the following procedure to display information about mirrored ports
on the switch.
Copyright © 2007, Nortel Networks
.
To configure the mirroring port, enter the following command:
config diag mirror-by-port <id> mirroring-port <port>
Action
To configure the mode, enter the following command:
config diag mirror-by-port <id> mode <tx | rx | both>
Nortel Ethernet Routing Switch 8300
Troubleshooting
NN46200-704 01.01 Standard
4.0 29 October 2007
—End—
Value
The mirror-by-port entry ID (1-383).
The port number of the mirrored port or
the mirroring port.
—End—
Value
The mirror-by-port entry ID (1-383).
Sets the mirroring mode.
•
tx mirrors transmit packets.
•
rx mirrors receive packets.
•
both mirrors both transmit and
receive packets.