2 ip helper-address, 3 show ip forward-protocol, 2 ip helper-address -39 – PLANET XGS3-24042 User Manual

Page 400: 3 show ip forward-protocol -39

Advertising
background image


26-39

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

26.2.2 ip helper-address

Command:

ip helper-address <ip-address>

no ip helper-address <ip-address>

Function:

Specifies the destination address for the DHCP relay to forward UDP packets. The “no ip

helper-address <ip-address>” command cancels the setting.

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 <port>

command, the forwarding address configured by this command receives the UDP packets from

<port>. The combination of “ip forward-protocol udp <port>” command and this command should

be used for configuration.

26.2.3 show ip forward-protocol

Advertising
This manual is related to the following products: