The peer tcp-mss command configures a TCP MSS value used when the local device establishes TCP connections with a peer.
The undo peer tcp-mss command deletes the configured TCP MSS value.
By default, no TCP MSS is configured for the local device to establish TCP connections with a peer.
Parameter | Description | Value |
---|---|---|
ipv6-address |
Specifies the IPv6 address of a peer. |
The value is a 32-digit hexadecimal number, in the format of X:X:X:X:X:X:X:X. |
tcp-mss-number |
Specifies the TCP MSS value used for TCP connection establishment. |
The value is an integer ranging from 176 to 4096, in bytes. |
Usage Scenario
You can run the peer tcp-mss command to configure a TCP MSS value used for TCP connection establishment so that it is used to encapsulate BGP packets when the path MTU is unavailable. Such configuration improves network performance.
Precautions
If you change the tcp-mss-number value, the TCP connection will be re-established.
If both the peer tcp-mss and peer path-mtu auto-discovery commands are run, note the following rules:<HUAWEI> system-view [~HUAWEI] ip vpn-instance vpna [*HUAWEI-vpn-instance-vpna] ipv6-family [*HUAWEI-vpn-instance-vpn1-af-ipv6] route-distinguisher 100:1 [*HUAWEI-vpn-instance-vpna-af-ipv6] quit [*HUAWEI-vpn-instance-vpna] quit [*HUAWEI] bgp 100 [*HUAWEI-bgp] ipv6-family vpn-instance vpna [*HUAWEI-bgp-6-vpna] peer 2001:DB8:1::1 as-number 100 [*HUAWEI-bgp-6-vpna] peer 2001:DB8:1::1 tcp-mss 200