site-preference
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 logical-systems logical-system-name routing-instances routing-instance-name protocols vpls site site-name], [edit routing-instances routing-instance-name protocols l2vpn site site-name], [edit routing-instances routing-instance-name protocols vpls site site-name]
Description
Specify the preference value advertised for a particular Layer 2 VPN or VPLS 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 and VPLS.
Options
preference-value
—Specify the preference value advertised for a Layer 2
VPN or VPLS site.
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.
Release Information
Statement introduced before Junos OS Release 7.4.
Statement introduced for Layer 2 VPNs in Junos OS Release 9.1.