Configures a source VLAN to use as the source IP address in the BOOTPrelay packet.
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. |
N/A.
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}} .
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
This command was first available in ExtremeXOS 30.7.
This command is available on ExtremeSwitching 5320, 5420, 5520, and 5720 series switches.