HP MSR2000/3000/4000 Router Series Layer 3 - IP Services Command Reference

295
Field Descri
p
tion
Relay-reply Number of sent Relay-reply packets.
Related commands
reset ipv6 dhcp relay statistics
ipv6 dhcp relay server-address
Use ipv6 dhcp relay server-address to specify a DHCPv6 server on the DHCPv6 relay agent.
Use undo ipv6 dhcp relay server-address to remove DHCPv6 server addresses.
Syntax
ipv6 dhcp relay server-address ipv6-address [ interface interface-type interface-number ]
undo ipv6 dhcp relay server-address [ ipv6-address [ interface interface-type interface-number ] ]
Default
No DHCPv6 server address is specified on the DHCPv6 relay agent.
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 no output interface is specified, 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 no output interface is specified, 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 Ethernet 1/1 and specify the DHCPv6 server address 2001:1::3.
<Sysname> system-view
[Sysname] interface ethernet 1/1
[Sysname-Ethernet1/1] ipv6 dhcp select relay
[Sysname-Ethernet1/1] ipv6 dhcp relay server-address 2001:1::3