Tags

,

TCP Maximum Segment Size is the maximum allowable TCP payload size as show in the below diagram.

TCP-MSS-01

You can find a nice article on this & MTU in below blog post from Packetlife.net (above diagram from this blog page)
MTU Manipulation

If client’s maximum segment size (MSS) in a TCP 3-way handshake is greater than the maximum transmission unit can handle, the client might experience reduced throughput and the fragmentation of the packets. To avoid this problem you can specify the MSS for all APs that are joined to  WLC or for specific AP.

When you enable this feature, the AP selects for TCP packets to and from wireless clients in its data path. If the MSS of these packets is greater than the value that you configured or greater than the default value for the CAPWAP tunnel, the AP changes the MSS to the newly configured value.

You can configure this via GUI or CLI on globally (All AP) or individual AP. Here is the GUI setting for global configuration. Allowable size is 536-1363 bytes & once you enabled default to 1363 byte.

TCP-MSS-02

You can configure this on AP level under Advanced settings of particular AP. If you enabled it globally & try to disable it on certain APs it won’t work. (solution is to disable it globally & configure it only required AP in that case)

TCP-MSS-03

Here is the CLI command how you can configure it. You have to reset the controller to take effect of this command.

config ap tcp-adjust-mss {enable|disable} {Cisco_AP_Name|all} {size[536-1363]

You can see the current TCP MSS settings for a AP by using “show ap tcp-mss-adjust {Cisco_AP|All} ”  or “show ap config general Cisco_AP” command as shown below.

(4402-a) >show ap  tcp-mss-adjust all
AP Name              TCP State  MSS Size
------------------   --------   ------- 
3502-d               enabled    1363 
1252-c               disabled   -

(4402-a) >show ap config general 3502-d
Cisco AP Identifier.............................. 0
Cisco AP Name.................................... 3502-d
Country code..................................... AU  - Australia
Regulatory Domain allowed by Country............. 802.11bg:-A     802.11a:-N
.
.
.
AP Link Latency.................................. Disabled
Rogue Detection.................................. Enabled
AP TCP MSS Adjust................................ Enabled
AP TCP MSS Size.................................. 1363 

.