DHCP Server Commands
OL-32830-01 Command Line Interface Reference Guide
Example
The following example displays DHCP server statistics
switchxxxxxx#
show ip dhcp server statistics
DHCP server enabled
The number of network pools is 7
The number of excluded pools is 2
The number of used (all types) entries is 7
The number of pre-allocated entries is 1
The number of allocated entries is 3
The number of expired entries is 1
The number of declined entries is 2
The number of static entries is 1
The number of dynamic entries is 2
The number of automatic entries is 1
12.29 time-server
To specify the time servers list for a DHCP client, use the time-server command in
DHCP Pool Network Configuration mode or in DHCP Pool Host Configuration
mode. To remove the time servers list, use the no form of this command.
Syntax
ip-address
time-server
no time-server
Parameters
•
ip-address
ip-address2
[
Time servers. Up to eight addresses can be specified in one command line.
Command Mode
DHCP Pool Network Configuration mode
DHCP Pool Host Configuration mode
ip-address2
ip-address8
[
...
ip-address8
...
]
]—Specifies the IP addresses of
12
308