Planet WGSW-52040 Configuration Manual page 258

48-port 10/100/1000base-t + 4-port 100/1000x sfp managed switch
Hide thumbs Also See for WGSW-52040:
Table of Contents

Advertisement

via DHCP relay to the DHCP client.
DHCP Relay Configuration Task List:
1. Enable DHCP relay.
2. Configure DHCP relay to forward DHCP broadcast packet.
3. Configure share-vlan
1. Enable DHCP relay.
Command
Global Mode
service dhcp
no service dhcp
2. Configure DHCP relay to forward DHCP broadcast packet.
Command
Global Mode
ip forward-protocol udp bootps
no ip forward-protocol udp bootps
Interface Configuration Mode
ip helper-address <ipaddress>
no ip helper-address <ipaddress>
3. Configure share-vlan
When the user want to use layer 2 device as DHCP relay, there is the number limitation that
create layer 3 interface on layer 2 device, but using the layer 3 interface of share-vlan (it may
include many sub-vlan, however a sub-vlan only correspond to a share-vlan) can implement
DHCP relay forwarding, and the relay device needs to enable option82 function at the same
time.
Command
Global Mode
ip dhcp relay share-vlan <vlanid>
sub-vlan <vlanlist>
no dhcp relay share-vlan
Explanation
DHCP server and DHCP relay is enabled as the
DHCP service is enabled.
Explanation
The UDP port 67 is used for DHCP broadcast
packet forwarding.
Set the destination IP address for DHCP relay
forwarding; the "no ip helper-address
<ipaddress>"command cancels the setting.
Explanation
Create or delete share-vlan and it's sub-vlan.
31-37

Advertisement

Table of Contents

Troubleshooting

loading

Table of Contents