Foundry NetIron M2404C and M2404F Metro Access Switches
Configuring DHCP Features (Rev. 03)
DHCP Server
© 2008 Foundry Networks, Inc.
Page 28 of 63
DHCP Server Configuration and Statistics Display
Commands
Table 7
lists the commands to display the DHCP server configuration and statistics.
Table 7: DHCP Server Configuration and Statistics Display Commands
Command
Description
show ip dhcp
Displays the configuration of the DHCP server.
show ip dhcp stats
Displays the used and free IP addresses by each DHCP subnet and
client (host).
show ip dhcp packets
Displays statistics about all known DHCP packet types, which are
received while the service is up.
show ip dhcp
statistics host
Displays detailed statistics and status of the DHCP clients,
specified by an IP address or a name.
show ip dhcp
statistics subnet
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.
show ip dhcp
statistics leases
Displays the statistics and status of the specified lease or the status
of all leases that are currently in use.
Displaying the DHCP Configuration
The
show ip dhcp
command, in Privileged (Enable) mode, displays the configuration of the DHCP
server.
The
show ip dhcp subnet
command displays detailed information about the specified subnet and
its ranges. If used without arguments, the command displays such information about the DHCP
related set of subnets.
The
show ip dhcp host
command
displays detailed information about the hosts that were
configured statically in the DHCP Host Configuration mode. If no argument is specified, the
command shows information about all DHCP related clients.
Command Syntax
device-name
#
show ip dhcp
[
host
[
WORD
] |
subnet
[
A.B.C.D/M
] |
ports
|
vlans
]
Argument Description
host
(Optional). Displays only the configured clients (hosts).
WORD
(Optional). Displays only the configuration of the specified host.
subnet
(Optional). Displays only the configured subnets.
A.B.C.D/M
(Optional). Displays only the configuration of the specified subnet.
ports
(Optional). Displays information about all DHCP related ports.
vlans
(Optional). Displays information about all DHCP related VLANs.