- site-preference preference-value {
-
- backup;
- primary;
- }
- [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],
Statement introduced in JUNOS Release 9.1.
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.
preference-value—Specify the preference value advertised for a Layer 2 VPN.
backup—Set the preference value to 1.
primary—Set the preference value to 65,535.
See Configuring a Site Preference and Layer 2 VPN Multihoming.
routing—To view this statement in the configuration.
routing-control—To add this statement to the configuration.