IP relay-address IP-address: the secondary address for configuring the Ethernet port for passthrough forwarding
For DHCP relay, the IP secondary address specifies the IP address of the DHCP server.
After the secondary IP address is configured, the broadcast packets received from this interface are sent to the server.
The interface that can configure the secondary IP Address should support the broadcast mode.
Up to 20 secondary addresses can be configured for each interface
IP relay protocol UDP [port] configure the passthrough forwarding protocol and the port number used
Multiple groups of DHCP relay servers can be specified on the same device.
A DHCP relay server group can contain multiple relay server addresses. The first IP address is a priority response.
DHCP relay configuration steps
1. Enable the DHCP service on the switch first:
[H3C] DHCP enable
2. Specify the IP address of a DHCP server on the exchange:
[H3C] DHCP relay server-group 1 IP 192.168.2.1 // here I specify the IP address of the first DHCP server as 192.168.2.1
3. Set in the VLAN where you want to automatically obtain the IP Address:
[H3C] interface VLAN 2
[H3C-Vlan-interface2] DHCP select relay // configure vlan2 to work in DHCP relay Mode
[H3C-Vlan-interface2] DHCP relay server-select 1 // the DHCP server configured for vlan2 is group 1, and the two red ones correspond
Debugging IP relay protocol enable DHCP relay and passthrough debugging information
Display IP relay Protocol: displays the running status of the current passthrough forwarding Protocol
Display IP relay-Address: displays the configuration of the secondary addresses of each interface
Welcome to group 166684620 for communication
This article is from the "Network around us." blog, please be sure to keep this source http://willy.blog.51cto.com/5093185/1548979
H3C DHCP relay