HP VPN Firewall Appliances Network Management Command Reference
204
Related commands
display dhcp relay statistics
DHCP client commands
The DHCP client configuration is supported only on Layer 3 Ethernet interfaces (or subinterfaces), VLAN
interfaces, and Layer 3 aggregate interfaces.
When multiple VLAN interfaces having the same MAC address use DHCP for IP address acquisition
through a relay agent, the DHCP server cannot be the Windows 2000 Server or Windows 2003 Server.
You cannot configure an interface of an aggregation group as a DHCP client.
display dhcp client
Use display dhcp client to display DHCP client information. If you do not specify any interface
interface-type interface-number, this command displays DHCP client information about all interfaces.
Syntax
display dhcp client [ verbose ] [ interface interface-type interface-number ] [ | { begin | exclude |
include } regular-expression ]
Views
Any view
Default command level
1: Monitor level
Parameters
verbose: Displays verbose DHCP client information.
interface interface-type interface-number: Specifies an interface by its type and number.
|: Filters command output by specifying a regular expression. For more information about regular
expressions, see Getting Started 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.
Examples
# Display DHCP client information for all interfaces.
<Sysname> display dhcp client
Vlan-interface1 DHCP client information:
Current machine state: BOUND
Allocated IP: 40.1.1.20 255.255.255.0
Allocated lease: 259200 seconds, T1: 129600 seconds, T2: 226800 seconds
DHCP server: 40.1.1.2
# Display verbose DHCP client information.
<Sysname> display dhcp client verbose