ipv6 dhcp-relay destination

Enables the IPv6 DHCP relay agent function and specifies the IPv6 address as a destination address to which the client messages are forwarded.

Syntax

ipv6 dhcp-relay destination ipv6-address [ outgoing-interface { ethernet stack/slot/port | tunnel tunnel-id | ve ve-num ]
no ipv6 dhcp-relay destination ipv6-address [ outgoing-interface { ethernet stack/slot/port | tunnel tunnel-id | ve ve-num ]

Command Default

The IPv6 DHCP relay agent function is disabled.

Parameters

ipv6-address
Specifies the IPv6 address as a destination address to which the client messages can be forwarded.
outgoing-interface
Configures the interface on which DHCPv6 packet will be relayed.
ethernet stack/slot/port
Specifies the Ethernet interface on which DHCPv6 packet will be relayed.
tunnel tunnel-id
Specifies the tunnel interface on which DHCPv6 packet will be relayed.
ve ve-num
Specifies the Virtual Ethernet (VE) interface on which DHCPv6 packet will be relayed.

Modes

Interface configuration mode

Usage Guidelines

The no form of the command removes the DHCP relay agent from the interface.

You can configure up to 16 relay destination addresses on an interface.

Examples

The following example enables the DHCPv6 relay agent function and specifies the relay destination (the DHCP server) address on an interface.

device(config)# interface ethernet 1/2/3
device(config-if-e10000-1/2/3)# ipv6 dhcp-relay destination 2001::2
device(config-if-e10000-1/2/3)# ipv6 dhcp-relay destination fe80::224:38ff:febb:e3c0 outgoing-interface ethernet 1/2/5

History

Release version Command history
08.0.10d This command was introduced.
08.0.30 Support for this command was added in 08.0.30 and later releases.