Configuration procedure, Displaying and maintaining the dhcpv6 relay agent – H3C Technologies H3C SecPath F1000-E User Manual

Page 94

Advertising
background image

3

Configuration Procedure

Follow these steps to configure the DHCPv6 relay agent:

To do…

Use the command…

Remarks

Enter system view

system-view

Enter interface view

interface interface-type
interface-number

Enable DHCPv6 relay agent on the
interface and specify a DHCPv6

server

ipv6 dhcp relay server-address
ipv6-address [ interface

interface-type interface-number ]

Required
By default, DHCPv6 relay
agent is disabled and no

DHCPv6 server is specified on

the interface.

NOTE:

Executing the ipv6 dhcp relay server-address command repeatedly can specify multiple DHCPv6
servers, and up to eight DHCPv6 servers can be specified for an interface. After receiving requests from

DHCPv6 clients, the DHCPv6 relay agent forwards the requests to all the specified DHCPv6 servers.

If the DHCPv6 server address is a link-local address or link-scoped multicast address on the local link,
you need to specify an outgoing interface using the interface keyword in the ipv6 dhcp relay
server-address command; otherwise, DHCPv6 packets may fail to be forwarded to the DHCPv6 server.

After you remove all the specified DHCPv6 servers from an interface with the undo ipv6 dhcp relay
server-address command, DHCPv6 relay agent is disabled on the interface.

An interface cannot serve as a DHCPv6 relay agent and DHCPv6 server at the same time.

It is not recommended that you enable the DHCPv6 relay agent and DHCPv6 client on the same
interface.

Displaying and Maintaining the DHCPv6 Relay
Agent

To do…

Use the command…

Remarks

Display the DUID of the local device

display ipv6 dhcp duid

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 }

Available in any view

Display packet statistics on the
DHCPv6 relay agent

display ipv6 dhcp relay statistics Available in any view

Clear packets statistics on the DHCPv6
relay agent

reset ipv6 dhcp relay statistics

Available in user view

Advertising
This manual is related to the following products: