Navigation
Supported Platforms
protocols
Syntax
protocols {bgp {disable;accept-remote-nexthop;advertise-external <conditional>;advertise-inactive;(advertise-peer-as | no-advertise-peer-as);authentication-algorithm (aes-128-cmac-96 | hmac-sha-1-96 | md5);authentication-key key;authentication-key-chain key-chain;bfd-liveness-detection {authentication {algorithm (keyed-md5 | keyed-sha-1 | meticulous-keyed-md5 | meticulous-keyed-sha-1 | simple-password);key-chain key-chain-name;loose-check;}detection-time {threshold milliseconds;}hold-down-interval milliseconds;minimum-interval milliseconds;minimum-receive-interval milliseconds;multiplier number;no-adaptation;session-mode (automatic | multihop | single-hop);transmit-interval {minimum-interval milliseconds;threshold milliseconds;}version (1 | automatic);}cluster cluster-identifier;damping;description text-description;export [ policy-names ];family family-name {... the family subhierarchies appear after the main [edit protocols bgp] hierarchy ...}graceful-restart {disable;restart-time seconds;stale-routes-time seconds;}group group-name {... the group subhierarchy appears after the main [edit protocols bgp] hierarchy ...}hold-time seconds;import [ policy-names ];include-mp-next-hop;keep (all | none);local-address address;local-as autonomous-system <loops number> < alias> <private>;local-preference local-preference;log-updown;metric-out (metric | igp (delay-med-update | offset) | minimum-igp offset);mtu-discovery;multihop {no-nexthop-change;ttl ttl-value;}no-aggregator-id;no-client-reflect;out-delay seconds;outbound-route-filter {bgp-orf-cisco-mode;prefix-based {accept {inet;inet6;}}}passive;path-selection {always-compare-med;as-path-ignore;cisco-non-deterministic;external-router-id;med-plus-igp {igp-multiplier number;med-multiplier number;}}peer-as autonomous-system;preference preference;remove-private;tcp-mss segment-size;traceoptions {file filename <files number> <size maximum-file-size> <world-readable | no-world-readable>;flag flag <flag-modifier> <disable>;}}dcbx {disable;interface (interface-name | all) {disable;application-map application-map-name;applications {no-auto-negotiation;}enhanced-transmission-selection {no-auto-negotiation;recommendation-tlv {no-auto-negotiation;}}mode (auto-negotiate | ieee-dcbx | dcbx-version-1.01);priority-flow-control {no-auto-negotiation;}}}iccp {authentication-key string;local-ip-addr local-ip-addr;peer ip-address{authentication-key string;backup-liveness-detection {backup-peer-ip ip-address;}liveness-detection {detection-time {threshold milliseconds;} minimum-intervalmilliseconds;minimum-receive-interval milliseconds;multiplier number;no-adaptation;transmit-interval {minimum-interval milliseconds;threshold milliseconds;}version (Liveness Detection) (1 | automatic);}local-ip-addr ipv4-address;session-establishment-hold-time seconds;}session-establishment-hold-time seconds;traceoptions {file <filename> <files number> <match regular-expression> <microsecond-stamp> <size size> <world-readable | no-world-readable>;flag flag;no-remote-trace;}}igmp-snooping {traceoptions {file filename <files number> <size size> <world-readable | no-world-readable> <match regex>;flag flag (detail | disable | receive | send);}vlan vlan-name {disable {interface interface-name;}interface interface-name {group-limit limit;multicast-router-interface;static {group ip-address;}}robust-count number;}}isis {disable;export [ policy-names ];ignore-attached-bit;interface interface-name {bfd-liveness-detection {authentication {algorithm (keyed-md5 | keyed-sha-1 | meticulous-keyed-md5 | meticulous-keyed-sha-1 | simple-password);key-chain key-chain-name;loose-check;}detection-time {threshold milliseconds;}minimum-interval milliseconds;minimum-receive-interval milliseconds;multiplier number;no-adaptation;transmit-interval {minimum-interval milliseconds;threshold milliseconds;}version (1 | automatic);}checksum;csnp-interval (seconds | disable);disable;hello-padding (adaptive | loose | strict);level (1 | 2) {disable;hello-authentication-key key;hello-authentication-type authentication;hello-interval seconds;hold-time seconds;ipv4-multicast-metric number;metric metric;passive;priority number;}lsp-interval milliseconds;mesh-group (value | blocked);no-ipv4-multicast;no-unicast-topology;passive;point-to-point;}level (1 | 2) {disable;authentication-key key;authentication-type authentication;external-preference preference;no-csnp-authentication;no-hello-authentication;no-psnp-authentication;preference preference;prefix-export-limit number;wide-metrics-only;}loose-authentication-check;lsp-lifetime seconds;max-areas number;no-adjacency-holddown;no-authentication-check;no-ipv4-routing;overload {advertise-high-metrics;timeout seconds;}reference-bandwidth reference-bandwidth;rib-group {inet group-name;}topologies {ipv4-multicast;}traceoptions {file filename <files number> <size maximum-file-size> <world-readable | no-world-readable>;flag flag <flag-modifier> <disable>;}traffic-engineering {disable;family inet {shortcuts {multicast-rpf-routes:}}}} lldp { disable;advertisement-interval seconds;hold-multiplier number;interface (LLDP) (all | interface-name) { disable;} traceoptions {file filename <files number> <size size> <world-readable | no-world-readable> <match regex>;flag flag (detail | disable | receive | send);}} mstp { disable; bpdu-timeout-action; bridge-priority priority; configuration-name (MSTP) name; forward-delay seconds; hello-time seconds; interface (all | interface-name) { disable; bpdu-timeout-action { block; alarm;} cost cost; edge; mode mode; no-root-port; priority priority;} max-age seconds; max-hops hops; msti msti-id { vlan (vlan-id | vlan-name); interface interface-name { disable; cost cost; edge; mode mode; priority priority;}} revision-level revision-level; traceoptions {file filename <files number > <size size> <no-stamp | world-readable | no-world-readable>;flag flag;}}ospf {disable;area area-id {area-range ip-prefix</prefix-length> <exact> <override-metric metric> <restrict>;context-identifier identifierinterface interface-name {disable;authentication {md5 key-id key key-string <start-time YYYY-MM-DD.hh:mm>;simple-password key-string;}bandwidth-based-metrics {bandwidth value metric number;}bfd-liveness-detection {authentication {algorithm (keyed-md5 | keyed-sha-1 | meticulous-keyed-md5 | meticulous-keyed-sha-1 | simple-password);key-chain key-chain-name;loose-check;}detection-time {threshold milliseconds;}full-neighbors-only;minimum-interval milliseconds;minimum-receive-interval milliseconds;multiplier number;no-adaptation;transmit-interval {minimum-interval milliseconds;threshold milliseconds;}version (1 | automatic);}dead-interval seconds;dynamic-neighbors;flood-reduction;hello-interval seconds;interface-type (nbma | p2mp | p2p);metric metric;neighbor address <eligible>;no-eligible-backup;no-interface-state-traps;no-neighbor-down-notification;passive {traffic-engineering {remote-node-id address;}}poll-interval seconds;priority number;retransmit-interval seconds;secondary;te-metric metric;topology (name | default | ipv4-multicast) {disable;bandwidth-based-metrics {bandwidth value;metric number;}metric metric;}transit-delay seconds;}network-summary-export [ policy-names ];network-summary-import [ policy-names ];nssa {area-range ip-prefix</prefix-length> <exact> <override-metric metric> <restrict>;default-lsa {default-metric metric;metric-type type;type-7;}(summaries | no-summaries);}stub <default-metric metric> <summaries | no-summaries>;virtual-link neighbor-id router-id transit-area area-id {disable;authentication {md5 key-id key key-string <start-time YYYY-MM-DD.hh:mm>;simple-password key-string;}dead-interval seconds;demand-circuit;flood-reduction;hello-interval seconds;ipsec-sa sa-name;no-neighbor-down-notification;retransmit-interval seconds;topology (name | default | ipv4-multicast) {disable;metric metric;}transit-delay seconds;}}database-protection {ignore-count number;ignore-time seconds;maximum-lsa number;reset-time seconds;warning-only;warning-threshold percent;}export [ policy-names ];external-preference preference;graceful-restart {disable;helper-disable <both | restart-signaling | standard>;no-strict-lsa-checking;notify-duration seconds;restart-duration seconds;}import [ policy-names ];no-nssa-abr;no-rfc-1583;overload <timeout seconds>;preference preference;prefix-export-limit number;reference-bandwidth reference-bandwidth;rib-group group-name;topology (default | ipv4-multicast | name) {overload;prefix-export-limit number;topology-id number;}traceoptions {file filename <files number> <size maximum-file-size> <world-readable | no-world-readable>;flag flag <flag-modifier> <disable>;}traffic-engineering {advertise-unnumbered-interfaces;credibiliity-protocol-preference;ignore-lsp-metrics;multicast-rpf-routes;no-topology;shortcuts <lsp-metric-into-summary>;}}pim {disable;assert-timeout seconds;dense-groups {addresses;}dr-election-on-p2p;export;family (inet | inet6) {disable;}graceful-restart {disable;restart-duration seconds;}import [ policy-names ];interface interface-name {accept-remote-source;disable;family (inet | inet6) {disable;}hello-interval seconds;mode (dense | sparse | sparse-dense);neighbor-policy [ policy-names ];override-interval milliseconds;priority number;propagation-delay milliseconds;reset-tracking-bit;version version;}join-load-balance;join-prune-timeout;nonstop-routing;override-interval milliseconds;propagation-delay milliseconds;reset-tracking-bit;rib-group group-name;rp {auto-rp {(announce | discovery | mapping);(mapping-agent-election | no-mapping-agent-election);}bootstrap {family (inet | inet6) {export [ policy-names ];import [ policy-names ];priority number;}}bootstrap-import [ policy-names ];bootstrap-export [ policy-names ];bootstrap-priority number;dr-register-policy [ policy-names ];embedded-rp {group-ranges {destination-ip-prefix</prefix-length>;}maximum-rps limit;}local {family (inet | inet6) {address address;anycast-pim {disable;rp-set {address address <forward-msdp-sa>;}local-address address;}group-ranges {destination-ip-prefix</prefix-length>;}hold-time seconds;priority number;}}rp-register-policy [ policy-names ];spt-threshold {infinity [ policy-names ];}static {address address {group-ranges {version version;destination-ip-prefix</prefix-length>;}}}}rpf-selection {group group-address{source source-address{next-hop next-hop-address;}wildcard-source {next-hop next-hop-address;}}prefix-list prefix-list-addresses {source source-address {next-hop next-hop-address;}wildcard-source {next-hop next-hop-address;}}traceoptions {file filename <files number> <size size> <world-readable | no-world-readable>;flag flag <flag-modifier> <disable>;}tunnel-devices [ mt-fpc/pic/port ];}rip {authentication-key password;authentication-type type;(check-zero | no-check-zero);group group-name {bfd-liveness-detection {authentication {algorithm (keyed-md5 | keyed-sha-1 | meticulous-keyed-md5 | meticulous-keyed-sha-1 | simple-password);key-chain key-chain-name;loose-check;}detection-time {threshold milliseconds;}minimum-interval milliseconds;minimum-receive-interval milliseconds;multiplier number;no-adaptation;transmit-interval {minimum-interval milliseconds;threshold milliseconds;}version (1 | automatic);}export [ policy-names ];import [ policy-names ];metric-out metric;neighbor neighbor-name {any-sender;authentication-key password;authentication-type type;bfd-liveness-detection {... same statements as at the [edit protocols rip group group-name bfd-liveness-detection] hierarchy level ...}(check-zero | no-check-zero);import [ policy-names ];message-size number;metric-in metric;receive (both | none | version-1 | version-2);route-timeout seconds;send (broadcast | multicast | none | version-1);update-interval seconds;}preference preference;route-timeout seconds;update-interval seconds;}holddown seconds;import [ policy-names ];message-size number;metric-in metric;receive (both | none | version-1 | version-2);rib-group group-name;route-timeout seconds;send (broadcast | multicast | none | version-1);traceoptions {file filename <files number> <size maximum-file-size> <world-readable | no-world-readable>;flag flag <flag-modifier> <disable>;}update-interval seconds;} rstp { disable; bpdu-block-on-edge; bridge-priority priority; forward-delay seconds; hello-time seconds; interface (all | interface-name) { disable; bpdu-timeout-action { alarm; block;} cost cost; edge; mode mode; no-root-port; priority priority;} max-age seconds;} traceoptions {file filename <files number > <size size> <no-stamp> <world-readable | no-world-readable>;flag flag;}} stp { disable; bridge-priority priority; forward-delay seconds; hello-time seconds; interface (all | interface-name) { disable; bpdu-timeout-action { alarm; block;} cost cost; edge; mode mode; no-root-port; priority priority;} max-age seconds;} traceoptions {file filename <files number > <size size> <no-stamp | world-readable | no-world-readable>;flag flag;}uplink-failure-detection {group group-name {link-to-monitor interface-name;link-to-disable interface-name;}}vstp {bpdu-block-on-edge; disable (Spanning Trees);force-version (Spanning Trees) stp;vlan (Spanning Trees) vlan-id { bridge-priority (Spanning Trees) priority; forward-delay (Spanning Trees) seconds; hello-time (Spanning Trees) seconds; interface (Spanning Trees) (all | interface-name) { bpdu-timeout-action (Spanning Trees) { block (Spanning Trees); log (Spanning Trees);} cost (Spanning Trees) cost; disable (Spanning Trees); edge (Spanning Trees); mode (Spanning Trees) mode; no-root-port (Spanning Trees); priority (Spanning Trees) priority;} max-age (Spanning Trees) seconds; traceoptions (Spanning Trees) {file filename <files number > <size size> <no-stamp | world-readable | no-world-readable>;flag flag;}}}}
Hierarchy Level
[edit]
Release Information
Statement introduced in Junos OS Release 11.1 for the QFX Series.
Description
Configure protocols.
The remaining statements are explained separately.
Required Privilege Level
routing—To view this statement in the
configuration.
routing-control—To add this statement
to the configuration.