Foundry NetIron M2404C and M2404F Metro Access Switches
Configuring DHCP Features (Rev. 03)
DHCP Server
© 2008 Foundry Networks, Inc.
Page 30 of 63
Displaying the IP Address Occupation
The
show ip dhcp stats
command, in Privileged (Enable) mode, displays the used and free IP
addresses by each DHCP subnet and client (host).
The information is not displayed if the DHCP server is disabled.
Command Syntax
device-name
#
show ip dhcp stats
Example
device-name
#
show ip dhcp stats
Available Hosts
---------------
Host host1 is available
Available Subnet Ranges
-----------------------
Binded subnet 9.0.0.0/8 has totally 11 free and 0 used IP addresses
Range 9.0.0.10 9.0.0.20 has 11 free and 0 used IP addresses
Displaying the DHCP Server Packets Statistics
The
show ip dhcp packets
command, in Privileged (Enable) mode, displays statistics about all
known DHCP packet types, which are received while the service is up.
Command Syntax
device-name
#
show ip dhcp packets
Example
device-name
#
show ip dhcp packets
DHCP packet statistics
----------------------
Discovers - 2
Requests - 2
Releases - 0
Offers - 2
Acknowledgements - 2
Not-acknowledgements - 0
Declines – 0
Displaying the DHCP Host Statistics
The
show ip dhcp statistics host
command, in Privileged (Enable) mode, displays detailed
statistics and status of the DHCP clients, specified by an IP address or a name. If the
all
argument
is specified, this command displays the status of all defined hosts.
Command Syntax
device-name
#
show ip dhcp statistics host
[
A.B.C.D
|
name
WORD
|
all
]