3Com 4500 PWR 50-PORT Switch User Manual


 
DHCP Relay Configuration Commands 111
Type: dhcp-request
ClientHardAddress: 0010-dc19-695d
ServerIpAddress: 192.168.1.2
*0.7200230-DHCP-8-dhcp_debug:
From server to client:
Interface: VLAN-Interface 1
ServerGroupNo: 0
Type: dhcp-ack
ClientHardAddress: 0010-dc19-695d
AllocatedIpAddress: 10.1.1.1
*0.7200580-DHCP-8-largehop:
Discard DHCP request packet because of too large hop count!
*0.7200725-DHCP-8-invalidpkt:
Wrong DHCP packet!
dhcp-server Syntax
dhcp-server groupNo
undo dhcp-server
View
VLAN Interface View
Parameter
groupNo Enter the DHCP Server group number, in the range 0 to 19.
Description
Use the dhcp-server command to associate a VLAN interface with a DHCP Server
group. DHCP Server requests are forward to the server associated with this group
from the specified interface.
Use the undo dhcp-server command to remove the VLAN interface from the
selected DHCP Server group. By default, DHCP Server requests are not forwarded.
You can only add the primary VLAN interface to a DHCP Server group. The primary
VLAN interface is the first interface that you configure.
This command has more parameters when entered in system view. Refer to
dhcp-server ip below for details.
Related commands: dhcp-server ip, display dhcp-server, display
dhcp-server interface vlan-interface, debugging dhcp-relay
.
Example
To add VLAN-Interface 1 to DHCP Server group1, enter the following:
<4500>system-view
System View: return to User View with Ctrl+Z.
[4500]interface vlan-interface 1
[4500-Vlan-interface1]dhcp-server 1