Configuration procedure, Configuring tcp attributes, Configuring tcp optional parameters – H3C Technologies H3C S7500E Series Switches User Manual

Page 112

Advertising
background image

11-3

Configuration procedure

z

Configure Switch A

# Enable Switch A to receive directed broadcasts.

<SwitchA> system-view

[SwitchA] ip forward-broadcast

# Configure IP addresses for VLAN-interface 3 and VLAN-interface 2.

[SwitchA] interface vlan-interface 3

[SwitchA-Vlan-interface3] ip address 1.1.1.2 24

[SwitchA-Vlan-interface3] quit

[SwitchA] interface vlan-interface 2

[SwitchA-Vlan-interface2] ip address 2.2.2.2 24

z

Configure Switch B

# Enable Switch B to receive directed broadcasts.

<SwitchB> system-view

[SwitchB] ip forward-broadcast

# Configure a static route to the host.

[SwitchB] ip route-static 1.1.1.1 24 2.2.2.2

# Configure an IP address for VLAN-interface 2.

[SwitchB] interface vlan-interface 2

[SwitchB-Vlan-interface2] ip address 2.2.2.1 24

After the above configurations, if you ping the subnet broadcast address (2.2.2.255) of VLAN-interface

2 of Switch A on the host, the ping packets can be received by VLAN-interface 2 of Switch B.

Configuring TCP Attributes

Configuring TCP Optional Parameters

TCP optional parameters that can be configured include:

z

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.

z

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.

z

Size of TCP receive/send buffer

Follow these steps to configure TCP optional parameters:

To do…

Use the command…

Remarks

Enter system view

system-view

Configure the TCP synwait timer

tcp timer syn-timeout time-value

Optional

75 seconds by default.

Configure the TCP finwait timer

tcp timer fin-timeout time-value

Optional

675 seconds by default.

Advertising