Setting the MSS Value for a TCP6 Connection
Context
Setting a minimum Maximum Segment Size (MSS) value for a TCP6 connection defines the smallest TCP6 packet size, preventing Denial of Service (DoS) attacks caused by packets with small MSS values.
Setting a maximum MSS value for a TCP6 connection defines the largest TCP6 packet size, allowing TCP6 packets to be successfully forwarded by intermediate devices when no Path MTU is available.
Procedure
- Run system-view
The system view is displayed.
- Run tcp ipv6 min-mss mss-value
The minimum MSS value is set for a TCP6 connection.
By default, the minimum MSS value for a TCP6 connection is 216 bytes.
- Run tcp ipv6 max-mss mss-value
The maximum MSS value is set for a TCP6 connection.
By default, the maximum MSS value is not configured for TCP6 connections.
The maximum MSS value configured using the tcp ipv6 max-mss command must be greater than the minimum MSS value configured using the tcp ipv6 min-mss command.