Port Mirroring and Monitoring Commands
page 34-8 OmniSwitch 6250 CLI Reference Guide November 2009
Usage Guidelines
• The maximum number of monitoring sessions is limited to one per chassis and/or stack.
• You cannot configure port mirroring and monitoring on the same switching ASIC. Each switching
ASIC controls 24 ports (e.g., ports 1–24, 25–48, etc.). For example, if a port mirroring session is
configured for ports 1/12 and 1/22, then configuring a port monitoring session for any of the ports
between 1 and 24 is not allowed.
• If a port mirroring session is configured across two switching ASICs, then configuring a monitoring
session is not allowed on any of the ports controlled by each of the ASICs involved. For example, if a
port mirroring session is configured for ports 1/8 and 1/30 on a 48-port switch, then configuring a port
monitoring session involving any of the ports between 1 and 48 is not allowed.
• By default, a file called pmonitor.enc is created in the /flash directory when you configure and enable
a port monitoring session. Use the file option to create a user-specified file.
• By default, more-recent frames will overwrite older frames in a port monitoring file if the total data
exceeds the specified file size. Use the overwrite off option to prevent this from occurring.
• Only the first 64 bytes of the traffic will be captured.
• The format of the file created is compliant with the ENC file format (Network General Sniffer Network
Analyzer Format).
Examples
-> port monitoring 6 source 2/3
-> port monitoring 6 source 2/3 file port3 size 2 enable
Release History
Release 6.6.1; command was introduced.
Related Commands
MIB Objects
monitorTable
monitorSessionNumber
monitorIfindex
monitorFileStatus
monitorFileName
monitorFileSize
monitorScreenStatus
monitorScreenLine
monitorTrafficType
monitorStatus
monitorFileOverWrite
monitorDirection
monitorTimeout
port monitoring Disables, pauses, resumes, or deletes a port monitoring session.
show port monitoring status Displays the port monitoring status.
show port monitoring file Displays the port monitoring data.