5-3
Examples
# Configure VLAN-interface 1 to obtain an IP address through DHCP.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] interface Vlan-interface 1
[Sysname-Vlan-interface1] ip address dhcp-alloc
BOOTP Client Configuration Commands
display bootp client
Syntax
display bootp client [ interface Vlan-interface vlan-id ]
View
Any view
Parameters
vlan-id: ID of the VLAN interface.
Description
Use the display bootp client command to display BOOTP client-related information, including the
MAC address of the BOOTP client and the IP address obtained.
Examples
# Display the BOOTP client-related information.
<Sysname> display bootp client interface Vlan-interface 1
Vlan-interface1:
Allocated IP: 192.168.0.2 255.255.255.0
Transaction ID = 0x3d8a7431
Mac Address 000f-e20a-c3ef
Default router: 192.168.0.1
Table 5-2 Description on the fields of the display bootp client command
Field Description
Vlan-interface1
VLAN-interface 1 is configured to obtain an IP
address through BOOTP.
Allocated IP IP address allocated to the VLAN interface
Transaction ID Value of the XID field in BOOTP packets
Mac Address MAC address of the BOOTP client
Default router Default router