Configuration example, Network requirements – H3C Technologies H3C SecPath F1000-E User Manual

Page 22

Advertising
background image

2

Enabling Reception of Directed Broadcasts to a Directly
Connected Network

If a device is enabled to receive directed broadcasts, the device will determine whether to forward them
according to the configuration on the outgoing interface.

Follow these steps to enable the device to receive directed broadcasts:

To do…

Use the command…

Remarks

Enter system view

system-view

Enable the device to receive
directed broadcasts

ip forward-broadcast

Required

NOTE:

A device that has been disabled from receiving directed broadcasts can still receive broadcast packets
destined for specific UDP ports, which, for example, are configured to be forwarded by UDP helper.

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.

NOTE:

If an ACL is referenced in the ip forward-broadcast command, only packets permitted by the ACL can be
forwarded.

If you repeatedly execute the ip forward-broadcast 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

, the host’s interface and GigabitEthernet 0/1 of Device A are on the same network

segment (1.1.1.0/24). Interface GigabitEthernet 0/2 of Device A and interface GigabitEthernet 0/2 of
Device B are on another network segment (2.2.2.0/24). The default gateway of the host is

Advertising
This manual is related to the following products: