| DHCP Commands
C
48
HAPTER
DHCP Server
show ipv6 dhcp
relay destination
DHCP S
ERVER
E
XAMPLE
Console(config)#interface vlan 1
Console(config-if)#ipv6 dhcp relay destination 2001:0DB8:3000:3000::42
Console(config-if)#
This command shows the destination addresses or VLAN to which client
messages are forwarded for DHCP relay service.
S
YNTAX
show ipv6 dhcp relay destination interface [vlan vlan-id]
vlan-id - ID of configured VLAN. (Range: 1-4094, no leading zeroes)
C
M
OMMAND
ODE
Privileged Exec
E
XAMPLE
Console#show ipv6 dhcp relay destination interface vlan 1
DHCP relay destination :
VLAN 1 :
Unicast
: 2001:DB8:3000:3000::42
Console#
This section describes commands used to configure client address pools for
the DHCP service.
Table 232: DHCP Server Commands
Command
Function
ip dhcp excluded-address
Specifies IP addresses that a DHCP server should not
assign to DHCP clients
ip dhcp pool
Configures a DHCP address pool on a DHCP Server
service dhcp
Enables the DHCP server feature on this switch
bootfile
Specifies a default boot image for a DHCP client
Specifies a client identifier for a DHCP client
client-identifier
*
default-router
Specifies the default router list for a DHCP client
dns-server
Specifies the Domain Name Server (DNS) servers
available to a DHCP client
domain-name
Specifies the domain name for a DHCP client
Specifies the hardware address of a DHCP client
hardware-address
*
Specifies the IP address and network mask to
host
*
manually bind to a DHCP client
– 1632 –
Mode
GC
GC
GC
DC
DC
DC
DC
DC
DC
DC