Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

show security zones

date_range 23-Nov-23

Syntax

content_copy zoom_out_map
show security zones
<zone-name>
<all-logical-systems-tenants>
<detail>
<logical-system (logical-system-name | all)>
<root-logical-system>
<tenant (tenant-name | all)>
<terse>
<type (functional | security)>

Description

This command displays the information about the security zones. You can define a security zone, which allows you to divide the network into different segments and apply different security options to each segment.

Options

  • none—Displays information about all the security zones configured.

  • zone-name—(Optional) Displays information about the specified security zone.

  • all-logical-systems-tenants—(Optional) Displays the information about the security zone of all logical systems and tenant systems.

  • detail—(Optional) Displays the detail level information about the security zone.

  • logical-system logical-system-name—(Optional) Displays the information about the security zones of a specified logical system.

  • logical-system all—(Optional) Displays the information about the security zones of all logical systems.

  • root-logical-system—(Optional) Displays the information about the security zones of the root logical system.

  • tenant tenant-name—(Optional) Displays the information about the security zones of a specified tenant system.

  • tenant all—(Optional) Displays the information about the security zones of all tenant systems.

  • terse—(Optional) Displays the specified level information about the security zone.

  • type functional—(Optional) Displays the information for functional zones.

  • type security—(Optional) Displays the information for security zones.

Required Privilege Level

view

Output Fields

Table 1 lists the output fields for the show security zones command. Output fields are listed in the approximate order in which they appear.

Table 1: show security zones Output Fields

Field Name

Field Description

Level of Output

Functional zone

Name of the functional zone.

none

Security zone

Name of the security zone.

detail

none

Description

Description of the security zone.

detail

none

Policy configurable

Whether the policy can be configured or not.

detail

none

Interfaces bound

Number of interfaces in the zone.

detail

none

Interfaces

List of the interfaces in the zone.

detail

none

Zone

Name of the zone.

terse

Type

Type of the zone.

terse

Logical system

Name of the logical system.

detail

Tenant

Name of the tenant system.

detail

Screen whitelist

Allowlist for all IP screen options to bypass the IP screening check at zone level.

detail

Sample Output

show security zones

content_copy zoom_out_map
user@host> show security zones
Functional zone: management
   Description: This is the management zone.
   Policy configurable: No
   Interfaces bound: 1
   Interfaces:
     ge-0/0/0.0
Security zone: Host
   Description: This is the host zone.
   Send reset for non-SYN session TCP packets: Off
   Policy configurable: Yes
   Interfaces bound: 1
   Interfaces:
     fxp0.0
Security zone: abc
   Description: This is the abc zone.
   Send reset for non-SYN session TCP packets: Off
   Policy configurable: Yes
   Interfaces bound: 1
   Interfaces:
     ge-0/0/1.0
Security zone: def
   Description: This is the def zone.
   Send reset for non-SYN session TCP packets: Off
   Policy configurable: Yes
   Interfaces bound: 1
   Interfaces:
     ge-0/0/2.0

show security zones abc

content_copy zoom_out_map
user@host> show security zones abc
Security zone: abc
   Description: This is the abc zone.
   Send reset for non-SYN session TCP packets: Off
   Policy configurable: Yes
   Interfaces bound: 1
   Interfaces:
     ge-0/0/1.0

show security zones all-logical-systems-tenants

content_copy zoom_out_map
user@host> show security zones all-logical-systems-tenants

Logical system: root-logical-system

Security zone: HOST
  Send reset for non-SYN session TCP packets: Off
  Policy configurable: Yes  
  Interfaces bound: all
  Interfaces:

Security zone: junos-host
  Send reset for non-SYN session TCP packets: Off
  Policy configurable: Yes  
  Interfaces bound: 0
  Interfaces:

Logical system: LSYS1

Security zone: z1
  Send reset for non-SYN session TCP packets: Off
  Policy configurable: Yes  
  Interfaces bound: 0
  Interfaces:

Logical system: TSYS1

Security zone: z3a
  Send reset for non-SYN session TCP packets: Off
  Policy configurable: Yes  
  Interfaces bound: 0
  Interfaces:

Security zone: z3b
  Send reset for non-SYN session TCP packets: Off
  Policy configurable: Yes  
  Interfaces bound: 0
  Interfaces:

Security zone: z3c
  Send reset for non-SYN session TCP packets: Off
  Policy configurable: Yes  
  Interfaces bound: 0
  Interfaces:

