Configuring tcp window scale option – Brocade Virtual ADX Server Load Balancing Guide (Supporting ADX v03.1.00) User Manual
Page 125
Brocade Virtual ADX Server Load Balancing Guide
109
53-1003247-01
Miscellaneous options
2
Configuring TCP window scale option
To configure the TCP window scale option in the TCP header and change the receive and transmit
buffer sizes, enter the following commands at the tcp profile name configuration level as shown in
the example:
Virtual ADX(config)# tcp profile sample
Virtual ADX(config-tcp-sample)# tcp-wnd-scale 1
Virtual ADX(config-tcp-sample)# rxbuf-size 3145278
Virtual ADX(config-tcp-sample)# txbuf-size 3145278
Syntax: [no] tcp-wnd-scale window_scale_factor
The window_scale_factor variable specifies the TCP window scale factor from 1 to 7. The default
is 0.
Syntax: [no] rxbuf-size buffer-size
The buffer-size variable specifies maximum TCP receive buffer size. Enter an integer from 0 to
3145278. The default is 0.
Syntax: [no] txbuf-size buffer-size
The buffer-size variable specifies maximum TCP transmit buffer size. Enter an integer from 0 to
3145278. The default is 0.
To display the TCP profile sample, enter the following show tcp profile command:
Virtual ADX# show tcp profile sample
TCP profile: sample
TCP Rx Buffer Size: 314278
TCP Tx Buffer Size: 314278
TCP Window scale factor: 1
Syntax: show tcp profile name
Binding a TCP profile to a virtual port and
response rewrite policy
You can bind a TCP profile to a virtual port and response rewrite policy as shown in the following.
Virtual ADX(config)#server virtual-name-or-ip v1
Virtual ADX(config-vs-v1)#port http response-rewrite-policy resp-1 tcp1
Syntax: [no] port virtual-port response-rewrite-policy response-rewrite-policy-name
tcp-profile-name
The virtual-port variable specifies the TCP port that the specified TCP policy will be bound to.
The response-rewrite-policy-name variable specifies the response rewrite policy that the specified
TCP policy will be bound to.
The tcp-profile-name variable specifies the TCP policy that the specified response rewrite policy
and virtual port will be bound to.