Using Port Buffering
Port buffering allocates storage for packets that cannot be immediately forwarded or processed on a port. To display port buffer information, use the port-buffer-show command. This command displays ingress and egress buffer utilization for each port.
CLI (network-admin@switch) > port-buffer-show
port-buffer-show |
Display port buffer information. |
time date/time: yyyy-mm-ddThh:mm:ss |
Time to start statistics collection. |
start-time date/time: yyyy-mm-ddThh:mm:ss |
Start time of statistics collection |
end-time date/time: yyyy-mm-ddThh:mm:ss |
End time of statistics collection |
duration duration: #d#h#m#s |
Duration of statistics collection |
interval duration: #d#h#m#s |
Interval between statistics collection. |
since-start |
Specify to display port buffering since start. |
older-than duration: #d#h#m#s |
Specify an older-than time to display port buffering. |
within-last duration: #d#h#m#s |
Specify a within-last time to display port buffering. |
port port-list |
The list of ports. |
CLI (network-admin@switch) > port-buffer-show
switch port ingress-used-buf ingress-used-buf-val egress-used-buf egress-used-buf-val
------ ---- ---------------- -------------------- --------------- -------------------
Leaf1 25 0% 0 0% 0
Leaf1 27 0% 0 0% 0
Leaf1 28 0% 0 0% 0
Leaf1 45 0% 0 0% 0
Leaf1 49 0% 0 0% 0
Leaf1 53 0% 0 0% 0
Leaf1 65 0% 0 0% 0
Leaf1 69 0% 0 0% 0
Leaf1 70 0% 0 0% 0
Leaf1 71 0% 0 0% 0
Leaf1 72 0% 0 0% 0
Use the port-buffer-settings-modify command to enable the collection of port buffer information and to modify the logging interval and buffer size for the command output above.
CLI (network-admin@switch) > port-buffer-settings-modify
port-buffer-settings-modify |
Modify port buffer settings. |
enable|disable |
Specify if you want to enable or disable the collection of port buffer information. |
interval duration: #d#h#m#s |
Specify the interval for the logging of port buffer information. |
disk-space disk-space-number |
Specify the amount of memory to be allotted for the collection of port buffering information. The default value is 50MB. |
For example, to set an interval of 2 minutes for logging port buffer information, use the command:
CLI (network-admin@switch) > port-buffer-settings-modify interval 2m
To display the port buffering settings, use the port-buffer-settings-show command:
CLI (network-admin@switch) > port-buffer-settings-show
switch: switch
enable: yes
interval: 2m
disk-space: 50M