show security zones abc detail

content_copy zoom_out_map
user@host> show security zones abc detail
Security zone: abc
   Description: This is the abc zone.
   Send reset for non-SYN session TCP packets: Off
   Policy configurable: Yes
   Interfaces bound: 1
   Interfaces:
     ge-0/0/1.0

show security zones logical-system LSYS1

content_copy zoom_out_map
user@host> show security zones logical-system LSYS1

Security zone: z1
  Send reset for non-SYN session TCP packets: Off
  Policy configurable: Yes  
  Interfaces bound: 0
  Interfaces:

show security zones logical-system all

content_copy zoom_out_map
user@host> show security zones logical-system all

Logical system: root-logical-system

Security zone: HOST
  Send reset for non-SYN session TCP packets: Off
  Policy configurable: Yes  
  Interfaces bound: all
  Interfaces:

Security zone: junos-host
  Send reset for non-SYN session TCP packets: Off
  Policy configurable: Yes  
  Interfaces bound: 0
  Interfaces:

Logical system: LSYS1

Security zone: z1
  Send reset for non-SYN session TCP packets: Off
  Policy configurable: Yes  
  Interfaces bound: 0
  Interfaces:

show security zones root-logical-system

content_copy zoom_out_map
user@host> show security zones root-logical-system

Security zone: HOST
  Send reset for non-SYN session TCP packets: Off
  Policy configurable: Yes  
  Interfaces bound: all
  Interfaces:

Security zone: junos-host
  Send reset for non-SYN session TCP packets: Off
  Policy configurable: Yes  
  Interfaces bound: 0
  Interfaces:

show security zones tenant TSYS1

content_copy zoom_out_map
user@host> show security zones tenant TSYS1

Security zone: z3a
  Send reset for non-SYN session TCP packets: Off
  Policy configurable: Yes  
  Interfaces bound: 0
  Interfaces:

Security zone: z3b
  Send reset for non-SYN session TCP packets: Off
  Policy configurable: Yes  
  Interfaces bound: 0
  Interfaces:

Security zone: z3c
 Send reset for non-SYN session TCP packets: Off
  Policy configurable: Yes  
  Interfaces bound: 0
  Interfaces:

show security zone tenant all

content_copy zoom_out_map
user@host> show security zone tenant all

  Tenant: TSYS1  


  Security zone: Host
  Send reset for non-SYN session TCP packets: Off
  Policy configurable: Yes
  Interfaces bound: 0
  Interfaces:

  Security zone: abc
  Send reset for non-SYN session TCP packets: Off
  Policy configurable: Yes
  Interfaces bound: 0
  Interfaces:xe-0/0/1.0

  Security zone: def
  Send reset for non-SYN session TCP packets: Off
  Policy configurable: Yes
  Interfaces bound: 1
  Interfaces:xe-0/0/3.0

show security zones terse

content_copy zoom_out_map
user@host> show security zones terse
Zone                    Type
my-internal             Security
my-external             Security
dmz                     Security

show security zones type security

content_copy zoom_out_map
user@host> show security zones type security

Security zone: HOST
  Send reset for non-SYN session TCP packets: Off
  Policy configurable: Yes  
  Interfaces bound: all
  Interfaces:

Security zone: junos-host
  Send reset for non-SYN session TCP packets: Off
  Policy configurable: Yes  
  Interfaces bound: 0
  Interfaces:

show security zones TRUST

content_copy zoom_out_map
user@host> show security zones TRUST
Security zone: TRUST
  Send reset for non-SYN session TCP packets: Off
  Policy configurable: Yes  
  Interfaces bound: 0
  Interfaces:
xe-7/0/3.0
  unidirectional-session-refreshing: Yes

show security zones (Screen allowlist)

content_copy zoom_out_map
user@host> show security zones
Logical system: root-logical-system

Security zone: trust
  Zone ID: 7
  Send reset for non-SYN session TCP packets: Off
  Policy configurable: Yes  
  Screen: jscreen  
  Screen whitelist: 2
    a1
    a2
  Interfaces bound: 3
  Interfaces:
ge-0/0/2.0
  Advanced-connection-tracking timeout: 1800
  Unidirectional-session-refreshing: No

Release Information

Command introduced in Junos OS Release 8.5.

tenant option introduced in Junos OS Release 18.3R1.

footer-navigation