918
C
70: T
HAPTER
ERMINAL
sendbuf threshold
Syntax
View
Parameters
Description
Example
tcp
Syntax
View
Parameters
A
C
C
CCESS
ONFIGURATION
OMMANDS
<Sysname> system-view
[Sysname] rta template abc
[Sysname-rta-template-abc] sendbuf bufsize 200
sendbuf threshold value
undo sendbuf threshold
Terminal template view
value: Threshold of terminal send buffer, in bytes, ranging 50 to 2,048.
Use the
sendbuf threshold
buffer.
Use the
undo sendbuf threshold
of the terminal send buffer.
By default, no threshold is configured.
The send buffer is used to store the data that the router is to send to the terminal.
The threshold specifies the maximum data in bytes that the send buffer can store.
# Set the terminal send buffer threshold to 1,000 bytes.
<Sysname> system-view
[Sysname] rta template abc
[Sysname-rta-template-abc] sendbuf threshold 1000
tcp { keepalive time count | nodelay | recvbuf-size recvsize | sendbuf-size sendsize }
undo tcp { keepalive | nodelay | recvbuf-size | sendbuf-size }
Terminal template view
keepalive time count: Sets the parameters for sending TCP keepalives. time
indicates the interval for sending keepalives, in seconds, ranging 10 to 7,200.
count indicates the keepalive retransmission times, ranging 1 to 100.
nodelay: Specifies not to use the TCP Nagle algorithm, that is, no TCP delay.
recvbuf-size recvsize: TCP receive buffer size, in bytes, ranging 512 to 16,384.
sendbuf-size sendsize: TCP send buffer size, in bytes, ranging 512 to 16,384.
command to set the threshold of the terminal send
command to cancel the configured threshold