Port Monitor Commands
OL-32830-01 Command Line Interface Reference Guide
38.0
38.1
port monitor
Use the port monitor Interface Configuration (Ethernet) mode command to start a
port monitoring session (mirroring). Use the no form of this command to stop a port
monitoring session.
Syntax
src-interface-id
port monitor
src-interface-id
no port monitor
vlan-id
port monitor vlan
vlan-id
no port monitor vlan
Parameters
•
rx—Monitors received packets only. If no option is specified, it monitors
both rx and tx.
•
tx—Monitors transmitted packets only. If no option is specified, it monitors
both rx and tx.
•
src-interface-id
Ethernet port or port channel.
•
vlan-id
vlan
—VLAN number
Default Configuration
Monitors both received and transmitted packets.
Command Mode
Interface (Ethernet) Configuration mode
[rx | tx]
—Specifies an interface ID. The interface ID must be
38
739