You can enable BGP to carry Layer 2 VPN and VPLS NLRI messages.
To enable VPN and VPLS signaling, include the
familystatement:family {l2vpn {signaling {prefix-limit {maximumnumber;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-limitstatement:prefix-limit {maximumnumber;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
teardownstatement, 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 theidle-timeoutstatement to keep the session down for a specified amount of time, or forever. If you specifyforever, the session is reestablished only after you use theclear bgp neighborcommand.For more information about VPNs, see the JUNOS VPNs Configuration Guide. For a detailed VPLS example configuration, see the JUNOS Feature Guide.