Configuring a BGP Session for MPLS VPNs (CLI Procedure)
![]() | Note: This section is valid for Layer 2 VPNs and Layer 3 VPNs, but not Layer 2 circuits. |
To configure an IBGP session, perform the following steps on each PE router:
Configure BGP.
[edit]user@host# edit protocols bgp group group-nameSet the BGP type to internal.
[edit protocols bgp group group-name]user@host# set type internalSpecify the loopback interface.
[edit protocols bgp group group-name]user@host# set local-address loopback-interface-ip-address- Replace family-type with l2vpn for a Layer 2 VPN or inet–vpn for a Layer 3 VPN.
Set the Layer 2 or Layer 3 VPN family type to unicast.
[edit protocols bgp group group-name]user@host# set family family-type unicast Enter the loopback address of the neighboring PE router.
[edit protocols bgp]user@host# set neighbor ip-addressCommit the configuration if you are finished configuring the device.
[edit]user@host# commit
Related Topics
- Junos OS Feature Support Reference for SRX Series and J Series Devices
- MPLS Layer 2 VPN Configuration Overview
- MPLS Layer 3 VPN Configuration Overview
Hide Navigation Pane
Show Navigation Pane
Download
SHA1
