Ipv6 Prefix Acquisition Configuration Example - HP 6125XLG Layer 3-Ip Services Configuration Manual

Blade switch
Table of Contents

Advertisement

# Display brief IPv6 information for all interfaces on the device. The output shows that the DHCPv6 client
has obtained an IPv6 address..
[Switch] display ipv6 interface brief
*down: administratively down
(s): spoofing
Interface
Vlan-interface2

IPv6 prefix acquisition configuration example

Network requirements
As shown in
parameters from the DHCPv6 server. The parameters include IPv6 prefix, DNS server address, domain
name suffix, SIP server address, and SIP server domain name.
Figure 76 Network diagram
DHCPv6 server
Vlan-int2
1::2/48
Switch
DHCPv6 client
Configuration procedure
You must configure the DHCPv6 server first before configuring the DHCPv6 client. For information about
configuring DHCPv6 server, see "Configuring the DHCPv6 server."
# Configure an IPv6 address for VLAN-interface 2 that connects to the DHCPv6 server.
<Switch> system-view
[Switch] interface vlan-interface 2
[Switch-Vlan-interface2] ipv6 address 1::2/48
# Configure VLAN-interface 2 to use DHCPv6 to obtain an IPv6 prefix and other configuration
parameters. Configure the interface to support DHCPv6 rapid prefix assignment. Enable the DHCPv6
client to assign an ID to the obtained IPv6 prefix.
[Switch-Vlan-interface2] ipv6 dhcp client pd 1 rapid-commit
[Switch-Vlan-interface2] quit
Verifying the configuration
# Display the DHCPv6 client information. The output shows that the client has obtained an IPv6 prefix
and other configuration parameters from the DHCPv6 server.
[Switch] display ipv6 dhcp client
Vlan-interface2:
Type: Stateful client requesting prefix
Figure
76, configure VLAN-interface 2 on the switch to use DHCPv6 to obtain configuration
Vlan-int2
1::1/48
DHCPv6 client
Physical
Protocol
up
up
187
IPv6 Address
1:2::2

Advertisement

Table of Contents
loading

Table of Contents