port port-id [port-id...(up to 5 max)] [interval seconds] [repeat repeat] [absolute | rate] [multiclass]
monitor
Supported on all 7210 SAS platforms as described in this document, including platforms configured in the access-uplink operating mode
This command enables port traffic monitoring. The specified ports statistical information displays at the configured interval until the configured count is reached.
The first screen displays the current statistics related to the specified ports. The subsequent statistical information listed for each interval is displayed as a delta to the previous display.
When the keyword rate is specified, the rate per second for each statistic is displayed instead of the delta.
Monitor commands are similar to show commands but only statistical information displays. Monitor commands display the selected statistics according to the configured number of times at the interval specified.
Specifies up to 5 port IDs in slot/mda/port format.
Specifies the interval for each display in seconds.
Specifies how many times the command is repeated.
Displays the raw statistics are displayed, without processing. No calculations are performed on the delta or rate statistics.
Displays the rate-per-second for each statistic instead of the delta.
The following output is an example of port traffic monitoring information.
Sample outputA:ALA-12>monitor# port 1/4 interval 3 repeat 3 absolute
===============================================================================
Monitor statistics for Port 1/4
===============================================================================
Input Output
-------------------------------------------------------------------------------
At time t = 0 sec (Base Statistics)
-------------------------------------------------------------------------------
Octets 0 0
Packets 39 175
Errors 0 0
-------------------------------------------------------------------------------
At time t = 3 sec (Mode: Absolute)
-------------------------------------------------------------------------------
Octets 0 0
Packets 39 175
Errors 0 0
-------------------------------------------------------------------------------
At time t = 6 sec (Mode: Absolute)
-------------------------------------------------------------------------------
Octets 0 0
Packets 39 175
Errors 0 0
-------------------------------------------------------------------------------
At time t = 9 sec (Mode: Absolute)
-------------------------------------------------------------------------------
Octets 0 0
Packets 39 175
Errors 0 0
===============================================================================
A:ALA-12>monitor#
A:ALA-12>monitor# port 1/4 interval 3 repeat 3 rate
===============================================================================
Monitor statistics for Port 1/4
===============================================================================
Input Output
-------------------------------------------------------------------------------
At time t = 0 sec (Base Statistics)
-------------------------------------------------------------------------------
Octets 0 0
Packets 39 175
Errors 0 0
-------------------------------------------------------------------------------
At time t = 3 sec (Mode: Rate)
-------------------------------------------------------------------------------
Octets 0 0
Packets 0 0
Errors 0 0
-------------------------------------------------------------------------------
At time t = 6 sec (Mode: Rate)
-------------------------------------------------------------------------------
Octets 0 0
Packets 0 0
Errors 0 0
-------------------------------------------------------------------------------
At time t = 9 sec (Mode: Rate)
-------------------------------------------------------------------------------
Octets 0 0
Packets 0 0
Errors 0 0
===============================================================================
A:ALA-12>monitor#
*A:ces-A# monitor port 1/2/1
===============================================================================
Monitor statistics for Port 1/2/1
===============================================================================
Input Output
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
At time t = 0 sec (Base Statistics)
-------------------------------------------------------------------------------
Octets 3828256704 338593536
Packets 19938837 1763508
Errors 0 0
-------------------------------------------------------------------------------
At time t = 10 sec (Mode: Delta)
-------------------------------------------------------------------------------
Octets 1929984 1929984
Packets 10052 10052
Errors 0 0
*A:ces-A# monitor port 1/2/1 rate
===============================================================================
Monitor statistics for Port 1/2/1
===============================================================================
Input Output
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
At time t = 0 sec (Base Statistics)
-------------------------------------------------------------------------------
Octets 3831865920 342202752
Packets 19957635 1782306
Errors 0 0
-------------------------------------------------------------------------------
At time t = 10 sec (Mode: Rate)
-------------------------------------------------------------------------------
Octets 192998 192998
Packets 1005 1005
Errors 0 0
Utilization (% of port capacity) 99.99 99.99
-------------------------------------------------------------------------------
At time t = 20 sec (Mode: Rate)
-------------------------------------------------------------------------------
Octets 192998 192998
Packets 1005 1005
Errors 0 0
Utilization (% of port capacity) 99.99 99.99
^C
*A:ces-A# monitor port 1/2/1 absolute
===============================================================================
Monitor statistics for Port 1/2/1
===============================================================================
Input Output
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
At time t = 0 sec (Base Statistics)
-------------------------------------------------------------------------------
Octets 3836382144 346718976
Packets 19981157 1805828
Errors 0 0
-------------------------------------------------------------------------------
At time t = 10 sec (Mode: Absolute)
-------------------------------------------------------------------------------
Octets 3838312128 348648960
Packets 19991209 1815880
Errors 0 0
-------------------------------------------------------------------------------
At time t = 20 sec (Mode: Absolute)
-------------------------------------------------------------------------------
Octets 3840242304 350578944
Packets 20001262 1825932
Errors 0 0