To configure a routing instance for BGP, you must include at least the following statements in the configuration.
- [edit]
-
routing-instances {
-
-
routing-instance-name {
-
interface interface-name;
-
instance-type (forwarding | l2vpn |
no-forwarding | virtual-router | vpls | vrf);
-
route-distinguisher (as-number:number | ip-address:number);
-
vrf-import [ policy-names ];
-
vrf-export [ policy-names ];
-
-
protocols {
-
-
bgp {
-
bgp configuration;
- }
- }
- }
- }
For more information about the BGP configuration statements, see BGP Configuration Guidelines. For more information about configuring VPNs, see the JUNOS System Configuration Guide.