ES4710BD 10 Slots L2/L3/L4 Chassis Switch
4. Disable DHCP relay from forwarding DHCP broadcast packet.
Command | Explanation |
Global Mode |
|
| When layer 3 switches are used as DHCP relays, |
ip dhcp relay information policy drop | this command sets the relay forwarding policy to |
no ip dhcp relay information policy | drop DHCP packets; the “no ip dhcp relay |
drop | information policy drop” command allows |
| DHCP packets forwarding. |
14.3.2DHCP Relay Configuration Command
14.3.2.1ip forward-protocol udp
Command: ip
Function: Sets DHCP relay to forward UPD broadcast packets on the port; the “no ip
Default: DHCP relay forwards DHCP broadcast packet to UDP port 67 by default.
Command mode: Global Mode
Usage Guide: The forwarding destination address is set in the “ip
Example: Setting TFTP packets to be forwarded to 192.168.1.5. Switch(Config)#ip
14.3.2.2ip helper-address
Command: ip
Function: Specifies the destination address for the DHCP relay to forward UDP packets. The “no ip
Default: Address for forwarding DHCP broadcast packet is set on DHCP relay by default.
Command mode: Interface 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. The default setting of DHCP relay is to forward DHCP packets on UDP port 67 to the DHCP server. When this command is run after “ip
309