CLI Reference Guide-R07

Table Of Contents
– 627 –
26 DHCP Commands (IPv4 and
IPv6)
These commands are used to configure Dynamic Host Configuration Protocol
(DHCP) client and relay functions. Any VLAN interface on this switch can be
configured to automatically obtain an IP address through DHCP. This switch can
also be configured to relay DHCP client configuration requests to a DHCP server on
another network.
DHCP Client
Use the commands in this section to allow the switchs VLAN interfaces to
dynamically acquire IP address information.
Table 128: DHCP Commands
Command Group Function
DHCP Client Allows interfaces to dynamically acquire IP address information
DHCP Relay (IPv4 and IPv6) Relays DHCP requests from local hosts to a remote DHCP server
Table 129: DHCP Client Commands
Command Function Mode
DHCP for IPv4
ip dhcp dynamic-provision Enables dynamic provision via DHCP GC
ip dhcp client class-id Specifies the DHCP client identifier for an interface IC
ip dhcp restart client Submits a BOOTP or DHCP client request PE
show ip dhcp
dynamic-provision
Shows the status of dynamic provision via DHCP PE
DHCP for IPv6
ipv6 dhcp client
rapid-commit vlan
Specifies the Rapid Commit option for DHCPv6 message
exchange
GC
ipv6 dhcp restart client vlan Submits a DHCPv6 client request PE
show ipv6 dhcp duid Shows the DHCP Unique Identifier for this switch PE
show ipv6 dhcp vlan Shows DHCPv6 information for specified interface PE