display dhcp server tree
Syntax
display dhcp server tree { all | pool [ pool-name ] } [ | { begin | exclude | include } regular-expression ]
View
Any view
Default level
1: Monitor level
Parameters
all: Displays information about all DHCP address pools.
pool [ pool-name ]: Displays information about a specific address pool. The pool name argument is a string of 1 to 35 characters. If no pool name is specified, this command displays 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 tree to display information about DHCP address pools.
Examples
# Display information about all DHCP address pools.
<Sysname> display dhcp server tree all Global pool: Pool name: 0 network 20.1.1.0 mask 255.255.255.0 Sibling node:1 option 2 ip-address 1.1.1.1 expired 1 0 0 0 Pool name: 1 static-bind ip-address 10.10.1.2 mask 255.0.0.0 static-bind mac-address 00e0-00fc-0001 PrevSibling node:0 expired unlimited Extended pool: Pool name: 2 network ip range 1.1.1.0 1.1.1.255 network mask 255.255.255.0 expired 0 0 2 0
Table 9: Command output
Field | Description |
---|---|
Global pool | Information about a common address pool. |
Pool name | Address pool name. |
network | Subnet for address allocation. |
static-bind ip-address 10.10.1.2 mask 255.0.0.0 static-bind mac-address 00e0-00fc-0001 | The IP address and MAC address of the static binding. |
Sibling node | The sibling node of the current node. Nodes of this kind in the output can be:
|
option | Self-defined DHCP options. |
expired | The lease duration, in the format of day, hour, minute, and second. |
Extended pool | Information about an extended address pool. |
network ip range | Range of assignable IP addresses in the extended address pool. |
network mask | Mask of IP addresses assigned from the extended address pool. |