Displaying And Maintaining The Dhcp Client; Dhcp Client Configuration Example; Network Requirements; Configuration Procedure - HP 10500 Series Configuration Manual

Layer 3 - ip services
Hide thumbs Also See for 10500 Series:
Table of Contents

Advertisement

Step
2.
Set the DSCP value for DHCP packets
sent by the DHCP client.

Displaying and maintaining the DHCP client

Task
Display specified
configuration information.

DHCP client configuration example

Network requirements

On a LAN, Switch B contacts the DHCP server through VLAN-interface 2 to obtain an IP address, DNS
server address, and static route information, as shown in
on network 10.1.1.0/24. The DNS server address is 20.1.1.1. The next hop of the static route to network
20.1.1.0/24 is 10.1.1.2.
The DHCP server uses Option 121 to assign static route information to DHCP clients. The destination
descriptor field comprises two parts, subnet mask length and destination network address. In this
example, the value of the destination descriptor field takes 18 14 01 01, a hexadecimal number
indicating that the subnet mask length is 24 and destination network address is 20.1.1.0, and the value
of the next hop address field takes 0A 01 01 02, a hexadecimal number indicating that the next hop is
10.1.1.2.
Figure 32 Network diagram

Configuration procedure

Configure Switch A:
1.
# Specify the IP address of VLAN-interface 2.
<SwitchA> system-view
[SwitchA] interface vlan-interface 2
[SwitchA-Vlan-interface2] ip address 10.1.1.1 24
[SwitchA-Vlan-interface2] quit
Command
dhcp client dscp
dscp-value
Command
display dhcp client [ verbose ] [ interface
interface-type interface-number ] [ | { begin |
exclude | include } regular-expression ]
69
Remarks
Optional.
By default, the DSCP value is 56.
Remarks
Available in any view.
Figure
32. The DHCP client IP address resides

Advertisement

Table of Contents
loading

Table of Contents