show ip dhcp-pool

Last Updated : Nov 06, 2012 |
Displays DHCP pool configurations.
Prolog information

Syntax

show ip dhcp-pool [pool-index | all] [detailed]

Parameters

Parameter
Description
Possible Values
Default Value
pool-index
The index of a specific pool
1-32
all
Displays all DHCP pools
detailed
Displays detailed configuration information

User level

read-only

Context

general, dhcp pool

Examples

To display the configuration of the current DHCP pool:Gxxx-001(DHCP 5)# show ip dhcp-pool
Index           Name
-------       ------------------
5             DHCP pool #5
Mode:                   Inactive
Start IP Address Range: 1.1.1.1
End IP Address Range:   1.1.1.20
Lease Time:             8 days 0 hours 0 minutes 0 seconds
BootFile:               N/A
Next-Server:            N/A
Client-Identifier:      N/A
Server-Name:            N/A
DHCP options
Option Num              1               Name     subnet-maskValue
255.255.255.0
Option Num              3               Name     default-router
Value                   1.1.1.1
Vendor Specific Information
Index                   1               Name     ccp.avaya.com
To display the configuration of DHCP pool 5:Gxxx-001(super)# show ip dhcp-pool
5 Index           Name
-------       ------------------
5             DHCP pool #5
Mode:                   Inactive
Start IP Address Range: 1.1.1.1
End IP Address Range:   1.1.1.20
Lease Time:             8 days 0 hours 0 minutes 0 seconds
BootFile:               N/A
Next-Server:            N/A
Client-Identifier:      N/A
Server-Name:            N/A
DHCP options
Option Num              1                Name     subnet-mask
Value                   255.255.255.0
Option Num              3                Name     default-router 
Value                   1.1.1.1
Option Num              176              Name     SSON
Value                   This is an example
Vendor Specific Information
Index                   1                Name     ccp.avaya.com
Class-Identifier        (null)
Value                   This is an example too 
To display the names and statuses of all configured DHCP pools:Gxxx-001(super)# show ip dhcp-pool all
Index   Name                        Mode
------  -------------------------  ------------
5       DHCP pool #5                Inactive
6       DHCP pool #6                Inactive
To display configuration information for all configured DHCP pools:Gxxx-001(super)# show ip dhcp-pool all detailed
Index           Name
-------       ------------------
5             DHCP pool #5
Mode:                   Inactive
Start IP Address Range: 1.1.1.1
End IP Address Range:   1.1.1.20
Lease Time:             8 days 0 hours 0 minutes 0 seconds
BootFile:               N/A
Next-Server:            N/A
Client-Identifier:      N/A
Server-Name:            N/A
DHCP options
Option Num               1                Name     subnet-mask
Value                    255.255.255.0
Option Num               3                Name     default-router
Value                    1.1.1.1
Option Num               176              Name     SSON
Value                    This is an example
Vendor Specific Information
Index                    1                Name     ccp.avaya.com
Class-Identifier         (null)
Value                    This is an example too
Index           Name
-------       ------------------
6             DHCP pool #6
Mode:                   Inactive
Start IP Address Range: 2.2.2.2
End IP Address Range:   2.2.2.20
Lease Time:             8 days 0 hours 0 minutes 0 seconds
BootFile:               N/A
Next-Server:            N/A
Client-Identifier:      N/A
Server-Name:            N/A
DHCP options
Option Num               1                Name     subnet-mask
Value                    255.255.255.248
Option Num               6                Name     dns-server
Value                    1.1.1.1 2.2.2.2

Output fields

Name
Description
Index
The index number of the DHCP pool
Name
The name of the DHCP pool
Mode
Whether the DHCP pool is active or inactive
Start IP Address Range
The lower bound of the DHCP pool
End IP Address Range
The upper bound of the DHCP pool
Lease Time
The length of time for which an IP address allocated from the pool, belongs to a DHCP client
Bootfile
For BOOTP clients – the file to be downloaded by the client after the DHCP transaction ends
Next-Server
The IP address of the Server to be accessed by the DHCP client after the DHCP transaction ends
Client-Identifier
Used for static (manual) pools only, where permanent IP address allocation is done according to the configured client identifier
Server-Name
The optional server host name
DHCP options
The DHCP options configured for the pool. For each option, the following is displayed:
Option Num — the DHCP option number
Name — the name of the option
Value — the value that the DHCP client receives
Vendor Specific Information
The DHCP options unique to an individual vendor class. These options differ according to the different vendors.