Port Monitor Commands 285
Port Monitor Commands
port monitor
The port monitor Interface Configuration mode command starts a port monitoring session. Use the
no form of this command to stop a port monitoring session.
Syntax
•
port monitor
src-interface
[
rx
|
tx
]
•
no port monitor
src-interface
•
src-interface —
Valid Ethernet port or port-channel number.
•
rx —
Monitors received packets only. If no option specified, monitors both rx and tx.
•
tx —
Monitors transmitted packets only. If no option specified, monitors both rx and tx.
Default Configuration
The default is both
rx
and
tx
.
Command Mode
Interface Configuration mode.
User Guidelines
• This command enables traffic on one port to be copied to another port, or between the source
port (src-interface) and a destination port (the port being configured). Only a single target port
can be defined per system.
• The port being monitored cannot be set faster than the monitoring port.
5400_CLI.book Page 285 Wednesday, December 17, 2008 4:33 PM