11-2Enabling Forwarding of Directed Broadcasts to a Directly Connected NetworkFollow these steps to enable the device to forward directed broadcasts:To do… Use the command… RemarksEnter system view system-view —Enter interface view interface interface-typeinterface-number —Enable the interface to forwarddirected broadcastsip forward-broadcast [ aclacl-number ]RequiredBy default, the device isdisabled from forwardingdirected broadcasts.z If an ACL is referenced in the ip forward-broadcast [ acl-number ] command, only packetspermitted by the ACL can be forwarded.z If you repeatedly execute the ip forward-broadcast acl [ acl-number ] command on an interface,the last executed command takes effect only. If the command executed last time does not includethe acl acl-number, the ACL configured previously will be removed.Configuration ExampleNetwork requirementsAs shown in Figure 11-1, the host’s interface and VLAN-interface 3 of Switch A are on the samenetwork segment (1.1.1.0/24). VLAN-interface 2 of Switch A and VLAN-interface 2 of Switch B are onanother network segment (2.2.2.0/24). The default gateway of the host is VLAN-interface 3 (IP address1.1.1.2/24) of Switch A. Configure a static route on Switch B to enable the reachability between hostand Switch B.Figure 11-1 Network diagram for receiving and forwarding directed broadcastsConfiguration procedurez 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.[SwitchA] interface vlan-interface 3