[an error occurred while processing this directive][an error occurred while processing this directive]



preferred-source-address address;

Hierarchy Level

[edit dynamic-profiles interfaces interface-name unit logical-unit-number family family unnumbered-address interface-name],[edit dynamic-profiles profile-name interfaces demux0 unit logical-unit-number family family],

Release Information

Statement introduced in JUNOS Release 9.2.

Support for the $junos-preferred-source-address predefined variable added in JUNOS Release 9.6.


For unnumbered Ethernet interfaces configured with a loopback interface as the donor interface, specify one of the loopback interface’s secondary addresses as the preferred source address for the unnumbered Ethernet interface. Configuring the preferred source address enables you to use an IP address other than the primary IP address on some of the unnumbered Ethernet interfaces in your network. To configure the preferred source address dynamically, include the $junos-preferred-source-address predefined variable.

Configuration of a preferred source address for unnumbered Ethernet interfaces is supported for IPv4 and IPv6 address families.


address—Secondary IP address of the donor loopback interface. Use the $junos-preferred-source-address dynamic variable to dynamically apply a preferred source address to the unnumbered Ethernet interface.

Required Privilege Level

interface—To view this statement in the configuration.

interface-control—To add this statement to the configuration.

Published: 2010-04-15

[an error occurred while processing this directive]