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