Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

apply-secondary-as-giaddr

Syntax

Hierarchy Level

For platforms without ELS:

For platforms with ELS:

Description

Configures the interfaces on a switch that are DHCP relay agents to be enabled for smart DHCP relay. Smart DHCP relay enables you to configure alternative IP addresses for the gateway interface so that if the server fails to reply to the requests sent from the primary gateway address, the switch can resend the requests using the alternative gateway addresses. To use this feature, you must configure an IRB interface or Layer 3 subinterface with multiple IP addresses and configure that interface to be a relay agent. This feature is not supported for EVPN-VXLAN deployments.

Depending on where you configure this statement, it enables smart relay on all the interfaces that are relay agents or on specific interfaces. To enable smart relay on all the interfaces that are relay agents, configure this statement at the following locations:

  • Junos OS with ELS: configure it under edit forwarding-options dhcp-relay overrides.

  • Junos OS without ELS: configure it directly under the bootp statement.

To enable smart relay on specific interfaces that are relay agents, configure this statement at the following locations:

  • Junos OS with ELS: configure it under edit forwarding-options dhcp-relay group name interface name overrides.

  • Junos OS without ELS: configure it directly under the interface statement.

Required Privilege Level

interface—To view this statement in the configuration.

interface-control—To add this statement to the configuration.

Release Information

Statement introduced in Junos OS Release 14.1X53-D26.