display dhcp server expired
Syntax
display dhcp server expired { all | ip ip-address | pool [ pool-name ] } [ | { begin | exclude | include } regular-expression ]
View
Any view
Default level
1: Monitor level
Parameters
all: Displays lease expiration information about all DHCP address pools.
ip ip-address: Displays lease expiration information about a specific IP address.
pool [ pool-name ]: Displays lease expiration information about a specific address pool. The pool name is a string of 1 to 35 characters. If the pool name is not specified, this command displays lease expiration information about all address pools.
|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Description
Use display dhcp server expired to display lease expiration information about specified DHCP address pools or an IP address.
DHCP will assign these expired IP addresses to DHCP clients after all addresses have been assigned.
Examples
# Display information about lease expirations in all DHCP address pools.
<Sysname> display dhcp server expired all IP address Client-identifier/ Lease expiration Type Hardware address 4.4.4.6 3030-3066-2e65-3230- Apr 25 2007 17:10:47 Release 302e-3130-3234-2d45- 7468-6572-6e65-7430- 2f31 --- total 1 entry ---
Table 5: Command output
Field | Description |
---|---|
IP address | Expired IP addresses. |
Client-identifier/Hardware address | IDs or MACs of clients whose IP addresses were expired. |
Lease expiration | The lease expiration time. |
Type | Types of lease expirations. This field is set to Release. |