Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

show policy conditions

 

Syntax

Syntax (EX Series Switches)

Release Information

Command introduced in Junos OS Release 9.0.

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

noneDisplay 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