[Contents] [Prev] [Next] [Index] [Report an Error]

show policy conditions

Syntax

show policy conditions
<condition-name>
<detail>

Release Information

Command introduced in JUNOS 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

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.

Required Privilege Level

view

List of Sample Output

show policy conditions detail

Output Fields

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

Table 125: 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

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 cond2

[Contents] [Prev] [Next] [Index] [Report an Error]