Dhcp Relay Agent Option 82 Support Configuration Example - HP 830 Series Configuration Manual

Poe+ unified wired-wlan switch switching engine
Hide thumbs Also See for 830 Series:
Table of Contents

Advertisement

Figure 25 Network diagram
DHCP client
DHCP client
Configuration procedure
# Specify IP addresses for the interfaces. (Details 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
After the preceding configuration is complete, DHCP clients can obtain IP addresses and other network
parameters from the DHCP server through the DHCP relay agent. You can use the display dhcp relay
statistics command to view statistics of DHCP packets forwarded by DHCP relay agents. After you enable
address check of the DHCP relay agents with the dhcp relay address-check enable command, use the
display dhcp relay security command to view bindings of DHCP relay agents

DHCP relay agent Option 82 support configuration example

Network requirements
As shown in
forwarding them to the DHCP server (Switch B).
The circuit ID sub-option is company001.
The remote ID sub-option is device001.
Configuration procedure
# Specify IP addresses for the interfaces. (Details not shown.)
# Enable DHCP.
<SwitchA> system-view
[SwitchA] dhcp enable
DHCP client
Vlan-int1
10.10.1.1/24
Switch A
DHCP relay agent
DHCP client
Figure
25, the DHCP relay agent (Switch A) replaces Option 82 in DHCP requests before
Vlan-int2
10.1.1.2/24
Vlan-int2
10.1.1.1/24
Switch B
DHCP server
48

Advertisement

Table of Contents
loading

Table of Contents