Dhcp Relay Agent Option 82 Support Configuration Example; Troubleshooting Dhcp Relay Agent Configuration - H3C S5120-SI Series Configuration Manual

Hide thumbs Also See for S5120-SI Series:
Table of Contents

Advertisement

DHCP relay agent Option 82 support configuration example

Network requirements
As shown in Figure 1 1 on page 41, enable Option 82 on the DHCP relay agent (Switch A).
Configure the handling strategy for DHCP requests containing Option 82 as replace.
Configure the padding content for the circuit ID sub-option as company001 and for the remote ID
sub-option as device001.
Switch A forwards DHCP requests to the DHCP server after replacing Option 82 in the requests, so
that the DHCP clients can obtain IP addresses.
Configuration procedure
Specify IP addresses for the interfaces (detailed steps not shown).
Enable DHCP.
<SwitchA> system-view
[SwitchA] dhcp enable
Add DHCP server 10.1.1.1 into DHCP server group 1.
[SwitchA] dhcp relay server-group 1 ip 10.1.1.1
Enable the DHCP relay agent on VLAN-interface 1.
[SwitchA] interface vlan-interface 1
[SwitchA-Vlan-interface1] dhcp select relay
Correlate VLAN-interface 1 to DHCP server group 1.
[SwitchA-Vlan-interface1] dhcp relay server-select 1
Enable the DHCP relay agent to support Option 82, and perform Option 82-related configurations.
[SwitchA-Vlan-interface1] dhcp relay information enable
[SwitchA-Vlan-interface1] dhcp relay information strategy replace
[SwitchA-Vlan-interface1] dhcp relay information circuit-id string company001
[SwitchA-Vlan-interface1] dhcp relay information remote-id string device001
You need to perform corresponding configurations on the DHCP server to make the Option 82 configurations
function normally.

Troubleshooting DHCP relay agent configuration

Symptom
DHCP clients cannot obtain any configuration parameters via the DHCP relay agent.
42

Advertisement

Table of Contents
loading

Table of Contents