ipv6 dhcp relay source-interface (S-, K-Series)

Use this command to specify the source interface of IPv6 DHCP relay forwarded messages.

Syntax

ipv6 dhcp relay source-interface interface
no ipv6 dhcp relay source-interface interface

Parameters

interface Specifies the source interface of relayed messages. Defaults to the interface the DHCP relay is configured on.

Defaults

None.

Mode

Interface configuration.

Usage

You can configure a global source-interface for the device. The global source interface can be overridden at the interface level. Use the ipv6 dhcp relay source-interface command in global configuration mode to configure a global source interface or in interface configuration mode to override the global source interface configuration for the specified interface.

The no ipv6 dhcp relay source-interface command resets the source interface of IPv6 DHCP relay forwarded messages to the interface the DHCP relay is configured on.

Example

This example sets the source interface for IPv6 DHCP relayed messages to loopback interface 1:

System(su-config)->interface vlan 50
System(su-config-intf-vlan.0.50)->ipv6 dhcp relay source-interface lpbk.0.1
System(su-config-intf-vlan.0.50)->