beautypg.com

Dhcpv6 client configuration examples, Ipv6 address acquisition configuration example, Network requirements – H3C Technologies H3C S5560 Series Switches User Manual

Page 207: Configuration procedure, Verifying the configuration

background image

192

Task Command

Display the DHCPv6 client statistics.

display ipv6 dhcp client statistics [ interface interface-type
interface-number
]

Clear the DHCPv6 client statistics.

reset ipv6 dhcp client statistics [ interface interface-type
interface-number
]

DHCPv6 client configuration examples

IPv6 address acquisition configuration example

Network requirements

As shown in

Figure 75

, configure VLAN-interface 2 of Switch to use DHCPv6 to obtain configuration

parameters from the DHCPv6 server. The parameters include IPv6 address, DNS server address, domain

name suffix, SIP server address, and SIP server domain name.

Figure 75 Network diagram

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 VLAN-interface 2 to use DHCPv6 to obtain an IPv6 address and other configuration

parameters. Configure the interface to support DHCPv6 rapid address assignment.

system-view

[Switch] interface vlan-interface 2

[Switch-Vlan-interface2] ipv6 address dhcp-alloc rapid-commit

[Switch-Vlan-interface2] quit

Verifying the configuration

# Display the DHCPv6 client information. The output shows that the client has obtained an IPv6 address

and other configuration parameters from the server.

[Switch] display ipv6 dhcp client

Vlan-interface2:

Type: Stateful client requesting address

State: OPEN

This manual is related to the following products: