[SwitchA] interface vlan-interface 2
[SwitchA-Vlan-interface2] ip address 18.104.22.168 24
# Enable VLAN-interface 2 to forward directed broadcasts.
[SwitchA-Vlan-interface2] ip forward-broadcast
Configure Switch B
# Enable Switch B to receive directed broadcasts.
[SwitchB] ip forward-broadcast
# Configure a static route to the host.
[SwitchB] ip route-static 22.214.171.124 24 126.96.36.199
# Configure an IP address for VLAN-interface 2.
[SwitchB] interface vlan-interface 2
[SwitchB-Vlan-interface2] ip address 188.8.131.52 24
After the above configurations, if you ping the subnet broadcast address (184.108.40.206) of VLAN-interface
2 of Switch A on the host, the ping packets can be received by VLAN-interface 2 of Switch B. However,
if you disable the ip forward-broadcast command, the ping packets cannot be received by the
VLAN-interface 2 of Switch B.
Configuring TCP Optional Parameters
TCP optional parameters that can be configured include:
synwait timer: When sending a SYN packet, TCP starts the synwait timer. If no response packet is
received within the synwait timer interval, the TCP connection cannot be created.
finwait timer: When a TCP connection is changed into FIN_WAIT_2 state, the finwait timer is
started. If no FIN packets is received within the timer interval, the TCP connection will be
terminated. If a FIN packet is received, the TCP connection state changes to TIME_WAIT. If a
non-FIN packet is received, the system restarts the timer upon receiving the last non-FIN packet.
The connection is broken after the timer expires.
Size of TCP receive/send buffer
Follow these steps to configure TCP optional parameters:
Enter system view
Configure the TCP synwait
Configure the TCP finwait timer
Configure the size of TCP
The actual length of the finwait timer is determined by the following formula:
Use the command...
tcp timer syn-timeout
tcp timer fin-timeout
tcp window window-size
75 seconds by default.
675 seconds by default.
8 KB by default.