Foundry NetIron M2404C and M2404F Metro Access Switches
Configuring DHCP Features (Rev. 03)
DHCP Server
© 2008 Foundry Networks, Inc.
Page 32 of 63
+===============+=====================+================+============+
| LEASE | RELATED MAC | LEASE TIME | TIME LEFT |
+---------------+---------------------+----------------+------------+
| NONE |
+---------------+---------------------+----------------+------------+
Displaying the DHCP Lease Statistics
The
show ip dhcp statistics leases
command, in Privileged (Enable) mode, displays the statistics
and status of the specified lease or the status of all leases that are currently in use.
Command Syntax
device-name
#
show ip dhcp statistics leases
{
A.B.C.D
|
all
}
Argument Description
A.B.C.D
The IP address of the active lease whose status will be displayed.
all
Displays the status of all active leases.
Example 1
The following example displays the status all active DHCP leases:
device-name
#
show ip dhcp statistics leases all
+==============+===========+==================+===================+
| IP address | Name | Lease Expiration | MAC Address |
+--------------+-----------+------------------+-------------------+
| 4.4.4.100 |lab_3 | 30 sec | 00:40:95:30:0f:61 |
| 4.4.4.99 |LAB2 | 60 sec | 00:c0:df:01:14:3f |
+--------------+-----------+------------------+-------------------+
Example 2
The following example displays the DHCP lease with address 7.0.0.5:
device-name
#
show ip dhcp statistics leases 7.0.0.5
+===============+=====================+================+============+
| LEASE | RELATED MAC | LEASE TIME | TIME LEFT |
+---------------+---------------------+----------------+------------+
| 7.0.0.5 | 00:40:95:30:5e:e4 | 43200 | 42503 |
+===============+=====================+================+============+
NOTE
The switch DHCP implementation supports its own private MIB. When an SNMP
Client request occurs, tables are generated containing detailed statistics for the
status of subnets, ranges, leases, static hosts and DHCP specific packets.
Configuring DHCP Server Option 82
Table 8
lists the commands to configure DHCP Server Option 82.