beautypg.com

Displaying and maintaining the dhcpv6 relay agent, Dhcpv6 relay agent configuration example, Network requirements – H3C Technologies H3C S12500 Series Switches User Manual

Page 198

background image

184

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.

Displaying and maintaining the DHCPv6 relay

agent

Task Command

Remarks

Display the DUID of the local switch.

display ipv6 dhcp duid [ | { begin |
exclude | include } regular-expression ] Available in any view.

Display DHCPv6 server addresses
specified on the DHCPv6 relay agent.

display ipv6 dhcp relay server-address
{ all | interface interface-type

interface-number } [ | { begin | exclude

| include } regular-expression ]

Available in any view.

Display packet statistics on the DHCPv6
relay agent.

display ipv6 dhcp relay statistics [ |
{ begin | exclude | include }
regular-expression ]

Available in any view.

Clear packets statistics on the DHCPv6
relay agent.

reset ipv6 dhcp relay statistics

Available in user view.

DHCPv6 relay agent configuration example

IMPORTANT:

By default, Ethernet, VLAN, and aggregate interfaces are down. To configure such an interface, bring the
interface up by executing the undo shutdown command.

Network requirements

As shown in

Figure 76

, the network address prefix of DHCPv6 clients is 1::/64, and the IPv6 address of

the DHCPv6 server is 2::2/64. The DHCPv6 client and server need to communicate through a DHCPv6

relay agent (Switch A).
Switch A acts as the gateway of network 1::/64. It sends RA messages to notify the hosts to obtain IPv6
addresses and other configuration parameters through DHCPv6. For more information about RA

messages, see "Configuring IPv6 basics."