R0106-HP MSR Router Series Layer 3 - IP Services Command Reference(V7)

332
Views
Interface view
Predefined user roles
network-admin
Parameters
ipv6-address: Specifies the IPv6 address of a DHCPv6 server.
interface interface-type interface-number: Specifies an output interface through which the relay agent
forwards the DHCPv6 requests to the DHCPv6 server. If you do not specify any output interface, the relay
agent looks up the routing table for an output interface.
Usage guidelines
Upon receiving a request from a DHCPv6 client, the interface encapsulates the request into a
Relay-forward message and forwards the message to the specified DHCPv6 server.
You can specify a maximum of eight DHCPv6 servers on an interface. The DHCPv6 relay agent forwards
DHCP requests to all the specified DHCPv6 servers.
If the DHCPv6 server address is a link-local address or multicast address, you must specify an output
interface. If you do not specify any output interface, DHCPv6 packets might fail to reach the DHCPv6
server.
If you do not specify an IPv6 address, the undo ipv6 dhcp relay server-address command removes all
DHCPv6 server addresses specified on the interface.
Do not enable the DHCPv6 client and the DHCPv6 relay agent on the same interface.
Examples
# Enable the DHCPv6 relay agent on GigabitEthernet 2/1/1 and specify the DHCPv6 server address
2 0 01:1: : 3.
<Sysname> system-view
[Sysname] interface gigabitethernet 2/1/1
[Sysname-GigabitEthernet2/1/1] ipv6 dhcp select relay
[Sysname-GigabitEthernet2/1/1] ipv6 dhcp relay server-address 2001:1::3
Related commands
display ipv6 dhcp relay server-address
ipv6 dhcp select
reset ipv6 dhcp relay statistics
Use reset ipv6 dhcp relay statistics to clear packets statistics on the DHCPv6 relay agent.
Syntax
reset ipv6 dhcp relay statistics [ interface interface-type interface-number ]
Views
User view
Predefined user roles
network-admin