Tcp Mss; Tcp State - H3C MSR 20-20 Command Reference Manual

Msr 20/30/50 series routers
Hide thumbs Also See for MSR 20-20:
Table of Contents

Advertisement

Example

tcp mss

Syntax
View
Parameter
Description
Example

tcp state

Syntax
View
Parameter
# Enable the protection against Naptha attack.
<Sysname> system-view
[Sysname] tcp anti-naptha enable
tcp mss value
undo tcp mss
Interface view
value: Maximum size of a packet in bytes, ranging from 128 to 2,048.
Use the
command to configure the maximum size of TCP packets.
tcp mss
Use the
undo tcp mss
By default, the maximum size of a TCP packet is 1460 bytes.
As the default MTU on an interface is 1500 bytes, and there are link layer cost and
IP packet head, so the recommended maximum size of TCP packets is about 1200
bytes.
# Set the maximum size of TCP packets to 300 bytes on Ethernet1/0.
<Sysname> system-view
[Sysname] interface ethernet 1/0
[Sysname-Ethernet1/0] tcp mss 300
tcp state { closing | established | fin-wait-1 | fin-wait-2 | last-ack | syn-received }
connection-number number
undo tcp state { closing | established | fin-wait-1 | fin-wait-2 | last-ack |
syn-received } connection-number
System view
closing: CLOSING state of a TCP connection.
established: ESTABLISHED state of a TCP connection.
fin-wait-1: FIN_WAIT_1 state of a TCP connection.
fin-wait-2: FIN_WAIT_2 state of a TCP connection.
last-ack: LAST_ACK state of a TCP connection.
command to restore the default.
801

Advertisement

Table of Contents
loading

This manual is also suitable for:

Msr 20-21Msr 30-16Msr 30-20Msr 30-40Msr 30-60Msr 50 ... Show all

Table of Contents