home

Supported platforms

Vyatta NOS documentation

Learn how to install, configure, and operate Vyatta Network Operating System (Vyatta NOS), which helps to drive our virtual networking and physical platforms portfolio.

show zone-policy

Displays the security zone policy for a security zone or security zone policies for all security zones.

show zone-policy [ zone zone ]

Security zone policies for all security zones are displayed.

zone zone
The name of a security zone.

Operational mode

Use this command to display the security zone policy for a security zone or security policies for all security zones.

The following example shows how to display security zone policies for all security zones on the R1 router.


vyatta@R1:~$ show zone-policy
-------------------
Name: LAN1
Interfaces: dp0p256p1
To Zone:
  name                                    firewall
  ----                                    --------
  LAN2                                    fw_1
-------------------
Name: LAN2
Interfaces: dp0p192p1
To Zone:
  name                                    firewall
  ----                                    --------
  LAN1                                    fw_2

The following example shows how to display security zone policies for a specific security zone (inside) on the R1 router.


vyatta@R1:~$ show zone-policy zone inside
-------------------
Name: inside *description*
Interfaces: peth0 peth1 peth2 peth3

To Zone:
  name                                    firewall                                
  ----                                    --------                                
  outside                                 local-to-inside local-to-inside-6