Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    show policy conditions

    Syntax

    show policy conditions<condition-name><detail><dynamic><logical-system (all | logical-system-name)>

    Syntax (EX Series Switches)

    show policy conditions<condition-name><detail><dynamic>

    Release Information

    Command introduced in Junos OS Release 9.0.

    Command introduced in Junos OS Release 9.0 for EX Series switches.

    Description

    Display all the configured conditions as well as the routing tables with which the configuration manager is interacting. If the detail keyword is included, the output also displays dependent routes for each condition.

    Options

    none
    —

    Display all configured conditions and associated routing tables.

    condition-name
    —

    (Optional) Display information about the specified condition only.

    detail
    —

    (Optional) Display the specified level of output.

    dynamic
    —

    (Optional) Display information about the conditions in the dynamic database.

    logical-system (all | logical-system-name)
    —

    (Optional) Perform this operation on all logical systems or on a particular logical system.

    Required Privilege Level

    view

    List of Sample Output

    show policy conditions detail

    Output Fields

    Table 1 lists the output fields for the show policy conditions command. Output fields are listed in the approximate order in which they appear.

    Table 1: show policy conditions Output Fields

    Field Name

    Field Description

    Level of Output

    Condition

    Name of configured condition.

    All levels

    event

    Condition type. If the if-route-exists option is configured, the event type is: Existence of a route in a specific routing table.

    All levels

    Dependent routes

    List of routes dependent on the condition, along with the latest generation number.

    detail

    Condition tables

    List of routing tables associated with the condition, along with the latest generation number and number of dependencies.

    All levels

    If-route-exists conditions

    List of conditions configured to look for a route in the specified table.

    All levels

    Sample Output

    show policy conditions detail

    user@host> show policy conditions detail
    Configured conditions:
    Condition cond1, event: Existence of a route in a specific routing table
    Dependent routes:
     4.4.4.4/32, generation 3
     6.6.6.6/32, generation 3
     10.10.10.10/32, generation 3
    
    Condition cond2, event: Existence of a route in a specific routing table
    Dependent routes:
    None
    
    Condition tables:
    Table inet.0, generation 4, dependencies 3, If–route-exists conditions: cond1 (static) cond2 (static)

    Published: 2013-03-14