R21xx-HP FlexFabric 11900 Layer 3 IP Services Configuration Guide
114
Configuration example
Network requirements
As shown in Figure 50, the default gateway of the host is the IP address 1.1.1.2/24 of VLAN-interface 3
of the switch.
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 50 Network diagram
Configuration procedure
# Enable VLAN-interface 3 to receive directed broadcasts.
<Switch> system-view
[Switch] interface vlan-interface 3
[Switch-Vlan-interface3] ip address 1.1.1.2 24
[Switch-Vlan-interface3] ip forward-broadcast
[Switch-Vlan-interface3] quit
# Enable VLAN-interface 2 to forward directed broadcasts.
[Switch] interface vlan-interface 2
[Switch-Vlan-interface2] ip address 2.2.2.2 24
[Switch-Vlan-interface2] ip forward-broadcast
Configuring MTU for an interface
When a packet exceeds the MTU of the output interface, the device processes it in one of the following
ways:
• If the packet disallows fragmentation, the device discards it.
• If the packet allows fragmentation, the device fragments it and forwards the fragments.
Fragmentation and reassembling consume system resources, so set an appropriate MTU for an interface
based on the network environment to avoid fragmentation.
To configure an MTU for an interface:
Step Command Remarks
1. Enter system view.
system-view N/A
2. Enter interface view.
interface interface-type
interface-number
N/A










