Enabling Forwarding of Directed Broadcasts to a Directly Connected Network
Follow these steps to enable the device to forward directed broadcasts:
Enter system view
Enter interface view
Enable the interface to forward
If an ACL is referenced in the ip forward-broadcast [ acl-number ] command, only packets
permitted by the ACL can be forwarded.
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 include
the acl acl-number, the ACL configured previously will be removed.
As shown in
segment (188.8.131.52/24). VLAN-interface 2 of Switch A and VLAN-interface 2 of Switch B are on another
network segment (184.108.40.206/24). The default gateway of the host is VLAN-interface 3 (IP address
220.127.116.11/24) of Switch A. Configure a static route on Switch B to enable the reachability between host
and Switch B.
Figure 1-1 Network diagram for receiving and forwarding directed broadcasts
Configure Switch A
# Enable Switch A to receive directed broadcasts.
[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 18.104.22.168 24
Use the command...
ip forward-broadcast [ acl
1-1, the host's interface and VLAN-interface 3 of Switch A are on the same network
By default, the device is
disabled from forwarding