dump dhcp-server config
Use the dump dhcp-server config command
to display the DHCP server configuration. A DHCP server configuration
includes up to 256 different subnets. Information displayed includes
Subnet ID, DNS, Domain Names, Subnet IP address range, default lease
time, and maximum lease time in seconds.
It also supports
vendor class identifier (VCI) or option 60 for a DHCP Server. A
DHCP client sends an option code 60 (VCI) in its communication with
the DHCP server. On receiving option 60 or VCI, the DHCP server
matches the received VCI with a VCI from its own table. It then
returns a value corresponding to the VCI to the DHCP client. DHCP
Servers is enabled and configured only on branch ION devices.
Command
dump dhcp-server config ( all | vrf-name=vrf name )
Options
| all | Enter all to display the DHCP server configuration.
Release 6.3.1 |
| vrf-name | Enter a VRF name to display the DHCP server
configuration for a specific VRF. Release 6.3.1 |
Command Notes
| Role | Super, Read Only, Monitor |
| Introduced in | Release 5.1.3 |
Example
dump dhcp-server config
ID : 15674925897730164
Subnet : 10.10.10.0/24
Broadcast Address : 10.10.10.255
Gateway : 10.10.10.1
IP Ranges : 10.10.10.10 to 10.10.10.20 10.10.10.30 to 10.10.10.40
Default Lease Time : 43200
Max Lease Time : 86400
Static Mappings :
Name : CLIENT1
IP Address : 10.10.10.25
MAC Address : e8:fc:af:b9:be:a2
Name : CLIENT2
IP Address : 10.10.10.29
MAC Address : e9:fc:af:c9:be:a6
Custom Options :
VCI : CGNXCLIENT
Option Definition : option name code 1 = text
Option Value : option name "Cloudgenix"
VCI : BOAOption Definition : option value code 2 = integer 8
Option Value : option value 56
Network Context ID :
Disabled : false
dump dhcp-server config
ID : 1677230916405018128
Address Family : ipv6
Subnet : 3001::/64
IP Ranges : 3001::10 to 3001::20
Default Lease Time : 43200
Max Lease Time : 86400
Custom Options :
VCI : CGNXClient
Option Definition : option vendor-encapsulated-option code 1 = string
Option Value : option vendor-encapsulated-option "10.11.11.1"
Network Context ID :
Disabled : false
ID : 1678186343314004728
Address Family : ipv4
Subnet : 192.169.1.0/24
Broadcast Address : 192.169.1.255
Gateway : 192.169.1.1
DNS Servers : [8.8.8.8 8.8.4.4 10.124.4.11]
Domain Name : IPV4.HELLO.COM
IP Ranges : 192.169.1.10 to 192.169.1.250
Default Lease Time : 43200
Max Lease Time : 86400
Network Context ID :
Disabled : false
dump dhcp-server config vrf-name=yellow
ID : 1696567405235006428
Address Family : ipv4
Subnet : 10.10.10.0/24
Broadcast Address : 10.10.10.255
Gateway : 10.10.10.1
IP Ranges : 10.10.10.2 to 10.10.10.10
Default Lease Time : 43200
Max Lease Time : 86400
Network Context ID :
VRF Context ID : 1695795392653021428
VRF Name : yellow
Vni : 965
Disabled : false