beautypg.com

Configuration procedure, Troubleshooting dhcp relay agent configuration, Symptom – H3C Technologies H3C S12500-X Series Switches User Manual

Page 70: Analysis, Solution, Configuring ip address conflict detection

background image

59

Configuration procedure

# Specify IP addresses for the interfaces. (Details not shown.)
# Enable DHCP.

system-view

[SwitchA] dhcp enable

# Enable the DHCP relay agent on VLAN-interface 10.

[SwitchA] interface vlan-interface 10

[SwitchA-Vlan-interface10] dhcp select relay

# Specify the IP address of the DHCP server.

[SwitchA-Vlan-interface10] dhcp relay server-address 10.1.1.1

# Configure the handling strategies and padding content of Option 82.

[SwitchA-Vlan-interface10] dhcp relay information enable

[SwitchA-Vlan-interface10] dhcp relay information strategy replace

[SwitchA-Vlan-interface10] dhcp relay information circuit-id string company001

[SwitchA-Vlan-interface10] dhcp relay information remote-id string device001

Troubleshooting DHCP relay agent configuration

Symptom

DHCP clients cannot obtain configuration parameters through the DHCP relay agent.

Analysis

Some problems might occur with the DHCP relay agent or server configuration.

Solution

To locate the problem, enable debugging and execute the display command on the DHCP relay agent

to view the debugging information and interface state information.
Check that:

DHCP is enabled on the DHCP server and relay agent.

The DHCP server has an address pool on the same subnet as the DHCP clients.

The DHCP server and DHCP relay agent can reach each other.

The DHCP server address specified on the DHCP relay agent interface connected to the DHCP

clients is correct.

This manual is related to the following products: