Dhcp Relay Server-Select - H3C MSR 20-20 Command Reference Manual

Msr 20/30/50 series routers
Hide thumbs Also See for MSR 20-20:
Table of Contents

Advertisement

Related command:
Example

dhcp relay server-select

Syntax
View
Parameter
Description
Example
Use the
undo dhcp relay server-group
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:
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.
If a server group has been correlated to multiple interfaces, you need to cancel
these correlations before removing the server group.
display dhcp relay server-group.
# 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 group-id
undo dhcp relay server-select
Interface view
group-id: Specifies a DHCP group number to be correlated, in the range of 0 to
19. The specified group must be an existing group containing at least a DHCP
server.
Use the
dhcp relay server-select
a specified DHCP server group.
Use the
undo dhcp relay server-select
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.
# Correlate the interface Ethernet1/0 to the DHCP server group 1.
<Sysname> system-view
[Sysname] interface ethernet 1/0
[Sysname-Ethernet1/0] dhcp relay server-select 1
command to remove a DHCP server
command to correlate specified interface(s) to
command to remove a configured
735

Advertisement

Table of Contents
loading

This manual is also suitable for:

Msr 20-21Msr 30-16Msr 30-20Msr 30-40Msr 30-60Msr 50 ... Show all

Table of Contents