Configuring Port Buffering
Port buffering allocates storage for packets that cannot be immediately forwarded or processed on a port.
To display port buffer information (in percentages and bytes), 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
port ingress-used-buf ingress-used-buf-val egress-used-buf egress-used-buf-val
---- ---------------- -------------------- --------------- -------------------
5 2% 150K 0% 0
9 0% 0 0% 0
13 0% 0 0% 0
17 0% 22.5K 0% 0
21 0% 0 0% 0
25 0% 0 0% 0
29 0% 0 0% 0
33 0% 0 0% 0
34 0% 0 0% 0
35 0% 0 18% 1.12M
37 0% 0 0% 0
41 0% 0 0% 0
45 6% 405K 0% 0
49 0% 0 0% 0
61 0% 0 0% 0
69 0% 0 0% 0
121 8% 567K 0% 0
129 0% 0 0% 0
130 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 the internal storage space (called disk-space) allocated for the data collected 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
