– 979 –
42 DHCP COMMANDS
These commands are used to configure Dynamic Host Configuration
Protocol (DHCP) client, relay, and server functions. Any VLAN interface can
be configured to automatically obtain an address through DHCP. This
switch can be configured to relay DHCP client configuration requests to a
DHCP server on another network, or it can be configured to provide DHCP
service directly to any client.
DHCP CLIENT
Use the commands in this section to allow the switch’s VLAN interfaces to
dynamically acquire IP address information.
ip dhcp restart client This command submits a BOOTP or DHCP client request.
DEFAULT SETTING
None
COMMAND MODE
Privileged Exec
COMMAND USAGE
â—† This command issues a BOOTP or DHCP client request for any IP
interface that has been set to BOOTP or DHCP mode through the ip
address command.
Table 128: DHCP Commands
Command Group Function
DHCP Client Allows interfaces to dynamically acquire IPv4 address information
DHCP Relay Relays DHCP requests from local hosts to a remote DHCP server
DHCP Server Configures DHCP service using address pools or static bindings
Table 129: DHCP Client Commands
Command Function Mode
DHCP for IPv4
ip dhcp restart client Submits a BOOTP or DHCP client request PE