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

condition

date_range 14-Nov-24

Syntax

content_copy zoom_out_map
condition name {
    if-route-exists {
        address;
        address-family {
            ccc {
                address;
                peer-unit peer-unit;
                standby;
                table table;
                }
            inet {
                address;
                table table;
                 }
        }
        table table;
        }
    route-active-on (node0 | node1);
    dynamic-db;
 }

Hierarchy Level

content_copy zoom_out_map
[edit dynamic policy-options],
[edit logical-systems logical-system-name policy-options],
[edit policy-options]

Description

Define a policy condition based on the existence of routes in specific tables for use in BGP export policies.

Options

name

Name to identify Condition

route-active-on

Route is active on a specific node

  • node0—Route active on node 0

  • node1—Route active on node 1

The remaining statements are explained separately. See CLI Explorer.

Required Privilege Level

routing—To view this statement in the configuration.

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

Release Information

Statement introduced in Junos OS Release 9.0.

Support for configuration in the dynamic database introduced in Junos OS Release 9.5.

Support for configuration in the dynamic database introduced in Junos OS Release 9.5 for EX Series switches.

Support for the address families introduced in Junos OS Release 13.2.

footer-navigation