Navigation
Related Documentation
Overriding the Default DHCP Relay Configuration Settings
You can override the default DHCP and DHCPv6 relay agent configuration settings at the global level, for a named group of interfaces, or for a specific interface within a named group.
- To override global default DHCP relay agent configuration options, include the overrides statement and its subordinate statements at the [edit forwarding-options dhcp-relay] hierarchy level.
- To override DHCP relay configuration options for a named group of interfaces, include the statements at the [edit forwarding-options dhcp-relay group group-name] hierarchy level.
- To override DHCP relay configuration options for a specific interface within a named group of interfaces, include the statements at the [edit forwarding-options dhcp-relay group group-name interface] hierarchy level.
- To configure overrides for DHCPv6 relay, use the supported statements at the [edit forwarding-options dhcp-relay dhcpv6] hierarchy level.
To override default DHCP relay agent configuration settings:
- Specify that you want to configure override options.
Global override:
[edit forwarding-options dhcp-relay]user@host# edit overrides - (DHCPv4 only) Enable DHCP relay proxy mode.
- (DHCPv4 only) Overwrite the giaddr in DHCP packets that the DHCP relay agent forwards.
- (DHCPv4 only) Replace the IP source address in DHCP relay
request and release packets with the gateway IP address (giaddr).
See Replacing the DHCP Relay Request and Release Packet Source Address.
- (DHCPv4 only) Override the DHCP relay agent information option (option 82) in DHCP packets.
- (DHCPv4 only) Override the setting of the broadcast bit in DHCP request packets and use the Layer 2 unicast transmission method.
- (DHCPv4 only) Trust DHCP client packets that have a giaddr of 0 and that contain option 82 information.
- (DHCPv4 only) Override the ARP table population in distrusted environments.
- (DHCPv4 and DHCPv6) Override the maximum number of DHCP
clients allowed per interface.
See Specifying the Maximum Number of DHCP Clients Per Interface.
- (DHCPv4 only) Configure client auto logout.
- (DHCPv4 and DHCPv6) Enable or disable support for DHCP
snooped clients on interfaces.
See Enabling and Disabling DHCP Snooped Packets Support for DHCP Relay Agent.
- (DHCPv4 and DHCPv6) Send release messages to the DHCP server when clients are deleted.
- (DHCPv4 only) Disable the DHCP relay agent on specific
interfaces.
See Disabling DHCP Relay.
- (DHCPv4 and DHCPv6) Disable automatic binding of stray DHCP requests.