User guide
set buffer
Chapter 2 Command Descriptions 93
set buffer
Device support This command is supported in PortServer TS Family devices only.
Purpose Configures buffering parameters on a port, or displays the port-buffer
configuration on all ports.
Required
permissions
The root user can configure port buffering. Normal users can display
current settings.
Syntax Configure port buffering
set buffer [clear]
[range=range}]
[size=kbytes]
[state={on|off|pause}]
Display the port buffering configuration
set buffer [range=range]
Options clear
Clears the contents of the specified buffer.
range=range
The port or ports to which the command applies.
size=kbytes
The size in kilobytes to configure the buffer. Settings are configurable in
2-kilobyte increments. The maximum size is1024 kilobytes (1 Megabyte).
The default is 32 kilobytes.
state={on|off|pause}
The buffering state, which can be any of the following:
on
The data will be buffered.
off
The data will not be buffered and all data will be cleared from the
buffer.
pause
The data will not be buffered, but data in the buffer will not be cleared.
Examples
Display port buffer configuration for all ports
#> set buffer
Configure buffers
This example sets the buffer state for port 1 to “on” mode and the buffer
size to 64 kilobytes.
#> set buffer range=1 state=on size=64