Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

protocols

 

Syntax

Hierarchy Level

Release Information

Statement introduced before Junos OS Release 7.4.

Support for RIPng introduced in Junos OS Release 9.0.

Statement introduced in Junos OS Release 11.1 for EX Series switches.

Statement introduced in Junos OS Release 11.3 for the QFX Series.

mpls and rsvp options added in Junos OS Release 15.1.

Statement introduced in Junos OS Release 14.1X53-D20 for the OCX Series.

Description

Specify the protocol for a routing instance. You can configure multiple instances of many protocol types. Not all protocols are supported on the switches. See the switch CLI.

Options

bgpSpecify BGP as the protocol for a routing instance.
isisSpecify IS-IS as the protocol for a routing instance.
ldpSpecify LDP as the protocol for a routing instance or for a virtual router instance.
l2vpnSpecify Layer 2 VPN as the protocol for a routing instance.
mplsSpecify MPLS as the protocol for a routing instance.
msdpSpecify the Multicast Source Discovery Protocol (MSDP) for a routing instance.
mstpSpecify the Multiple Spanning Tree Protocol (MSTP) for a virtual switch routing instance.
ospfSpecify OSPF as the protocol for a routing instance.
ospf3Specify OSPF version 3 (OSPFv3) as the protocol for a routing instance.
Note

OSPFv3 supports the no-forwarding, virtual-router, and vrf routing instance types only.

pimSpecify the Protocol Independent Multicast (PIM) protocol for a routing instance.
ripSpecify RIP as the protocol for a routing instance.
ripngSpecify RIP next generation (RIPng) as the protocol for a routing instance.
rstpSpecify the Rapid Spanning Tree Protocol (RSTP) for a virtual switch routing instance.
rsvpSpecify the RSVP for a routing instance.
vstpSpecify the VLAN Spanning Tree Protocol (VSTP) for a virtual switch routing instance.
vplsSpecify VPLS as the protocol for a routing instance.

Required Privilege Level

routing—To view this statement in the configuration.

routing-control—To add this statement to the configuration.