configure bootprelay dhcp-agent source-vlanNEW!

configure bootprelay dhcp-agent source-vlan {vlan_name} {vr vrid}

Description

Configures a source VLAN to use as the source IP address in the BOOTPrelay packet.

Syntax Description

bootprelay Specifies BOOTPrelay agent information option.
dhcp-agent Specifies DHCP agent.
source-vlan Specifies using the IP address of the configured loopback VLAN as the gateway IP (giaddr) field when BOOTPrelay is used for the anycast VLAN.
vlan_name Specifies the loopback VLAN name.
vr Specifies using a specific virtual router ID.
vrid Specifies the virtual router ID.

Default

N/A.

Usage Guidelines

When a VLAN is configured with an anycast MAC address and has an anycast IP address, the source address must be a unique reachable IP address. Without a unique IP address, the DHCP reply from the server might not reach the DHCP relay ExtremeXOS device. The source VLAN must be a loopback VLAN that is configured on the specified VRF. If a source VLAN is not configured, then a loopback VLAN is automatically picked for anycast VLANs receiving a DHCP request.

To view the selected source VLAN, use the command show bootprelay configuration {ipv4 | ipv6} {{vlan vlan_name } | {vr vr_name}} .

Example

The following example configures the VLAN "vlan1" to use as the source IP address in the BOOTPrelay packet:

# configure bootprelay dhcp-agent source-vlan vlan1

History

This command was first available in ExtremeXOS 30.7.

Platform Availability

This command is available on the ExtremeSwitching X435, X440-G2, X450-G2, X460-G2, X465, X590, X620, X670-G2, X690, X695, and X870 series switches.