This command displays pool configuration. If all is specified, configuration for all the pools is displayed.
| Format | show ip dhcp pool configuration {pool-name| all} |
| Mode |
|
| Parameter | Description |
|---|---|
| pool-name | The name of the configured DHCP pool for which the DHCP pool configuration details are to be displayed. |
| Pool Type | The pool type. |
| Lease Time | The lease expiration time of the IP address assigned to the client. |
| DNS Servers | The list of DNS servers available to the DHCP client. |
| Default Routers | The list of the default routers available to the DHCP client |
The following additional field is displayed for Dynamic pool type:
| Parameter | Description |
|---|---|
| Network | The network number and the mask for the DHCP address pool. |
The following additional fields are displayed for Manual pool type:
| Parameter | Description |
|---|---|
| Client Name | The name of a DHCP client. |
| Client Identifier | The unique identifier of a DHCP client. |
| Hardware Address | The hardware address of a DHCP client. |
| Hardware Address Type | The protocol of the hardware platform. |
| Host | The IP address and the mask for a manual binding to a DHCP client. |
Example: The following example shows the DHCP pool configuration for all the pools configured. Assume there are three DHCP pools configured with the names poolRed, poolBlue, and poolGreen.
(dhcp-10-130-187-64)#show ip dhcp pool configuration all Pool: poolGreen Pool Type...................................... Dynamic Network........................................ 9.9.9.0 255.255.255.0 Lease Time..................................... 1 days 0 hrs 0 mins VRF Name....................................... Default Pool: poolRed Pool Type...................................... Dynamic Network........................................ 8.8.8.0 255.255.255.0 Lease Time..................................... 1 days 0 hrs 0 mins VRF Name....................................... VrfRed Pool: poolBlue Pool Type...................................... Dynamic Network........................................ 7.7.7.0 255.255.255.0 Lease Time..................................... 1 days 0
Example: The following example shows the DHCP pool configuration for the poolVrfBlue.
(dhcp-10-130-187-64)#show ip dhcp pool configuration poolBlue Pool: poolBlue Pool Type...................................... Dynamic Network........................................ 7.7.7.0 255.255.255.0 Lease Time..................................... 1 days 0 hrs 0 mins VRF Name....................................... VrfBlue