3Com 4500 26-PORT Switch User Manual


 
110 CHAPTER 5: USING NETWORK PROTOCOL COMMANDS
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:
<4500>system-view
System View: return to User View with Ctrl+Z.
[4500]interface vlan-interface 1
[4500-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 4500.
debugging dhcp-relay Syntax
debugging dhcp-relay
undo debugging dhcp-relay
View
User view
Parameter
None
Description
Use the debugging dhcp-relay command to enable DHCP relay debugging.
Use the undo debugging dhcp-relay command to disable DHCP relay
debugging. By default, DHCP relay debugging is disabled.
Related commands: dhcp-server ip, dhcp-server, display dhcp-server and
display
dhcp-server interface vlan-interface.
Example
To enable DHCP relay debugging, enter the following:
<4500>debugging dhcp-relay
*0.7200205-DHCP-8-dhcp_debug:
From client to server:
Interface: VLAN-Interface 1
ServerGroupNo: 0