HP 5920 Series Configuration Manual page 54

Hide thumbs Also See for 5920 Series:
Table of Contents

Advertisement

Figure 18 Network diagram
Configuration procedure
Specify IP addresses for interfaces on DHCP server and DHCP relay agent. (Details not shown.)
1.
Configure DHCP services:
2.
# Enable DHCP and configure the DHCP server to handle Option 82.
<SwitchB> system-view
[SwitchB] dhcp enable
[SwitchB] dhcp server relay information enable
# Enable DHCP server on VLAN-interface10.
[SwitchB] interface vlan-interface 10
[SwitchB-Vlan-interface10] dhcp select server
[SwitchB-Vlan-interface10] quit
# Create DHCP user class tt to match client requests with Option 82.
[SwitchB] dhcp class tt
[SwitchB-dhcp-class-tt] if-match option 82
[SwitchB-dhcp-class-tt] quit
# Create DHCP address pool aa, specify the address range for the address pool and the address
range for user class tt. Specify gateway and DNS server address.
[SwitchB] dhcp server ip-pool aa
[SwitchB-dhcp-pool-aa] network 10.10.1.0 mask 255.255.255.0
[SwitchB-dhcp-pool-aa] address-range 10.10.1.2 10.10.1.100
[SwitchB-dhcp-pool-aa] class tt range 10.10.1.2 10.10.1.10
[SwitchB-dhcp-pool-aa] gateway-list 10.10.1.255
[SwitchB-dhcp-pool-aa] dns-list 10.10.1.20
Verifying the configuration
After the preceding configuration is complete, clients in a specific user class in subnet 10.10.1.0/24 can
obtain IP addresses and other configuration parameters from the DHCP server (Switch B). Use the display
dhcp server ip-in-use command to view the IP address assigned by the DHCP server.
45

Advertisement

Table of Contents
loading

This manual is also suitable for:

5900 series

Table of Contents