Skip to content

Commit

Permalink
Added CLI reference for buffer-pool watermark|persistent-watermark co…
Browse files Browse the repository at this point in the history
…mmands (#1426)

- What I did
  Added CLI reference for buffer-pool watermark|persistent-watermark commands

- How I did it
Updated the Command-Reference.md file for following:
1. Added buffer_pool in "show" help
2. show description for buffer_pool watermark
3. show descritpion buffer_pool persistent-watermark
  • Loading branch information
maulik-marvell authored Feb 20, 2021
1 parent 0eaabfd commit d8b224f
Showing 1 changed file with 48 additions and 0 deletions.
48 changes: 48 additions & 0 deletions doc/Command-Reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@
* [QoS Show commands](#qos-show-commands)
* [PFC](#pfc)
* [Queue And Priority-Group](#queue-and-priority-group)
* [Buffer Pool](#buffer-pool)
* [QoS config commands](#qos-config-commands)
* [sFlow](#sflow)
* [sFlow Show commands](#sflow-show-commands)
Expand Down Expand Up @@ -340,6 +341,7 @@ This command displays the full list of show commands available in the software;
aaa Show AAA configuration
acl Show ACL related information
arp Show IP ARP table
buffer_pool Show details of the Buffer-pools
clock Show date and time
ecn Show ECN configuration
environment Show environmentals (voltages, fans, temps)
Expand Down Expand Up @@ -6169,6 +6171,52 @@ This command displays the user persistet-watermark for the queues (Egress shared
admin@sonic:~$ sonic-clear priority-group persistent-watermark headroom
```
#### Buffer Pool
This sub-section explains the following buffer pool parameters that can be displayed using "show buffer_pool" command.
1) buffer pool watermark
2) buffer pool persistent-watermark
**show buffer_pool watermark**
This command displays the user watermark for all the buffer pools
- Usage:
```
show buffer_pool watermark
```
- Example:
```
admin@sonic:~$ show buffer_pool watermark
Shared pool maximum occupancy:
Pool Bytes
--------------------- -------
ingress_lossless_pool 0
lossy_pool 2464
```
**show buffer_pool persistent-watermark**
This command displays the user persistent-watermark for all the buffer pools
- Usage:
```
show buffer_pool persistent-watermark
```
- Example:
```
admin@sonic:~$ show buffer_pool persistent-watermark
Shared pool maximum occupancy:
Pool Bytes
--------------------- -------
ingress_lossless_pool 0
lossy_pool 2464
```
### QoS config commands
Expand Down

0 comments on commit d8b224f

Please sign in to comment.