show security policies zone-context
Syntax
show security policies zone-context
application-firewall
count
detail
from-zone <zone-name>
interface
logical-system <logical-system-name>
policy-name
root-logical-system
service-set
start
tenant <tenant-name>
to-zone <zone-name>
Description
Displays the security policy that applies the security
rules to the transit traffic within a context (from-zone to to-zone).
From the perspective of security policies, traffic enters into one
security zone and goes out on another security zone. This combination
of a from-zone
and a to-zone
is defined as a
context. Each context contains an ordered list of policies. The existing
show command for security policies zone-context is enhanced with tenant
support.
Options
application-firewall |
Displays the information of application-firewall. |
count |
Displays the number of policies to show.
|
detail |
Displays the detailed information. |
from-zone |
Displays the policy information matching the given source zone. |
interface |
Displays the name of adaptive services interface. |
logical-system |
Displays the name of the logical system. |
policy-name |
Displays the policy information matching the given policy name. |
root-logical-system |
Displays root logical system as default. |
service-set |
Displays the name of service set. |
start |
Displays the policies from a given position.
|
tenant |
Displays the name of the tenant system. |
to-zone |
Displays the policy information matching the given destination zone. |
Required Privilege Level
view
Output Fields
Table 1 lists the output
fields for the show security policies zone-context
command.
Output fields are listed in the approximate order in which they appear.
Field Name |
Field Description |
---|---|
|
Name or ID of the source zone of the traffic. |
|
Name or ID of the destination zone of the traffic. |
|
Number of hits for each security policy. |
|
Name of the tenant system. |
Sample Output
show security policies zone-context tenant TN1
user@host> show security policies zone-context tenant TN1 From zone To zone Policy count z1 z2 1 z2 z3 1
show security policies zone-context tenant all
user@host> show security policies zone-context tenant all Tenant: TN1 From zone To zone Policy count z1 z2 1 Tenant: TN2 From zone To zone Policy count z1 z2 1
Release Information
Command introduced in Junos OS Release 8.5.
The tenant
option is introduced in Junos
OS Release 18.3R1.