3com S7906E Guide De Référence
2-11
Parameters
group-id: DHCP server group number to be correlated, in the range of 0 to 19. The specified server
group must be an existing group containing at least a DHCP server.
Description
Use the dhcp relay server-select command to correlate specified interface(s) to a specified DHCP
server group.
Use the undo dhcp relay server-select command to remove a configured correlation.
By default, no DHCP server group is correlated with an interface on the relay agent.
Note that an interface on the relay agent can only be correlated to one DHCP server group, and a newly
configured correlation overwrites the previous one. If the server group in the new correlation does not
exist, the new configuration will not work. The interface still maintains the previous correlation.
Examples
# Correlate VLAN-interface 1 to DHCP server group 1.
<Sysname> system-view
[Sysname] interface vlan-interface 1
[Sysname-Vlan-interface1] dhcp relay server-select 1
dhcp select relay
Syntax
dhcp select relay
undo dhcp select relay
View
Interface view
Default Level
2: System level
Parameters
None
Description
Use the dhcp select relay command to enable the relay agent on the current interface. Upon receiving
requests from an enabled interface, the relay agent will forward these requests to outside DHCP
servers for IP address allocation.
Use the undo dhcp select relay command to restore the default.
After DHCP is enabled, the DHCP server is enabled on an interface by default. That is, upon receiving a
client’s request from the interface, the DHCP server allocates an IP address from the DHCP address
pool to the client.
Examples
# Enable the DHCP relay agent on VLAN-interface 1.