R3303-HP HSR6800 Routers Layer 3 - IP Services Command Reference

Table Of Contents
37
Examples
# Display IP addresses excluded from dynamic allocation in the DHCP address pool.
<Sysname> display dhcp server forbidden-ip
Global:
IP Range from 1.1.0.2 to 1.1.0.3
IP Range from 1.1.1.2 to 1.1.1.3
Pool name: 2
1.1.1.5 1.1.1.6
Table 7 Command output
Field Description
Global
Globally excluded IP addresses specified with the dhcp server forbidden-ip
command in system view. No address pool can assign these IP addresses.
Pool name
Excluded IP addresses specified with the forbidden-ip command in DHCP
address pool view. They cannot be assigned from the current extended address
pool.
display dhcp server ip-in-use
Use display dhcp server ip-in-use to display the binding information for DHCP address pools or an IP
address.
Syntax
display dhcp server ip-in-use { all | ip ip-address | pool [ pool-name ] } [ | { begin | exclude | include }
regular-expression ]
Views
Any view
Default command level
1: Monitor level
Parameters
all: Displays the binding information for all DHCP address pools.
ip ip-address: Displays the binding information for the specified IP address.
pool [ pool-name ]: Displays the binding information for the specified IP address pool. The pool name is
a string of 1 to 35 characters. If you do not specify any pool name, this command displays the binding
information for 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.