Step
2.
Enter interface view.
3.
Enable the interface to
forward directed broadcasts.
Configuration example
Network requirements
As shown in
of Switch A.
Configure receiving and forwarding of directed broadcasts on the switch so that the server can receive
directed broadcasts from the host to IP address 2.2.2.255.
Figure 42 Network diagram
Configuration procedure
# Enable the switch to receive directed broadcasts.
<Switch> system-view
[Switch] ip forward-broadcast
# Configure IP addresses for VLAN-interface 3 and VLAN-interface 2.
[Switch] interface vlan-interface 3
[Switch-Vlan-interface3] ip address 1.1.1.2 24
[Switch-Vlan-interface3] quit
[Switch] interface vlan-interface 2
[Switch-Vlan-interface2] ip address 2.2.2.2 24
# Enable VLAN-interface 2 to forward directed broadcasts.
[Switch-Vlan-interface2] ip forward-broadcast
Configuring TCP attributes
This section provides information about configuring TCP attributes.
Configuring TCP path MTU discovery
CAUTION:
All the devices on the TCP path must be enabled to send ICMP error messages by using the ip
unreachables enable command.
TCP path MTU discovery (in RFC 1 191) discovers the path MTU between the source and destination ends
of a TCP connection. It works as follows:
A TCP source device sends a packet with the Don't Fragment (DF) bit set.
1.
Figure
42, the default gateway of the host is the IP address 1.1.1.2/24 of VLAN-interface 3
Command
interface interface-type
interface-number
ip forward-broadcast [ acl
acl-number ]
95
Remarks
N/A
Disabled by default.