Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    site-preference (Layer 2 Circuits)

    Syntax

    site-preference preference-value {backup;primary;}

    Hierarchy Level

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

    Release Information

    Statement introduced in Junos OS Release 9.1.

    Description

    Specify the preference value advertised for a particular Layer 2 VPN site. The site preference value is encoded in the BGP local preference attribute. When a PE router receives multiple advertisements with the same VE identifier, the advertisement with the highest local preference value is preferred. You can use this statement to enable multihoming for Layer 2 VPNs.

    Options

    preference-value—Specify the preference value advertised for a Layer 2 VPN.

    Range: 1 through 65,535

    backup—Set the preference value to 1.

    primary—Set the preference value to 65,535.

    Required Privilege Level

    routing—To view this statement in the configuration.

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

    Published: 2013-02-28