ip dhcp-client ve

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

The DHCP client is enabled on the default VE port. A default VE port is created during startup, and added to the running configuration.

Parameters
default
Specifies the DHCP Client on a VE port associated with the default VLAN.
vlan-num
Specifies a VE port.
Modes

Global configuration mode

Usage Guidelines

he DHCP client can only be configured for one specific VE port, either default or non-default, at a time. A default VE port is created during startup, and added to the running configuration. This command is applicable to a VE port. Both tagged and untagged ports can be part of this Vlan.

Use the no ip dhcp-client ve default command to enable dhcp client on a non default VE. 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.

Note: The no form cannot be used when DHCP client is enabled globally for VE 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

The following example enables the DHCP Client on a VE interface associated with the default VLAN.

device# configure terminal
device(config)# ip dhcp-client ve default
History
Release version Command history
08.0.95 This command was introduced.
09.0.00 This command was modified so that the default keyword was added.
09.0.00a, 09.0.10 A note was added regarding the usage of no form of the command.