ipv6 dhcp relay destination (S-, K-Series)

Use this command to configure the IPv6 DHCP relay agent to forward an IPv6 DHCP request from a client or other relay agent to the destination server or relay agent address.

Syntax

ipv6 dhcp relay destination ipv6-address [destination-interface] [global] [vrf vrf]
no ipv6 dhcp relay destination ipv6-address [destination-interface] [global] [vrf vrf]

Parameters

ipv6-address Specifies the DHCPv6 destination server address.
destination-interface Optional, Specifies the destination interface when relaying link-local and multicast IPv6 addresses.
global (Optional) Specifies that the default global forwarding table will be used for route lookup.
vrf vrf (Optional) Specifies that the routing table of the specified VRF will be used for route lookup.

Defaults

If a destination interface is not specified, because the DHCPv6 server address is a global address, the interface is determined by a standard routing table lookup.

Mode

Interface configuration.

Usage

The DHCP Solicit message is a multicast message to the all DHCP server address (ff02::1:2). The all DHCP server address only crosses network segments when explicitly routed. If your network has multiple segments, you must configure a DHCP relay agent on the router interface for each segment, so that all DHCP solicit messages can be forwarded to your DHCP server.

The destination server interface must be specified when the DHCPv6 destination server address is either link-local or multicast IPv6. Specifying an interface is not required if the DHCPv6 destination server address is a global address.

The global address can be explicitly configured using the global option.

Use the VRF option to Specify a VRF routing table to use for route lookup.

The no option for this command removes the specified DHCPv6 destination server address.

Examples

This example sets the DHCPv6 destination server address to the link-local address fe80::21f:45ff:fe5b:f5cf and specifies VLAN 100 as the destination server interface:

System(su-config)->interface vlan 50
System(su-config-intf-vlan.0.50)->ipv6 dhcp relay destination fe80::21f:45ff:fe5b:f5cf vlan.0.100
System(su-config-intf-vlan.0.50)->

This example sets the DHCPv6 destination server address to 2001:2010::00aa:

System(su-config)->interface vlan 50
System(su-config-intf-vlan.0.50)->ipv6 dhcp relay destination 2001:2010::00aa
System(su-config-intf-vlan.0.50)->