- show policy
- <logical-system (all | logical-system-name)>
- <policy-name>
Command introduced before JUNOS Release 7.4.
Display information about configured routing policies.
none — List the names of all configured routing policies.
logical-system (all | logical-system-name) — (Optional) Perform this operation on all logical systems or on a particular logical system.
policy-name — (Optional) Show the contents of the specified policy.
view
Table 124 lists the output fields for the show policy command. Output fields are listed in the approximate order in which they appear.
Table 124: show policy Output Fields
|
Field Name |
Field Description |
|---|---|
|
policy-name |
Name of the policy listed. |
|
term |
Policy term listed. |
|
from |
Match condition for the policy. |
|
then |
Action for the policy. |
user@host> show policy
Configured policies: __vrf-export-red-internal__ __vrf-import-red-internal__ red-export all_routes
user@host> show policy test-statics
Policy test-statics:
from
3.0.0.0/8 accept
3.1.0.0/16 accept
then reject
user@host> show policy test-statics
Policy test-statics:
from
multicast-scoping == 8