Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


show policy conditions


Syntax (EX Series Switches)


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.



Display all configured conditions and associated routing tables.


(Optional) Display information about the specified condition only.


(Optional) Display the specified level of output.


(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


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


Name of configured condition.

All levels


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.


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

Release Information

Command introduced in Junos OS Release 9.0.