128 CHAPTER 13: IP PERFORMANCE CONFIGURATIONEnabling Forwarding ofDirected Broadcasts to aDirectly ConnectedNetworkFollow these steps to enable the device to forward directed broadcasts:n ■ You can reference an ACL to forward only directed broadcasts permitted by theACL.■ If you execute the ip forward-broadcast acl command on an interfacerepeatedly, the last execution overwrites the previous one. If the commandexecuted last time does not include the acl acl-number, the ACL configuredpreviously will be removed.Configuration Example Network requirementsAs shown in Figure 38, the host’s interface and VLAN-interface 3 of Switch A areon the same network segment (1.1.1.0/24). VLAN-interface 2 of Switch A andVLAN-interface 2 of Switch B are on another network segment (2.2.2.0/24). Thedefault gateway of the host is VLAN-interface 3 (IP address 1.1.1.2/24) of SwitchA. Configure a static route on Switch B to enable the reachability between hostand Switch B.Network diagramFigure 38 Network diagram for receiving and forwarding directed broadcastsConfiguration procedure■ Configure Switch A# Enable Switch A to receive directed broadcasts. system-view[SwitchA] ip forward-broadcast# Configure IP addresses for VLAN-interface 3 and VLAN-interface 2.To do… Use the command… RemarksEnter system view system-view -Enable the device to receivedirected broadcastsip forward-broadcast RequiredBy default, the device isdisabled from receivingdirected broadcasts.To do… Use the command… RemarksEnter system view system-view -Enter interface view interface interface-typeinterface-number-Enable the interface toforward directed broadcastsip forward-broadcast [ aclacl-number ]RequiredBy default, the device isdisabled from forwardingdirected broadcasts.1.1.1.1 /24Vlan -int31.1.1 .2/24Vlan- int22.2.2 .2/24Vlan -int22.2 .2.1/24Switch A Switch BHost