display dhcp server pool
Use display dhcp server pool to display information about a DHCP address pool.
Syntax
display dhcp server pool [ pool-name | vpn-instance vpn-instance-name ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
pool-name: Displays information about the specified address pool. The pool name is a case-insensitive string of 1 to 63 characters. If you do not specify the pool-name argument, this command displays information about all address pools.
vpn-instance vpn-instance-name: Specifies an MPLS L3VPN instance by its name, a case-sensitive string of 1 to 31 characters. If you do not specify a VPN instance, this command displays information about address pools for the public network.
Examples
# Display information about all DHCP address pools.
<Sysname> display dhcp server pool Pool name: 0 Network 20.1.1.0 mask 255.255.255.0 class a range 20.1.1.50 20.1.1.60 bootfile-name abc.cfg dns-list 20.1.1.66 20.1.1.67 20.1.1.68 domain-name www.aabbcc.com bims-server ip 192.168.0.51 sharekey cipher $c$3$K13OmQPi791YvQoF2Gs1E+65LOU= option 2 ip-address 1.1.1.1 expired 1 2 3 0 Pool name: 1 Network 20.1.1.0 mask 255.255.255.0 secondary networks: 20.1.2.0 mask 255.255.255.0 20.1.3.0 mask 255.255.255.0 bims-server ip 192.168.0.51 port 50 sharekey cipher $c$3$K13OmQPi791YvQoF2Gs1E+65LOU= forbidden-ip 20.1.1.22 20.1.1.36 20.1.1.37 forbidden-ip 20.1.1.22 20.1.1.23 20.1.1.24 gateway-list 1.1.1.1 2.2.2.2 4.4.4.4 nbns-list 5.5.5.5 6.6.6.6 7.7.7.7 netbios-type m-node option 2 ip-address 1.1.1.1 expired 1 0 0 0 Pool name: 2 Network 20.1.1.0 mask 255.255.255.0 address range 20.1.1.1 to 20.1.1.15 class departmentA range 20.1.1.20 to 20.1.1.29 class departmentB range 20.1.1.30 to 20.1.1.40 next-server 20.1.1.33 tftp-server domain-name www.dian.org.cn tftp-server ip-address 192.168.0.120 voice-config ncp-ip 10.1.1.2 voice-config as-ip 10.1.1.5 voice-config voice-vlan 3 enable voice-config fail-over 10.1.1.1 123* option 2 ip-address 1.1.1.3 expired 1 0 0 0 Pool name: 3 static bindings: ip-address 10.10.1.2 mask 255.0.0.0 hardware-address 00e0-00fc-0001 ethernet ip-address 10.10.1.3 mask 255.0.0.0 client-identifier aaaa-bbbb expired unlimited
Table 9: Command output
Field | Description |
---|---|
Pool name | Name of an address pool. |
Network | Assignable network. |
secondary networks | Assignable secondary networks. |
address range | Assignable address range. |
class class-name range | DHCP user class and its address range. |
static bindings | Static IP-to-MAC/client ID bindings. |
option | Customized DHCP option. |
expired | Lease duration: 1 2 3 4 in this example refers to 1 day 2 hours 3 minutes 4 seconds. |
bootfile-name | Boot file name |
dns-list | DNS server IP address. |
domain-name | Domain name suffix. |
bims-server | BIMS server information. |
forbidden-ip | IP addresses excluded from dynamic allocation. |
gateway-list | Gateway addresses. |
nbns-list | WINS server addresses. |
netbios-type | NetBIOS node type. |
next-server | Next server IP address. |
tftp-server domain-name | TFTP server name. |
tftp-server ip-address | TFTP server address. |
voice-config ncp-ip | Primary network calling processor address. |
voice-config as-ip | Backup network calling processor address. |
voice-config voice-vlan | Voice VLAN. |
voice-config fail-over | Failover route. |