Skip to content

Commit d8b224f

Browse files
Added CLI reference for buffer-pool watermark|persistent-watermark commands (#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
1 parent 0eaabfd commit d8b224f

File tree

1 file changed

+48
-0
lines changed

1 file changed

+48
-0
lines changed

doc/Command-Reference.md

+48
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@
110110
* [QoS Show commands](#qos-show-commands)
111111
* [PFC](#pfc)
112112
* [Queue And Priority-Group](#queue-and-priority-group)
113+
* [Buffer Pool](#buffer-pool)
113114
* [QoS config commands](#qos-config-commands)
114115
* [sFlow](#sflow)
115116
* [sFlow Show commands](#sflow-show-commands)
@@ -340,6 +341,7 @@ This command displays the full list of show commands available in the software;
340341
aaa Show AAA configuration
341342
acl Show ACL related information
342343
arp Show IP ARP table
344+
buffer_pool Show details of the Buffer-pools
343345
clock Show date and time
344346
ecn Show ECN configuration
345347
environment Show environmentals (voltages, fans, temps)
@@ -6169,6 +6171,52 @@ This command displays the user persistet-watermark for the queues (Egress shared
61696171
admin@sonic:~$ sonic-clear priority-group persistent-watermark headroom
61706172
```
61716173
6174+
#### Buffer Pool
6175+
6176+
This sub-section explains the following buffer pool parameters that can be displayed using "show buffer_pool" command.
6177+
1) buffer pool watermark
6178+
2) buffer pool persistent-watermark
6179+
6180+
**show buffer_pool watermark**
6181+
6182+
This command displays the user watermark for all the buffer pools
6183+
6184+
- Usage:
6185+
```
6186+
show buffer_pool watermark
6187+
```
6188+
6189+
- Example:
6190+
```
6191+
admin@sonic:~$ show buffer_pool watermark
6192+
Shared pool maximum occupancy:
6193+
Pool Bytes
6194+
--------------------- -------
6195+
ingress_lossless_pool 0
6196+
lossy_pool 2464
6197+
```
6198+
6199+
6200+
**show buffer_pool persistent-watermark**
6201+
6202+
This command displays the user persistent-watermark for all the buffer pools
6203+
6204+
- Usage:
6205+
```
6206+
show buffer_pool persistent-watermark
6207+
```
6208+
6209+
- Example:
6210+
```
6211+
admin@sonic:~$ show buffer_pool persistent-watermark
6212+
Shared pool maximum occupancy:
6213+
Pool Bytes
6214+
--------------------- -------
6215+
ingress_lossless_pool 0
6216+
lossy_pool 2464
6217+
```
6218+
6219+
61726220
61736221
### QoS config commands
61746222

0 commit comments

Comments
 (0)