Overriding the Default DHCP Relay Configuration Settings
Subscriber management enables you to override certain default DHCP relay agent configuration settings. You can override the 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 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 - (Optional) Enable DHCP relay proxy mode.
- (Optional) Overwrite the giaddr in DHCP packets the DHCP relay agent forwards.
- (Optional) 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.
- (Optional) Override the DHCP relay agent information option (option 82) in DHCP packets.
- (Optional) Override the setting of the broadcast bit in DHCP request packets and use the Layer 2 unicast transmission method.
- (Optional) Trust DHCP client packets that have a giaddr of 0 and that contain option 82 information.
- (Optional) Override ARP table population in distrusted environments.
- (Optional) Override the maximum number of DHCP
clients allowed per interface.
See Specifying the Maximum Number of DHCP Clients Per Interface.
- (Optional) Configure client auto logout.
- Enable or disable support for DHCP snooped clients on interfaces.
- (Optional) Send release messages to the DHCP server when clients are deleted.
- (Optional) Disable DHCP relay agent on specific
interfaces.
See Disabling DHCP Relay.
