5-11
ip
ip-address
: DHCP server IP address.
Description
Use the
dhcp relay server-group
command to specify a DHCP server for a DHCP server group.
Use the
undo dhcp relay server-group
command to remove a DHCP server from a DHCP server
group, if no
ip
ip-address
is specified, all servers in the DHCP server group and the server group itself
will be removed.
By default, no DHCP server is specified for a DHCP server group.
Note that:
z
The IP address of any DHCP server and any interface’s IP address of the DHCP relay agent
cannot be in the same network segment. Otherwise, the client may fail to obtain an IP address.
z
If a server group has been correlated to multiple interfaces, you need to cancel these correlations
before removing the server group.
Related commands:
display dhcp relay server-group
.
Examples
# Specify DHCP server 1.1.1.1 for DHCP server group 1 on the relay agent.
<Sysname> system-view
[Sysname] dhcp relay server-group 1 ip 1.1.1.1
dhcp relay server-select
Syntax
dhcp relay server-select
group-id
undo dhcp relay server-select
View
Interface view
Default Level
2: System level
Parameters
group-id
: DHCP server group number to be correlated, in the range of 0 to 19.
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:
z
A DHCP server group can correlate with one or multiple DHCP relay agent interfaces.
z
A relay agent interface can only correlate with 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.
Summary of Contents for E4510-48G
Page 109: ...2 18 Sysname interface bridge aggregation 1 Sysname Bridge Aggregation1 shutdown ...
Page 309: ...6 4 Sysname interface vlan interface 1 Sysname Vlan interface1 ip address dhcp alloc ...
Page 324: ...8 3 Sysname interface vlan interface 1 Sysname Vlan interface1 ip address bootp alloc ...
Page 530: ...2 5 Sysname mvlan 100 subvlan 10 to 15 ...
Page 739: ...8 15 Sysname system view Sysname port security trap addresslearned ...
Page 819: ...13 11 Sysname system view Sysname public key peer key2 import sshkey key pub ...
Page 914: ...5 17 Sysname reset oam ...
Page 1064: ...5 30 Slot 2 Set next configuration file successfully ...
Page 1325: ...21 13 Examples Redirect to member 2 Sysname irf switch to 2 Sysname Slave 2 ...