2 commands for dhcp relay configuration, 1 ip forward-protocol udp bootps, 2 ip helper-address – PLANET XGS3-24040 User Manual
Page 331: Ommands for, Dhcp, Elay, Onfiguration
24-44
24.2 Commands for DHCP Relay Configuration
24.2.1 ip forward-protocol udp bootps
Command:
ip forward-protocol udp bootps
no ip forward-protocol udp bootps
Function:
Sets DHCP relay to forward UPD broadcast packets on the port; the “no ip forward-protocol udp
bootps”command cancels the service.
Parameter:
bootps forwarding UDP port as 67 DHCP broadcast packets.
Default:
Not forward UPD broadcast packets by default.
Command mode:
Global Mode
Usage Guide:
The forwarding destination address is set in the “ip helper-address” command and described later.
Example:
Setting DHCP packets to be forwarded to 192.168.1.5.
Switch(config)#ip forward-protocol udp boots
Switch(config)#interface vlan 1
Switch(Config-if-Vlan1)#ip helper-address 192.168.1.5
24.2.2 ip helper-address
Command:
ip helper-address
no ip helper-address
Function:
Specifies the destination address for the DHCP relay to forward UDP packets. The “no ip
helper-address
Default:
None.
Command mode:
Interface Configuration Mode
Usage Guide:
The DHCP relay forwarding server address corresponds to the port forwarding UDP, i.e. DHCP
relay forwards corresponding UDP packets only to the corresponding server instead of all UDP
packets to all servers. When this command is run after “ip forward-protocol udp
command, the forwarding address configured by this command receives the UDP packets from
be used for configuration.