You are here: Home > CLI Commands > Just_CLI_Topics > show ip dhcp

show ip dhcp

show ip dhcp

binding

database

relay statistics

statistics

Description

This command displays the DHCPDynamic Host Configuration Protocol. A network protocol that enables a server to automatically assign an IP address to an IP-enabled device from a defined range of numbers configured for a given network.  server binding, database setting, relay and pool statistics.

Syntax

Parameter

Description

binding

Show DHCPDynamic Host Configuration Protocol. A network protocol that enables a server to automatically assign an IP address to an IP-enabled device from a defined range of numbers configured for a given network.  server bindings.

database

Show DHCPDynamic Host Configuration Protocol. A network protocol that enables a server to automatically assign an IP address to an IP-enabled device from a defined range of numbers configured for a given network.  server settings.

relay statistics

Show DHCPDynamic Host Configuration Protocol. A network protocol that enables a server to automatically assign an IP address to an IP-enabled device from a defined range of numbers configured for a given network.  relay statistics.

statistics

Show DHCPDynamic Host Configuration Protocol. A network protocol that enables a server to automatically assign an IP address to an IP-enabled device from a defined range of numbers configured for a given network.  pool statistics.

Examples

The example below shows DHCPDynamic Host Configuration Protocol. A network protocol that enables a server to automatically assign an IP address to an IP-enabled device from a defined range of numbers configured for a given network.  statistics for two configured networks.

(host) [mynode] #show ip dhcp statistics

 

DHCPv4 enabled; DHCPv6 enabled

DHCP Pools

----------

Network Name Type Active Configured leases Active leases Free leases Expired leases Abandoned leases

------------ ---- ------ ----------------- ------------- ----------- -------------- ----------------

2-2-2-nw v4 Yes 242 0 242 0 0

3-2-2-nw v4 Yes 254 0 254 0 0

test v4 Yes 254 0 254 0 0

2011 v6 No 5 - - - -

2012 v6 No 5 - - - -

Current leases 750

Total leases 512

Starting from ArubaOS 8.2.0.0, if the DHCPDynamic Host Configuration Protocol. A network protocol that enables a server to automatically assign an IP address to an IP-enabled device from a defined range of numbers configured for a given network.  lease limit is configured to exceed the user limit, a warning is displayed in the command output.

host) (config) #show ip dhcp statistics

DHCPv4 disabled; DHCPv6 disabled

DHCP Pools

----------

Network Name Type Active Configured leases Active leases Free leases Expired leases

------------ ---- ------ ----------------- ------------- ----------- --------------

Abandoned leases

---------- ------

Current leases 0

Total leases 2048

WARNING: DHCP lease limit increased beyond user limit. Some of the controller's services may be impacted

NOTE: To make a DHCPv6 pool active, ensure that the pool name is added in vlan interface.

The output of this command includes the following parameters:

Parameter

Description

Network Name

Range of addresses that the DHCPDynamic Host Configuration Protocol. A network protocol that enables a server to automatically assign an IP address to an IP-enabled device from a defined range of numbers configured for a given network.  server may assign to clients.

Type

Indicates the IP version of the DHCPDynamic Host Configuration Protocol. A network protocol that enables a server to automatically assign an IP address to an IP-enabled device from a defined range of numbers configured for a given network.  server. It can be v4 or v6.

Active

Indicates if the DHCPDynamic Host Configuration Protocol. A network protocol that enables a server to automatically assign an IP address to an IP-enabled device from a defined range of numbers configured for a given network.  server is active or not.

Configured leases

Number of leases configured on the DHCPDynamic Host Configuration Protocol. A network protocol that enables a server to automatically assign an IP address to an IP-enabled device from a defined range of numbers configured for a given network.  server.

Active leases

Number of active DHCPDynamic Host Configuration Protocol. A network protocol that enables a server to automatically assign an IP address to an IP-enabled device from a defined range of numbers configured for a given network.  leases.

Free leases

Number of available DHCPDynamic Host Configuration Protocol. A network protocol that enables a server to automatically assign an IP address to an IP-enabled device from a defined range of numbers configured for a given network.  leases.

Expired leases

Number of leases that have expired because they have extended past their valid lease period.

Abandoned leases

Number of abandoned leases. Abandoned leases will not be reassigned unless there are no free leases available.

Related Commands

Command

Description

ip dhcp pool

This command configures a DHCPDynamic Host Configuration Protocol. A network protocol that enables a server to automatically assign an IP address to an IP-enabled device from a defined range of numbers configured for a given network.  pool on Mobility Master.

ipv6 dhcp pool

This command configures a DHCPv6 pool on Mobility Master.

ip dhcp increase-lease-limit

This command increases the DHCPDynamic Host Configuration Protocol. A network protocol that enables a server to automatically assign an IP address to an IP-enabled device from a defined range of numbers configured for a given network.  scope on a controller7005, 7008, or 7010 Controllers—to twice the user limit.

Command History

Release

Modification

ArubaOS 8.0.0.0

Command introduced.

Command Information

Platforms

License

Command Mode

All platforms

Base operating system.

Enable or Config mode on Mobility Master.

/*]]>*/