Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

protocols

date_range 20-Nov-23

Syntax

content_copy zoom_out_map
protocols {
    bgp {
        ... bgp-configuration ...
    }
    isis {
        ... isis-configuration ...
    }
    ldp {
        ... ldp-configuration ...
    }
    mpls {
        ... mpls -configuration ...
    }
    msdp {
        ... msdp-configuration ...
    }
    mstp {
        ... mstp-configuration ...
    }
    ospf {
        ... ospf-configuration ...
    }
    ospf3 {
        ... ospf3-configuration ...
    }
    pim {
        ... pim-configuration ...
    }
    rip {
        ... rip-configuration ...
    }
    ripng {
        ... ripng-configuration ...
    }
    rstp {
        rstp-configuration;
    }
    rsvp{
        ... rsvp-configuration ...
    }
    vstp {
        vstp configuration;
    }
    vpls {
        vpls configuration;
    }
}

Hierarchy Level

content_copy zoom_out_map
[edit logical-systems logical-system-name routing-instances routing-instance-name],
[edit routing-instances routing-instance-name]

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

bgp

Specify BGP as the protocol for a routing instance.

isis

Specify IS-IS as the protocol for a routing instance.

ldp

Specify LDP as the protocol for a routing instance or for a virtual router instance.

l2vpn

Specify Layer 2 VPN as the protocol for a routing instance.

mpls

Specify MPLS as the protocol for a routing instance.

msdp

Specify the Multicast Source Discovery Protocol (MSDP) for a routing instance.

mstp

Specify the Multiple Spanning Tree Protocol (MSTP) for a virtual switch routing instance.

ospf

Specify OSPF as the protocol for a routing instance.

ospf3

Specify 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.

pim

Specify the Protocol Independent Multicast (PIM) protocol for a routing instance.

rip

Specify RIP as the protocol for a routing instance.

ripng

Specify RIP next generation (RIPng) as the protocol for a routing instance.

rstp

Specify the Rapid Spanning Tree Protocol (RSTP) for a virtual switch routing instance.

rsvp

Specify the RSVP for a routing instance.

vstp

Specify the VLAN Spanning Tree Protocol (VSTP) for a virtual switch routing instance.

vpls

Specify 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.

Release Information

Statement introduced before Junos OS Release 7.4.

Support for RIPng introduced in Junos OS Release 9.0.

mpls and rsvp options added in Junos OS Release 15.1.

footer-navigation