Displaying and Configuring Port Queue Statistics


You can view the port queue statistics by using the port-cos-stats-show command. 


This command displays the number of bits of transmitted and dropped packets on a per queue basis.


CLI (network-admin@switch) > port-cos-stats-show

port-cos-stats-show

Display per port CoS queue statistics.

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

Time to start statistics collection.

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

Start time for statistics collection.

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

End time  for statistics collection.

duration: #d#h#m#s

Duration of statistics collection.

interval duration: #d#h#m#s

Interval between statistics collection.

since-start

Displays statistics from the start of collection.

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

Displays statistics older than a specified duration.

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

Displays statistics within the last specified duration.


For example: 

CLI (network-admin@switch) > port-cos-stats-show layout vertical

switch:         switch

time:           21:36:59

port:           21

cos0-obits:     0

cos0-dropbits:  0

cos1-obits:     0

cos1-dropbits:  0

cos2-obits:     0

cos2-dropbits:  0

cos3-obits:     0

cos3-dropbits:  0

cos4-obits:     0

cos4-dropbits:  0

cos5-obits:     0

cos5-dropbits:  0

cos6-obits:     0

cos6-dropbits:  0

cos7-obits:     0

cos7-dropbits:  0


CLI (network-admin@switch) > port-cos-stats-show format all layout vertical 

switch:        switch

time:          04:24:19

port:          73

cos0-obits:    0

cos0-dropbits: 0

cos0-opkts:    0

cos0-droppkts: 0

cos1-obits:    0

cos1-dropbits: 0

cos1-opkts:    0

cos1-droppkts: 0

cos2-obits:    0

cos2-dropbits: 0

cos2-opkts:    0

cos2-droppkts: 0

cos3-obits:    0

cos3-dropbits: 0

cos3-opkts:    0

cos3-droppkts: 0

cos4-obits:    0

cos4-dropbits: 0

cos4-opkts:    0

cos4-droppkts: 0

cos5-obits:    40.4K

cos5-dropbits: 0

cos5-opkts:    80

cos5-droppkts: 0

cos6-obits:    0

cos6-dropbits: 0

cos6-opkts:    0

cos6-droppkts: 0

cos7-obits:    624K

cos7-dropbits: 0

cos7-opkts:    434

cos7-droppkts: 0


To modify the port queue statistics’ collection settings, use the command:


CLI (network-admin@switch) > port-cos-stats-settings-modify


port-cos-stats-settings-modify

Modify port CoS statistics collection settings.

enable|disable

Specify if you want to enable or disable statistics collection.

interval duration: #d#h#m#s

 Specify the interval to collect statistics.

disk-space disk-space-number

 Specify the amount of memory allocated for statistics (including rotated log files). The default value is 50MB.


For example:


CLI (network-admin@switch) > port-cos-stats-settings-modify enable 


To view the port queue statistics’ collection settings, use the command:


CLI (network-admin@switch) > port-cos-stats-settings-show

switch:     switch

enable:     yes

interval:   30m

disk-space: 50M


You can clear the port queue statistics by using the port-cos-stats-clear command.

north
    keyboard_arrow_up
    keyboard_arrow_down
    description
    print
    feedback
    support
    business
    rss_feed
    south