CLI Reference Guide-R04

Table Of Contents
Chapter 30
| DHCP Commands
DHCP Server
– 875 –
Example
Console#show ip dhcp relay
L2 relay: enabled.
Status of DHCP relay information:
Insertion of relay information: disabled.
DHCP option policy: drop.
DHCP relay-server address: 0.0.0.0
0.0.0.0
0.0.0.0
0.0.0.0
0.0.0.0
DHCP sub-option format: extra subtype included
DHCP relay is configured on the following VLANs:
1-4094
Interface Information Option Status
---------- --------------------------
Eth 1/1 Enabled
Eth 1/2 Enabled
Eth 1/3 Enabled
Eth 1/4 Enabled
Eth 1/5 Enabled
,,,
Console#
Related Commands
ip dhcp relay server (870)
DHCP Server
This section describes commands used to configure client address pools for the
DHCP service.
Table 172: DHCP Server Commands
Command Function Mode
ip dhcp excluded-address Specifies IP addresses that a DHCP server should not assign
to DHCP clients
GC
ip dhcp pool Configures a DHCP address pool on a DHCP Server GC
service dhcp Enables the DHCP server feature on this switch GC
bootfile Specifies a default boot image for a DHCP client DC
client-identifier
*
Specifies a client identifier for a DHCP client DC
default-router Specifies the default router list for a DHCP client DC
dns-server Specifies the Domain Name Server (DNS) servers available
to a DHCP client
DC
domain-name Specifies the domain name for a DHCP client DC
hardware-address
*
Specifies the hardware address of a DHCP client DC
host
*
Specifies the IP address and network mask to manually
bind to a DHCP client
DC