Configuring the VPLS Site Interfaces
You must configure an interface for each of the pseudowires you specify for the VPLS
site.
To configure an interface for the VPLS site, include the interface statement:
interface interface-name {
interface-mac-limit limit;
}
You can include these statements at the following hierarchy levels:
•
[edit routing-instances routing-instance-name protocols vpls site site-name]
•
[edit logical-systems logical-system-name routing-instances routing-instance-name
protocols vpls]
You can also configure a limit on the number of MAC addresses that can be learned from
the specified interface. For more information, see “Limiting the Number of MAC Addresses
Learned from an Interface” on page 1252.
Configuring the VPLS Site Preference
You can specify the local preference value advertised for a particular VPLS site. The site
preference value is specified using the site-preference statement configured at the [edit
routing-instances routing-instance-name protocols vpls site site-name] hierarchy level. By
configuring the site-preference statement, a value configured for the local-preference
statement at the [edit protocols bgp] hierarchy level is ignored by the VPLS routing
instance. However, you can change the site preference value for VPLS routes exported
to other routers by configuring an export policy. When a PE router receives multiple
advertisements with the same VPLS edge (VE) device identifier, the advertisement with
the highest local preference value is preferred.
To configure the VPLS site preference, include the site-preference statement:
site-preference preference-value {
backup;
primary;
}
You can also specify either the backup option or the primary option for the site-preference
statement. The backup option specifies the preference value as 1, the lowest possible
value, ensuring that the VPLS site is the least likely to be selected. The primary option
specifies the preference value as 65,535, the highest possible value, ensuring that the
VPLS site is the most likely to be selected.
For a list of hierarchy levels at which you can include the site-preference statement, see
the statement summary section for this statement.
1245Copyright © 2017, Juniper Networks, Inc.
Chapter 35: Configuring Virtual Private LAN Service