Dhcp Relay Server-Address - H3C S6550X-HI Series Command Reference Manual

Table of Contents

Advertisement

to 31 characters. If you do not specify a VPN instance, this command releases the IP address on the
public network.
Usage guidelines
After you execute this command, the relay agent sends a DHCP-RELEASE packet to the DHCP
server and removes the relay entry of the IP address. Upon receiving the packet, the server removes
binding information about the specified IP address to release the IP address.
Examples
# Release IP address 1.1.1.1.
<Sysname> system-view
[Sysname] dhcp relay release ip 1.1.1.1

dhcp relay server-address

Use
dhcp relay server-address
Use
undo dhcp relay server-address
Syntax
dhcp relay server-address ip-address
undo dhcp relay server-address [ ip-address ]
Default
No DHCP server is specified on the DHCP relay agent.
Views
Interface view
Predefined user roles
network-admin
Parameters
ip-address
packets received from DHCP clients to this DHCP server.
Usage guidelines
The specified IP address of the DHCP server must not reside on the same subnet as the IP address
of the DHCP relay agent interface. Otherwise, the DHCP clients might fail to obtain IP addresses.
You can specify a maximum of eight DHCP servers on an interface. The DHCP relay agent forwards
the packets from the clients to all the specified DHCP servers.
If you do not specify an IP address, the
all DHCP servers on the interface.
Examples
# Specify DHCP server address 1.1.1.1 on VLAN-interface 10.
<Sysname> system-view
[Sysname] interface vlan-interface 10
[Sysname-Vlan-interface10] dhcp relay server-address 1.1.1.1
Related commands
dhcp select relay
display dhcp relay interface
: Specifies the IP address of a DHCP server. The DHCP relay agent forwards DHCP
to specify DHCP servers on the DHCP relay agent.
to remove DHCP servers.
undo dhcp relay server-address
74
command removes

Advertisement

Table of Contents
loading

Table of Contents