port-monitoring source
Defaults
parameter
filesize
on | off
bidirectional | inport | outport bidirectional
seconds
enable | disable
capture-type
Platforms Supported
OmniSwitch 10K
Usage Guidelines
•
You can configure a port mirroring and a port monitoring session on the same NI module in an
OmniSwitch 10K.
•
If the port monitoring capture-type is set to brief, the first 64 bytes of the traffic is captured. If the
port-monitoring capture-type is set to full, the entire packet is captured.
•
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.
•
The /flash directory is the default and the only directory used to capture the port monitoring files.
•
The format of the file created is compliant with the ENC file format (Network General Sniffer Network
Analyzer Format).
•
By default, the recent frames overwrite the 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.
Examples
-> port-monitoring 6 source 2/3
-> port-monitoring 6 source 2/3 file /flash/user_port size 2 enable
-> port-monitoring 6 source 2/3 file /flash/user_port capture-type full
page 31-8
default
1
on
0
disable
brief
Port Mirroring and Monitoring Commands
OmniSwitch CLI Reference Guide
March 2011