1-2
Enabling Forwarding of Directed Broadcasts to a Directly Connected Network
Follow these steps to enable the device to forward directed broadcasts:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter interface view
interface interface-type
interface-number
—
Enable the interface to forward
directed broadcasts
ip forward-broadcast
[
acl
acl-number
]
Required
By default, the device is
disabled from forwarding
directed broadcasts.
z
If an ACL is referenced in the
ip forward-broadcast
[
acl-number
] command, only packets
permitted 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 include
the
acl
acl-number
, the ACL configured previously will be removed.
Configuration Example
Network requirements
As shown in
Figure 1-1
, the host’s interface and VLAN-interface 3 of Switch A are on the same network
segment (1.1.1.0/24). VLAN-interface 2 of Switch A and VLAN-interface 2 of Switch B are on another
network segment (2.2.2.0/24). The default gateway of the host is VLAN-interface 3 (IP address
1.1.1.2/24) of Switch A. Configure a static route on Switch B to enable the reachability between host
and Switch B.
It is required that directed broadcasts from the host to IP address 2.2.2.255 be received by Switch B.
Figure 1-1
Network diagram for forwarding directed broadcasts
Configuration procedure
z
Configure Switch A
<SwitchA> system-view.
[SwitchA] interface vlan-interface 3
[SwitchA-Vlan-interface3] ip address 1.1.1.2 24
[SwitchA-Vlan-interface3] quit
[SwitchA] interface vlan-interface 2
Содержание S5810 Series
Страница 307: ...ii Configured Multicast Group Policy Fails to Take Effect 1 32...
Страница 648: ...1 8 Return to the upper directory Sysname cd Display the current working directory Sysname pwd flash...
Страница 812: ...1 7 Role Slave Sysname stack_3 DeviceD Device type S5810 50S MAC address 000f e200 1003...