Diagnosing Switch Problems Port Monitoring
OmniSwitch AOS Release 8 Network Configuration Guide December 2017 page 34-22
Configuring the Capture Type
To configure the amount of data to be captured, use the port-monitoring source capture-type command.
If the capture type mode is set to ‘brief’, only the first 64 bytes of packets will be captured. If the capture
type mode is set to ‘full’, then the full packet is captured regardless of the packet size.
For example, to configure port monitoring session 6 on port 2/3 to capture only the first 64 bytes of the
packet, enter
-> port-monitoring 6 source 2/3 capture-type brief
To configure port monitoring session 6 on port 2/3 to capture full packet, enter
-> port-monitoring 6 source 2/3 capture-type full
Displaying Port Monitoring Status and Data
A summary of the show commands used for displaying port monitoring status and port monitoring data is
given here:
For example, to display port monitoring data, use the show port-monitoring file command as shown
below:
-> show port-monitoring file
Destination | Source | Type | Data
-------------------------------------------------------------------------------
01:80:C2:00:00:00 | 00:20:DA:8F:92:C6 | BPDU | 00:26:42:42:03:00:00:00:00:00
00:20:DA:C7:2D:D6 | 08:00:20:95:F3:89 | UDP | 08:00:45:00:00:6B:FE:4A:40:00
00:20:DA:A3:89:F6 | 08:00:20:95:F3:89 | UDP | 08:00:45:00:00:6B:CF:89:40:00
00:20:DA:BF:5B:76 | 08:00:20:95:F3:89 | UDP | 08:00:45:00:00:6B:CF:85:40:00
00:20:DA:A3:89:F6 | 08:00:20:95:F3:89 | UDP | 08:00:45:00:00:6B:CF:8A:40:00
00:20:DA:BF:5B:76 | 08:00:20:95:F3:89 | UDP | 08:00:45:00:00:6B:CF:86:40:00
00:20:DA:A3:89:F6 | 08:00:20:95:F3:89 | UDP | 08:00:45:00:00:6B:CF:8B:40:00
01:80:C2:00:00:00 | 00:20:DA:8F:92:C6 | BPDU | 00:26:42:42:03:00:00:00:00:00
00:20:DA:BF:5B:76 | 08:00:20:95:F3:89 | UDP | 08:00:45:00:00:6B:CF:87:40:00
show port-monitoring status Displays port monitoring status.
show port-monitoring file Displays port monitoring data.
Note. For more information about the displays that result from these commands, see the OmniSwitch AOS
Release 8 CLI Reference Guide. The show port-monitoring command displays only 170 packets from the
port monitor file.