Counter Poll
Counter Poll View
Table 1 Counter Poll View
Command | Purpose |
|---|---|
show counters poll-config | Display the configuration of the counters poll. |
show counters poll-config
[Command] show counters poll-config
[Purpose] Display the configuration of the counters poll.
[View] Privileged User View
[Use Cases]
sonic# show counters poll-config
Type Interval (in ms) Status
-------------------------- ------------------ --------
QUEUE_STAT default (2000) enable
PORT_STAT default (1000) enable
PORT_BUFFER_DROP default (60000) enable
RIF_STAT default (1000) enable
QUEUE_WATERMARK_STAT default (60000) enable
PG_WATERMARK_STAT default (60000) enable
BUFFER_POOL_WATERMARK_STAT default (60000) enable
ACL 10000 enable
PG_STAT default (2000) enableCounter Poll Config
Table 2 Counter Poll Config
Command | Purpose |
|---|---|
counter {acl|mroute |port |port-buffer-drop |priority-group |queue |rif |watermark} poll-interval time | Configure the poll interval for counting statistics. |
counter {acl|mroute|port|port-buffer-drop|priority-group|queue|rif |watermark} poll-interval time
[Command] counter {acl|mroute|port|port-buffer-drop|priority-group|queue|rif|watermark} poll-interval time
[Parameters]
Parameter | Description |
|---|---|
time | Polling interval, in milliseconds; acl default parameter 10000, range 1000-30000; mroute default parameter 10000, range 1000-30000; port default parameter 1000, range 100-30000; port-buffer-drop default parameter 60000, range 30000-300000; priority-group default parameter 2000, range 1000-30000; queue default parameter 2000, range 100-30000; rif default parameter 1000, range 1000-60000; watermark default parameter 60000, range 60000-60000. |
[Purpose] Configure the poll interval for counting statistics.
[View] Global Configuration View
[Notes] Run command no counter {acl|mroute|port|port-buffer-drop|priority-group|queue|rif |watermark} poll-interval to restore default.
[Use Cases]
sonic# configure terminal
sonic(config)# counter queue poll-interval 100