You can enable BGP to carry Layer 2 VPN and VPLS NLRI messages.
To enable VPN and VPLS signaling, include the family statement:
- family {
-
- l2vpn {
-
- signaling {
-
- prefix-limit {
- maximum number;
- teardown <percentage> <idle-timeout
(forever | minutes)>;
- }
- }
- }
- }
For a list of hierarchy levels at which you can configure this statement, see the statement summary section for this statement.
To configure a maximum number of prefixes, include the prefix-limit statement:
-
prefix-limit {
- maximum number;
- teardown <percentage> <idle-timeout
(forever | minutes)>;
- }
For a list of hierarchy levels at which you can configure this statement, see the statement summary section for this statement.
When you set the maximum number of prefixes, a message is logged when that number is reached. If you include the teardown statement, the session is torn down when the maximum number of prefixes is reached. If you specify a percentage, messages are logged when the number of prefixes reaches that percentage. Once the session is torn down, it is reestablished in a short time. Include the idle-timeout statement to keep the session down for a specified amount of time, or forever. If you specify forever, the session is reestablished only after you use the clear bgp neighbor command.
For more information about VPNs, see the JUNOS VPNs Configuration Guide. For a detailed VPLS example configuration, see the JUNOS Feature Guide.