Diagnosing Switch Problems Port Monitoring Overview
OmniSwitch AOS Release 8 Network Configuration Guide December 2017 page 34-4
Port Monitoring Overview
The following sections detail the specifications, defaults, and quick set up steps for the port mirroring
feature. Detailed procedures are found in “Port Monitoring” on page 34-18.
Port Monitoring Defaults
The following table shows port mirroring default values.
Quick Steps for Configuring Port Monitoring
1 To create a port monitoring session, use the port-monitoring source command by entering port
monitoring, followed by the port monitoring session ID, source, and the slot and port number of the
port to be monitored. For example:
-> port-monitoring 6 source 2/3
2 Enable the port monitoring session by entering port-monitoring, followed by the port monitoring
session ID, source, the slot and port number of the port to be monitored, and enable. For example:
-> port-monitoring 6 source 2/3 enable
3 Optional. Configure optional parameters. For example, to create a file called “monitor1” for port
monitoring session 6 on port 2/3, enter:
-> port-monitoring 6 source 2/3 file monitor1
Parameter Description CLI Command Default Value/Comments
Monitoring Session Creation port-monitoring source No Monitoring Sessions
Configured
Monitoring Status port-monitoring source Disabled
Monitoring Session Configuration port-monitoring source Disabled
Port Monitoring Direction port-monitoring source Bidirectional
Data File Creation port-monitoring source Enabled
Data File Size port-monitoring source 64K
File Overwriting port-monitoring source Enabled
Time before session is deleted port-monitoring source 0 seconds
Capture-type port-monitoring source brief
Note. Optional. To verify the port monitoring configuration, enter show port-monitoring status, followed
by the port monitoring session ID number. The display is similar to the one shown below:
-> show port-monitoring status
Sess Mon. Mon Over Oper. Admin Capt. Max. File
Src Dir write Stat Stat Type Size Name
----------+------+------------+------+------+-----+------+------+-------
6. 2/ 3 Bidirectional ON ON ON brief
For more information about this command, see “Port Monitoring” on page 34-18 or the “Port Mirroring and
Monitoring Commands” chapter in the OmniSwitch AOS Release 8 CLI Reference Guide.