Command Manual – DHCP
H3C S7500E Series Ethernet Switches
Chapter 2 DHCP Relay Agent Configuration
Commands
2-9
2.1.11 dhcp relay server-select
Syntax
dhcp relay server-select group-id
undo dhcp relay server-select
View
Interface view
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
2.1.12 dhcp select relay
Syntax
dhcp select relay
undo dhcp select relay
View
Interface view
Parameters
None