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



route-distinguisher (as-number:number | ip-address:number);

Hierarchy Level

[edit logical-systems logical-system-name routing-instances routing-instance-name],[edit routing-instances routing-instance-name]

Release Information

Statement introduced before JUNOS Release 7.4.


Specify an identifier attached to a route, enabling you to distinguish to which VPN the route belongs. Each routing instance must have a unique route distinguisher associated with it. The route distinguisher is used to place bounds around a VPN so that the same IP address prefixes can be used in different VPNs without having them overlap. If the instance type is vrf, the route-distinguisher statement is required.


as-number:numberas-number is an assigned AS number and number is any 2-byte for 4-byte value. The AS number can be from 1 through 4,294,967,295. If the AS number is a 2-byte value, the administrative number is a 4-byte value. If the AS number is 4-byte value, the administrative number is a 2-byte value.

Note: In JUNOS Release 9.1 and later, the numeric range for AS numbers is extended to provide BGP support for 4-byte AS numbers, as defined in RFC 4893, BGP Support for Four-octet AS Number Space.

In JUNOS Release 9.2 and later, you can also configure a 4-byte AS number using the AS-dot notation format of two integer values joined by a period: <16-bit high-order value in decimal>.<16-bit low-order value in decimal>. For example, the 4-byte AS number of 65,546 in plain-number format is represented as 1.10 in the AS-dot notation format.

ip-address:numberip-address is an IP address in your assigned prefix range (a 4-byte value) and number is any 2-byte value.

Required Privilege Level

routing—To view this statement in the configuration.

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

Published: 2010-04-22

[an error occurred while processing this directive]