ipv6 dhcp relay address

Configures the IPv6 DHCP Relay address on a Layer 3 interface.

Syntax

ipv6 dhcp relay address ipv6-addr [interface interface-type interface-name] [ use-vrf vrf-name ]
no ipv6 dhcp relay address ipv6-addr [interface interface-type interface-name] [ use-vrf vrf-name ]

Parameters

ipv6-addr
IPv6 address of the DHCP server where the DHCP client requests are to be forwarded.
interface
This parameter specifies the outgoing interface, used when the relay address is a link-local or multicast address
interface-type
The type of interface - Ethernet or VE.
interface-name
The interface name or VE ID.
use-vrf
Use this option if the VRF where the DHCP server is located is different from the VRF of the interface where the client is connected.
vrf-name
VRF name.

Modes

Interface subtype configuration mode

Usage Guidelines

This command uses the IPv6 address of the DHCP server where the DHCP client requests are to be forwarded. You can configure the address on a virtual Ethernet (VE) or an Ethernet interface. You can configure up to 16 relay destination addresses on an interface.

Enter the command while in interface subtype configuration mode for a VE or Ethernet interface where you want to configure the IPv6 DHCP Relay. Use the no version of this command to remove the IPv6 DHCP Relay from the interface. If the use-vrf option is not used, it is assumed that the DHCP server and interface where the client is connected are on the same VRF.

If the relay address is a link local address or a multicast address, an outgoing interface must be configured for IPv6 relay to function. In instances where the server address is relayed to a different VRF compared to a client connected interface VRF, in addition to the relay address, you must also specify the user-vrf, otherwise IPv6 relay may not function correctly. IPv6 route leaking is also required for IPv6 reachability.

The no form of the command deletes the IPv6 DHCP Relay address from the interface.

Examples

To configure an IPv6 DHCP Relay address on a Ve interface:

device# config
device(config)# interface ve 100
device(config-Ve-100)# ipv6 dhcp relay address 2001::1122:AABB:CCDD:3344 use-vrf blue

To configure an IPv6 DHCP Relay address on an interface:

(config)# interface ethernet 2/3
device(conf-if-eth-2/3)# ipv6 dhcp relay address fe80::224:38ff:febb:e3c0  interface ethernet 2/5