ip dhcp-client ve

Enables the DHCP client for a specific Virtual Ethernet (VE) port.
Syntax
ip dhcp-client ve vlan-num
no ip dhcp-client ve vlan-num
Command Default

The DHCP client is enabled on the default VE port. The DHCP client is disabled for non-default VE ports.

Parameters
vlan-num
Specifies a VE port.
Modes

Global configuration mode

Usage Guidelines

The DHCP client can only be configured for one specific VE port, either default or non-default, at a time. When the DHCP client is enabled for a non-default VE port, this command can be used only if the DHCP server belongs to a tagged port.

When this command is executed to enable the DCHP client on a non default VE, then the DHCP client running on the default VE is stopped. If there is any dynamic IP address assigned to the default VE, it is released.

The no form of the command disables the DHCP client for a specific VE interface and restores the default.

Examples

The following example enables the DHCP client for a specific VE port, either default or non-default.

device# configure terminal
device(config)# ip dhcp-client ve 22
History
Release version Command history
08.0.95 This command was introduced.