Diagnosing Switch Problems Port Monitoring
OmniSwitch AOS Release 7 Network Configuration Guide March 2011 page 26-27
-> port-monitoring 6 source 2/3 inport
To configure port monitoring session 6 on port 2/3 as unidirectional and outward bound, for example,
enter:
-> port-monitoring 6 source 2/3 outport
For example, to restore port monitoring session 6 on port 2/3 to its bidirectional direction, enter:
-> port-monitoring 6 source 2/3 bidirectional
Configuring capture-type
To configure the amount of data to be captured, use the port-monitoring source capture-type command.
If the mode of capture-type is set to ‘brief’, only the first 64 bytes of packets will be captured. If the mode
of capture-type 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
Note. For more information about the displays that result from these commands, see the OmniSwitch CLI
Reference Guide. The show port-monitoring command displays only 170 packets from the port monitor
file.
show port-monitoring status Displays port monitoring status.
show port-monitoring file Displays port monitoring data.