port-cos-stats-show

You can display the Class of Service (CoS) rate settings for ports on a switch.

Syntax   port-cos-stats-show port port-list 

time date/time: yyyy-mm-ddTHH:mm:ss

Specify a time of statistics collection.

start-time date/time: yyyy-mm-ddTHH:mm:ss

Specify a start time for statistics collection.

end-time date/time: yyyy-mm-ddTHH:mm:ss

Specify an end time for statistics collection.

duration duration: #d#h#m#s

Specify a duration time for statistics collection.

interval duration: #d#h#m#s

Specify an interval between statistics collection.

since-start

Specify statistics collection from a start time.

older-than duration: #d#h#m#s

Specify to display statistics collection older than the specified time.

within-last duration: #d#h#m#s

Specify a within-last time for statistics collection.

port port-list

Specify the port list to display CoS stats.

Formatting Options

format fields-to-display

Display output using a specific parameter. Use all to display all possible output.

parsable-delim character

Display output formatted for machine parsing using a specified delimiter.

sort-asc

Display output in ascending order.

sort-desc

Display output in descending order.

show dups

Display duplicate entries in the output.

layout vertical|horizontal

Format the output in a vertical or horizontal layout.

show-interval seconds-interval

Repeat the show command at a specified interval.

show-headers|
no-show-headers

Display column headers or not.

limit-output number

Limit the display output to a specific number of entries.

count-output

Display the number of entries in the output. This is useful with vRouter show commands.

unscaled

Display full values in the output instead of scaled approximate values.

raw-int-values

Display integer values instead of mapped values

sum-by

Aggregate output by specific parameters. If sum-by fields are specified, records that have the same value in sum-by fields are combined and displayed as one aggregate record. NOTE: This option is only available for show commands that collect statistics such as connection-stats-show.

Access   CLI

History   

Version 2.4.0

Command introduced.

Version 3.0.0

Output changed from bytes to bits.

Usage   In some cases, you may want to display CoS statistics for ports.

Examples  To display port CoS stats from ports 21-25, use the following command:

CLI network-admin@switch > port-cos-stats-show port 21-25

switch:         pubdev03

time:           09:02:51

port:           0

cos0-tx-bits:  10.9M

cos1-tx-bits:  0

cos2-tx-bits:  0

cos3-tx-bits:  0

cos4-tx-bits:  0

cos5-tx-bits:  0

cos6-tx-bits:  0

cos7-tx-bits:  0

cos8-tx-bits:  0

cos9-tx-bits:  0

cos10-tx-bits: 68.6M

cos11-tx-bits: 209M