active-charging service rulebase tcp mss

Configures the TCP Maximum Segment Size (MSS) in TCP SYN packets.

Command Mode

Exec > Global Configuration (config) > ACS Configuration (config-service-acs_name ) > Rulebase Configuration (config-rulebase-rulebase_name )

Syntax

tcp mss tcp_mss { [ add-if-not-present ] [ limit-if-present ] } 

add-if-not-present

Specify to add the TCP MSS if not present in the packet.

limit-if-present

Specify to limit the TCP MSS if present in the packet.

mss tcp_mss

Specify the TCP MSS.

Must be an integer in the range of 496-65535.

Usage Guidelines

Using this command, TCP MSS can be limited if already present in the TCP SYN packets. If there are no errors detected in IP header/TCP mandatory header and there are no memory allocation failures, TCP optional header is parsed. If TCP MSS is present in the optional header and its value is greater than the configured MSS value, the value present in the TCP packet is replaced with the configured one.

Example

The following command limits the TCP maximum segment size to 3000, and if not present adds it to the packets:
tcp mss 3000 limit-if-present add-if-not-present