Home > HP > Printer > HP 5500 Ei 5500 Si Switch Series Configuration Guide

HP 5500 Ei 5500 Si Switch Series Configuration Guide

Here you can view all the pages of manual HP 5500 Ei 5500 Si Switch Series Configuration Guide. The HP manuals for Printer are available online for free. You can easily download all the documents as PDF.

Page 631

 149 
Enabling the DHCPv6 server 
 
Step Command Remarks 
1.  Enter system view. 
system-view  N/A 
2.  Enable the DHCPv6 server 
function.  ipv6 dhcp server enable 
Disabled by default 
 
Creating a prefix pool 
A prefix pool specifies a range of prefixes. 
To create a prefix pool: 
 
Step Command Remarks 
1.  Enter system view. 
system-view  N/A 
2.  Create a prefix pool.  ipv6 dhcp prefix-pool 
prefix-pool-number prefix 
prefix /prefix-len  assign-len  assign-len   Not configured by default...

Page 632

 150 
Step Command Remarks 
3.  Configure a DHCPv6 address 
pool. 
• Configure a static prefix:  
static-bind prefix  prefix /prefix-len 
duid  duid  [ iaid  iaid  ] 
[ preferred-lifetime  preferred-lifetime  
valid-lifetime  valid-lifetime ]  
• Apply a prefix pool to the address 
pool:  
prefix-pool  prefix-pool-number 
[ preferred-lifetime  preferred-lifetime 
valid-lifetime  valid-lifetime  ]  Use either command. 
No prefix is specified by 
default. 
4.
  Configure a DNS server 
address.  dns-server...

Page 633

 151 
Setting the DSCP value for DHCPv6 packets 
 
Step Command Remarks 
1.  Enter system view. 
system-view N/A 
2.  Set the DSCP value for DHCPv6 
packets sent by the DHCPv6 server.  ipv6 dhcp dscp
 dscp-value 
Optional. 
By default, the DSCP value in 
DHCPv6 packets is 56. 
 
Displaying and maintaining the DHCPv6 server 
 
Task Command Remarks 
Display the DUID of the local 
device.  display ipv6 dhcp duid
 [ | { begin  | exclude  | 
include  } regular-expression ]  Available in any view 
Display the...

Page 634

 152 
Configuration considerations 
To configure the DHCPv6 server: 
•  Enable IPv6 and DHCPv6 server. 
•   Create a prefix pool containing prefix 2001:0410::/32 with the length of the assigned prefix being 
48, so that the server assigns clients the prefixes ranging 2001:0410::/48 to 
2001:0410:FFFF::/48. 
•   Create an address pool. Configure a static prefix in the address pool and have the prefix pool 
referenced by the address pool. Configure other configuration parameters. 
•   Apply the address...

Page 635

 153 
[Switch-ipv6-dhcp-pool-1] dns-server 2:2::3 
# Configure the domain name as aaa.com. 
[Switch-ipv6-dhcp-pool-1] domain-name aaa.com 
# Configure the SIP server address as 2:2::4, and the domain name of the SIP server as bbb.com. 
[Switch-ipv6-dhcp-pool-1] sip-server address 2:2::4 
[Switch-ipv6-dhcp-pool-1] sip-server domain-name bbb.com 
[Switch-ipv6-dhcp-pool-1] quit 
# Apply address pool 1 to VLAN-interface 2, configure the address pool to support the desired prefix 
assignment and rapid prefix...

Page 636

 154 
# After the client whose DUID is 00030001CA0006A40000 obtains an IPv6 prefix, display the PD 
information on the DHCPv6 server. 
[Switch-Vlan-interface2] display ipv6 dhcp server pd-in-use all 
Total number = 1 
Prefix                                      Type      Pool Lease-expirat\
ion 
2001:410:201::/48                           Static(C) 1    Jul 10 2009\
 19:45:01 
# After the other client obtains an IPv6 prefix, display the PD information on the DHCPv6 server. 
[Switch-Vlan-interface2]...

Page 637

 155 
Configuring DHCPv6 relay agent 
Overview 
A DHCPv6 client usually uses a multicast address to contact the DHCPv6 server on the local link to obtain 
an IPv6 address and other configuration parameters. As shown in  Figure 67, if the D
 HCPv6 server 
resides on another subnet, the DHCPv6 client can contact the server via a DHCPv6 relay agent, so you 
do not need to deploy a DHCPv6 server on each subnet.  
Figure 67  Typical DHCPv6 relay agent application 
 
 
DHCPv6 relay agent operation 
Figure 68...

Page 638

 156 
2.
 
After receiving the Solicit message, the DHCPv6  relay agent encapsulates the message into the 
Relay Message option of a Relay-forward message, and sends the message to the DHCPv6 server. 
3.  After obtaining the Solicit message from the Rela y-forward message, the DHCPv6 server selects an 
IPv6 address and other required parameters, and adds them to the reply which is encapsulated 
within the Relay Message option of a Relay-reply message. The DHCPv6 server then sends the 
Relay-reply message...

Page 639

 157 
Step Command Remarks 
3.  Enable DHCPv6 relay agent 
on the interface and specify a 
DHCPv6 server.  ipv6 dhcp relay server-address 
ipv6-address 
[ interface  interface-type 
interface-number  ]   By default, DHCPv6 relay 
agent is disabled and no 
DHCPv6 server is specified on 
the interface. 
 
Setting the DSCP value for DHCPv6 packets 
 
Step Command Remarks 
1.
  Enter system view. 
system-view  N/A 
2.  Set the DSCP value for 
DHCPv6 packets sent by 
the DHCPv6 relay agent.  ipv6 dhcp dscp...

Page 640

 158 
Figure 69 Network diagram 
 
 
Configuration procedure 
1. Configure Switch A as a DHCPv6 relay agent: 
# Enable the IPv6 packet forwarding function. 
 system-view 
[SwitchA] ipv6 
# Configure the IPv6 addresses of VLAN-inter face 2 and VLAN-interface 3 respectively. 
[SwitchA] interface vlan-interface 2 
[SwitchA-Vlan-interface2] ipv6 address 2::1 64 
[SwitchA-Vlan-interface2] quit 
[SwitchA] interface vlan-interface 3 
[SwitchA-Vlan-interface3] ipv6 address 1::1 64 
# Enable DHCPv6 relay agent...
Start reading HP 5500 Ei 5500 Si Switch Series Configuration Guide

Related Manuals for HP 5500 Ei 5500 Si Switch Series Configuration Guide

All HP manuals