Dhcp Relay Server-Address; Display Dhcp Relay Client-Information - HP 6125XLG Command Reference Manual

Blade switch layer 3 - ip services
Table of Contents

Advertisement

dhcp relay server-address

Use dhcp relay server-address to specify DHCP servers on the DHCP relay agent.
Use undo dhcp relay server-address to remove DHCP servers.
Syntax
dhcp relay server-address ip-address
undo dhcp relay server-address [ ip-address ]
Default
No DHCP server is specified on the relay agent.
Views
Interface view
Predefined user roles
network-admin
Parameters
ip-address: Specifies the IP address of a DHCP server. The DHCP relay agent forwards DHCP 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 may 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 any IP address, the undo dhcp relay server-address command removes all DHCP
servers on the interface.
Examples
# Specify the DHCP server 1.1.1.1 on the relay agent interface VLAN-interface 10.
<Sysname> system-view
[Sysname] interface vlan-interface 10
[Sysname-Vlan-interface10] dhcp relay server-address 2.2.2.2
Related commands
dhcp select relay
display dhcp relay interface

display dhcp relay client-information

Use display dhcp relay client-information to display relay entries on the relay agent.
Syntax
display dhcp relay client-information [ interface interface-type interface-number | ip ip-address
[ vpn-instance vpn-instance-name ] ]
Views
Any view
71

Advertisement

Table of Contents
loading

Table of Contents