Saturday, December 10, 2022

Extreme Switch - How to configure DHCP Client in EXOS


Here are the commands to configure the DHCP client with a VLAN in the EXOS switch.

Option 1. enable dhcp vlan

Enable DHCP on a VLAN to obtain an IP address for the VLAN from a DHCP server.
If the IPv4/IPv6 keyword is not specified, IPv4 is taken as default for the mentioned VLAN.

  • Command syntax:
enable dhcp [ipv4 | ipv6] [vlan_name | all]

  • Example:
enable dhcp vlan Default
enable dhcp ipv6 vlan Default

You may want to enable DHCP for the Management VLAN as below.

enable dhcp vlan Mgmt
enable dhcp ipv6 vlan Mgmt

If you want to enable DHCP for all VLANs, use the following command.

enable dhcp vlan all

Option 2. enable dhcp ports vlan

Enable DHCP on a specific port or a range of ports in a VLAN.

  • Command syntax:
enable dhcp ports port_list vlan vlan_name

  • Example:
enable dhcp ports 48 vlan Default
enable dhcp ports 47-48 vlan Default

Supported EXOS version

This command was first available in ExtremeXOS 10.1.
This command was modified in ExtremeXOS 15.6 to include the ipv4 and ipv6 keywords.

References

ExtremeXOS 30.1 - Extreme Networks

Links

Index_2_Extreme
Extreme Switch - How to configure DHCP Server in EXOS | AnalysisMan

No comments: