Foundry NetIron M2404C and M2404F Metro Access Switches
Configuring DHCP Features (Rev. 03)
DHCP Server
© 2008 Foundry Networks, Inc.
Page 31 of 63
Argument Description
A.B.C.D
The IP address of the host whose status will be displayed.
name
WORD
The name of the host whose status is to be displayed.
all
Displays the status of all hosts.
Example
The following example displays the status of all defined DHCP hosts:
device-name
#
show ip dhcp statistics host all
+===============+==========+=====================+==================+
| HOST | STATE | FIXED IP ADDRESS | MAC |
+---------------+----------+---------------------+------------------+
| cetus | used | 7.0.0.6 | 00:40:95:30:5e:31|
+===============+==========+=====================+==================+
Displaying the DHCP Subnets Statistics
The
show ip dhcp statistics subnet
command, in Privileged (Enable) mode, displays statistics and
status of all currently used leases from all ranges that belong to the specified subnet. The subnet
can be specified by an IP address or name. If the argument
all
is specified, this command displays
the status of all defined subnets.
Command Syntax
device-name
#
show ip dhcp statistics subnet
[
A.B.C.D
|
name
WORD
|
all
]
Argument Description
A.B.C.D
The IP address of the subnet whose status will be displayed.
name
WORD
The name of the subnet whose status is to be displayed.
all
Displays the status of all subnets.
Example 1
The following example displays the leases of all defined DHCP subnets:
device-name
#
show ip dhcp statistics subnet all
Lease statistics for Subnet 4.4.4.0
Range 4.4.4.1 4.4.4.100
+===============+=====================+================+============+
| IP address | NAME | Lease Expiration | MAC Address |
+---------------+----------+------------------+--------------------+
| 4.4.4.99 | LAB2 | 59 sec | 00:c0:df:01:14:3f |
| 4.4.4.100 | lab_3 | 60 sec | 00:40:95:30:0f:61 |
+---------------+----------+------------------+--------------------+
Example 2
The following example displays detailed statistics and status of subnet 8.0.0.0:
device-name
#
show ip dhcp statistics subnet 8.0.0.0/8
Lease statistics for Subnet 8.0.0.0
Range 8.0.0.5 8.0.0.5