Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

show security policies zone-context

Syntax

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.

  • Range: 1 through 65535

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.

  • Range: 1 through 65535

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.

Table 1: show security zone-context Output Fields

Field Name

Field Description

From zone

Name or ID of the source zone of the traffic.

To zone

Name or ID of the destination zone of the traffic.

Policy count

Number of hits for each security policy.

Tenant

Name of the tenant system.

Sample Output

show security policies zone-context tenant TN1

show security policies zone-context tenant all

Release Information

Command introduced in Junos OS Release 8.5.

The tenant option is introduced in Junos OS Release 18.3R1.