-
protocols {
-
-
bgp {
- ... bgp-configuration ...
- }
-
-
isis {
- ... isis-configuration ...
- }
-
- ldp {
- ... ldp-configuration ...
- }
-
- msdp {
- ... msdp-configuration ...
- }
-
- mstp {
- ... mstp-configuration ...
- }
-
-
ospf {
- domain-id domain-id;
- domain-vpn-tag number;
- route-type-community (iana | vendor);
- ... ospf-configuration ...
- }
-
- ospf3 {
- domain-id domain-id;
- domain-vpn-tag number;
- route-type-community (iana | vendor);
- ... ospf3-configuration ...
- }
-
- pim {
- ... pim-configuration ...
- }
-
-
rip {
- ... rip-configuration ...
- }
-
- ripng {
- ... ripng-configuration ...
- }
-
- rstp {
-
rstp-configuration;
- }
-
- vstp {
-
vstp configuration;
- }
- }
- [edit logical-systems logical-system-name routing-instances routing-instance-name],
- [edit routing-instances routing-instance-name]
Statement introduced before JUNOS Release 7.4.
Support for RIPng introduced in JUNOS Release 9.0.
Specify the protocol for a routing instance. You can configure multiple instances of the following supported protocols: BGP, IS-IS, LDP, MSDP, OSPF, OSPFv3, PIM, RIP, and RIPng.
bgp—Specify the Border Gateway Protocol (BGP) for a routing instance. For a description of the BGP configuration statements, see BGP Configuration Guidelines.
isis—Specify the Intermediate System-to-Intermediate System (IS-IS) protocol for a routing instance. For a description of the IS-IS configuration statements, see IS-IS Configuration Guidelines.
ldp—Specify the Label Distribution Protocol (LDP) for a routing instance. For more information about configuring LDP, see the JUNOS MPLS Applications Configuration Guide.
msdp—Specify the Multicast Source Discovery Protocol (MSDP) for a routing instance. For more information about configuring MSDP, see the JUNOS Multicast Protocols Configuration Guide.
mstp—Specify the Multiple Spanning Tree Protocol (MSTP) for a virtual swtich routing instance. For more information about configuring MSTP, see the JUNOS MX-series Layer 2 Configuration Guide.
ospf—Specify the Open Shortest Path First (OSPF) protocol for a routing instance. For a description of the OSPF configuration statements, see OSPF Configuration Guidelines.
ospf3—Specify the Open Shortest Path First version 3 (OSPFv3)protocol for a routing instance. For a description of the OSPFv3 configuration statements, see OSPF Configuration Guidelines.
![]() |
Note: OSPFv3 supports the no-forwarding and vrf routing instance types only. |
pim—Specify the Protocol Independent Multicast (PIM) protocol for a routing instance. For more information about configuring PIM, see the JUNOS Multicast Protocols Configuration Guide.
rip—Specify the Routing Information Protocol (RIP) for a routing instance. For a description of the RIP configuration statements, see RIP Configuration Guidelines.
ripng—Specify the Routing Information Protocol next generation (RIPng) for a routing instance. For a description of the RIPng configuration statements, see RIPng Configuration Guidelines.
rstp—Specify the Rapid Spanning Tree Protocol (RSTP) for a virtual switch routing instance. For information about configuring RSTP, see the JUNOS MX-series Layer 2 Configuration Guide.
vstp—Specify the VLAN Spanning Tree Protocol (VSTP) for a virtual switch routing instance. for information about configuring VSTP, see the JUNOS MX-series Layer 2 Configuration Guide.
SeeConfiguring Multiple Instances of BGP, Configuring Multiple Instances of IS-IS, Configuring Multiple Instances of LDP, Configuring Multiple Instances of MSDP, Configuring Multiple Instances of OSPF, Configuring Multiple Instances of PIM, and Configuring Multiple Instances of RIP.
routing—To view this statement in the configuration.
routing-control—To add this statement to the configuration.