DHCPv6 Commands 569
User Guidelines
If
relay-address
is an IPv6 global address, then
relay-interface
is not required. If
relay-address
is a
link-local or multicast address, then
relay-interface
is required. Finally, a value for
relay-address
is not specified, then a value for
relay-interface
must be specified and the DHCPV6-
ALLAGENTS multicast address (i.e. FF02::1:2) is used to relay DHCPv6 messages to the relay
server.
Example
The following example configures VLAN 15 for DHCPv6 relay functionality.
console(config)#interface vlan 15
console(config-if-vlan15)#ipv6 dhcp relay destination 2020:1::1
ipv6 dhcp relay-agent-info-opt
Use ipv6 dhcp relay-agent-info-opt command in Global Configuration mode to configure a
number to represent the DHCPv6 Relay Agent Information Option. The DHCPv6 Relay Agent
Information Option allows for various sub-options to be attached to messages that are being
relayed by the local router to a relay server. The relay server may in turn use this information in
determining an address to assign to a DHCPv6 client.
Syntax
ipv6 dhcp relay-agent-info-opt
option
•
option
— Agent information option. (Range: 54-65535)
Default Configuration
The default value for
option
is 54.
Command Mode
Global Configuration mode
User Guidelines
This command has no user guidelines.
Example
The following example configures the number 100 to represent the DHCPv6 Relay Agent
Information Option.
console(config)#ipv6 dhcp relay-agent-info-opt 100