118 CHAPTER 5: USING NETWORK PROTOCOL COMMANDS
undo ip address dhcp-alloc
View
VLAN Interface View
Parameter
None
Description
Use the ip address dhcp-alloc command to configure VLAN interface to obtain IP
address using DHCP.
Use the undo ip address dhcp-alloc command to remove the configuration.
By default, the VLAN interface does not obtain an IP address using DHCP.
Example
To configure VLAN interface to obtain IP address using DHCP, enter the following:
<SW5500>system-view
System View: return to User View with Ctrl+Z.
[SW5500]interface vlan-interface 1
[SW5500-Vlan-interface1]ip address dhcp-alloc
DHCP Relay
Configuration
Commands
This section describes the commands you can use to configure and manage the
Dynamic Host Configuration Protocol (DHCP) operations on your Switch
5500G-EI.
address-check Syntax
address-check enable
address-check disable
View
VLAN Interface View
Parameter
None
Description
Use the address-check enable command to enable DHCP relay security to check
address validity.
Use the address-check disable command to disable DHCP relay security.
Example
To enable DHCP security on VLAN interface 1 enter the following: