Skip to content

Added CLI reference for buffer-pool watermark|persistent-watermark commands #1426

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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