Configuration example, Network requirements, Configuration procedure – H3C Technologies H3C WX3000E Series Wireless Switches User Manual

Page 103

Advertising
background image

92

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
Disabled by default.

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, only the last executed
command takes effect. If the command executed last does not include acl

acl-number, the ACL

configured previously will be removed.

Configuration example

Network requirements

As shown in

Figure 42

, the host's interface and VLAN-interface 3 of the switch are on the same network

segment (1.1.1.0/24). VLAN-interface 2 of Switch A and the server 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 the switch so that the server can receive directed broadcasts from the host to IP address

2.2.2.255.

Figure 42 Network diagram for receiving and forwarding directed broadcasts

Configuration procedure

# Enable the switch to receive directed broadcasts.

<Switch> system-view

[Switch] ip forward-broadcast

# Configure IP addresses for VLAN-interface 3 and VLAN-interface 2.

[Switch] interface vlan-interface 3

[Switch-Vlan-interface3] ip address 1.1.1.2 24

[Switch-Vlan-interface3] quit

[Switch] interface vlan-interface 2

[Switch-Vlan-interface2] ip address 2.2.2.2 24

Advertising