DHCPv6 Commands 669
Example
The following example enters IPv6 DHCP Pool Configuration mode.
console(config)#ipv6 dhcp pool addrpool
console(config-dhcp6s-pool)#
ipv6 dhcp relay
Use the ipv6 dhcp relay command in Interface Configuration mode to
configure an interface for DHCPv6 relay functionality.
Syntax
ipv6 dhcp relay {destination
relay-address
[interface vlan
vlan-id
] | interface
vlan
vlan-id
} [remote-id {duid-ifid |
user-defined-string
}]
•
destination
— Keyword that sets the relay server IPv6 address.
•
relay-address
— An IPv6 address of a DHCPv6 relay server.
•
interface
— Sets the relay server interface.
•
vlan-id
— A valid VLAN ID.
• [remote-id {duid-ifid |
user-defined-string
}] — The Relay Agent
Information Option “remote ID” sub-option to be added to relayed
messages. This can either be the special keyword duid-ifid, which causes
the “remote ID” to be derived from the DHCPv6 server DUID and the
relay interface number, or it can be specified as a user-defined string.
Default Configuration
This command has no default configuration.
Command Mode
Interface Configuration (VLAN, Tunnel) mode