enable dhcp vlan

enable dhcp [ipv4 | ipv6] [vlan_name | all]

Description

Enables the generation and processing of DHCP (Dynamic Host Configuration Protocol) packets on a VLAN (Virtual LAN) to obtain an IP address for the VLAN from a DHCP server.

Syntax Description

vlan_name Specifies a VLAN name.
all Specifies all VLANs.

Default

If the IPv4/IPv6 keyword is not specified, IPv4 is taken as default for the mentioned VLAN | all.

Usage Guidelines

None.

Example

The following command enables the generation and processing of DHCP packets on a VLAN named accounting:

enable dhcp vlan accounting

enable dhcp ipv6 vlan accounting

History

This command was first available in ExtremeXOS 10.1.

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

Platform Availability