12
DHCP Server Commands
12.19 show ip dhcp
To display the DHCP configuration, use the show ip dhcp command in User EXEC
mode.
Syntax
show ip dhcp
Command Mode
User EXEC mode
Example
The following example displays the DHCP configuration.
switchxxxxxx#
show ip dhcp
DHCP server is enabled.
12.20 show ip dhcp allocated
To display the allocated address or all the allocated addresses on the DHCP
server, use the show ip dhcp allocated command in User EXEC mode.
Syntax
ip-address
show ip dhcp allocated [
]
Parameters
•
ip-address
—(Optional) Specifies the IP address.
Command Mode
User EXEC mode
Example
The following example displays the output of various forms of this command:
297
OL-32830-01 Command Line Interface Reference Guide