Configuration Example - HP A5120 EI Series Configuration Manual

Hide thumbs Also See for A5120 EI Series:
Table of Contents

Advertisement

To do...
Enter interface view
Enable the interface to forward
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, only the last executed command
takes effect. If the command executed last does not include the acl
removed.

Configuration example

Network requirements
As shown in
segment (1.1.1.0/24). VLAN-interface 2 of the switch 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 the switch.
Configure the switch so that the server can receive directed broadcasts from the host to IP address
2.2.2.255.
Figure 48 Network diagram for receiving and forwarding directed broadcasts
1.1.1.1/24
Host
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
# Enable VLAN-interface 2 to forward directed broadcasts.
[Switch-Vlan-interface2] ip forward-broadcast
Use the command...
interface interface-type interface-
number
ip forward-broadcast [ acl acl-
number ]
Figure
48, the host's interface and VLAN-interface 3 of the switch are on the same network
Vlan-int3
Vlan-int2
1.1.1.2/24
2.2.2.2/24
Switch
acl-number
2.2.2.1/24
Server
99
Remarks
Required
Disabled by default.
, the ACL configured previously is

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents