Command Reference Guide Global Configuration Mode Command Set
61200510L1-35E Copyright © 2005 ADTRAN 480
monitor session <session number> [destination interface <interface id> |
source interface <interface id> | no tag] [both | rx | tx]
Use the monitor session command to configure a port mirroring session. Use the no form of this command
to remove a port mirroring session or to remove a source or destination interface.
Syntax Description
<session number> Selects the monitor session number (only one is allowed).
destination interface Selects the destination interface.
<interface id>
source interface Selects the source interface(s). A range of interfaces is allowed.
<interface id>
no tag Removes the VLAN tag that is normally appended to mirrored traffic.
both | rx | tx
Optional. Sets the direction of traffic on the source interface (transmit and receive,
receive only, or transmit only)
.
Default Values
Direction of traffic defaults to both.
Applicable Platforms
This command applies to the NetVanta 300, 1000, and 1000R Series units.
Command History
Release 5.1 Command was introduced.
Usage Examples
The following example sets Ethernet 0/1 as the destination and adds Ethernet 0/2, Ethernet 0/3, and
Ethernet 0/5 as source ports:
(config)#monitor session 1 destination interface eth 0/1
(config)#monitor session 1 source interface eth 0/2-3, eth 0/5