HP MSR2000/3000/4000 Router Series Layer 3 - IP Services Command Reference
77
Predefined user roles
network-admin
Parameters
ascii string: Specifies a case-insensitive ASCII string of 1 to 63 characters as the client ID.
hex string: Specifies a case-insensitive hex string of 4 to 64 characters as the client ID.
mac interface-type interface-number: Uses the MAC address of the specified interface as a DHCP client
ID. The interface-type interface-number argument specifies an interface by its type and number.
Usage guidelines
A DHCP client ID is added to the DHCP option 61. A DHCP server can specify IP addresses for clients
based on the DHCP client ID. You can specify a DHCP client ID by naming an ASCII string or hex string
as the client ID, or by using the MAC address of an interface to generate a client ID. Whichever method
you use, make sure the IDs for different DHCP clients are unique.
Examples
# Use the MAC address of Ethernet 1/2 as the DHCP client ID for Ethernet 1/1.
<Sysname> system-view
[Sysname] interface ethernet 1/1
[Sysname-Ethernet1/1] dhcp client identifier mac ethernet 1/2
Related commands
display dhcp client
display dhcp client
Use display dhcp client to display DHCP client information.
Syntax
display dhcp client [ verbose ] [ interface interface-type interface-number ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
verbose: Displays verbose DHCP client information.
interface interface-type interface-number: Specifies an interface by its type and number.
Usage guidelines
If you do not specify any interface, the command displays DHCP client information about all interfaces.
Examples
# Display DHCP client information about all interfaces.
<Sysname> display dhcp client
Vlan-interface10 DHCP client information:
Current state: BOUND