Enabling handling of option 82, Troubleshooting dhcp relay agent configuration, Symptom – H3C Technologies H3C S12500 Series Switches User Manual

Page 71: Analysis, Solution

Advertising
background image

58

[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

70B

Troubleshooting DHCP relay agent configuration

219B

Symptom

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

220B

Analysis

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

221B

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.

Advertising