Counter Poll
View
| Command | Purpose |
|---|---|
| show counters poll-config | Display the configuration of the counters poll. |
show counters poll-config
Section titled “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-configType Interval (in ms) Status-------------------------- ------------------ --------QUEUE_STAT default (2000) enablePORT_STAT default (1000) enablePORT_BUFFER_DROP default (60000) enableRIF_STAT default (1000) enableQUEUE_WATERMARK_STAT default (60000) enablePG_WATERMARK_STAT default (60000) enableBUFFER_POOL_WATERMARK_STAT default (60000) enableACL 10000 enablePG_STAT default (2000) enableCounter Poll Config
Section titled “Counter 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
Section titled “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 terminalsonic(config)# counter queue poll-interval 100