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 services policies

date_range 19-Nov-23

Syntax

content_copy zoom_out_map
show services policies

Description

Display services policy information.

Required Privilege Level

view

Output Fields

Table 1 lists the output fields for the show services policies command. Fields are listed in the approximate order in which they appear.

Table 1: show services policies Output Fields

Field Name

Description

Default policy

Policy

Name of the applicable policy.

State

Status of the policy:

  • enabled: The policy can be used in the policy lookup process, which determines access rights for a packet and the action taken in regard to it.

  • disabled: The policy cannot be used in the policy lookup process, and therefore it is not available for access control.

Index

Internal number associated with the policy.

Scope policy

Sequence number

Number of the policy within a given context. For example, three policies that are applicable in a from-zoneA-to-zoneB context might be ordered with sequence numbers 1,2,3. Also, in a from-zoneC-to-zoneD context, four policies might have sequence numbers 1,2,3,4.

Stateful firewall rule

 

Service set

Name of the service set.

Interface

Name of the interface.

Match direction

Source addresses

Names of the source addresses for a policy. Address sets are resolved to their individual Names of the source addresses for a policy. Address sets are resolved to their individual

Destination addresses

Name of the destination address (or address set as it was entered om the destination zone’s address book.

Application

Sample Output

show services policies

content_copy zoom_out_map
user@host> show services policies
Default policy: deny-all 
  Policy: p1, State: enabled, Index: 1007, Scope Policy: 0, Sequence number: 1 
    Stateful firewall rule: sfw1, Service set: JNPR-NH-SSET, Interface: vms-0/2/0, Match Direction: input 
    Source addresses: any-ipv4 
    Destination addresses: any 
    Applications: junos-ftp 
  Policy: p2, State: enabled, Index: 1008, Scope Policy: 0, Sequence number: 2 
    Stateful firewall rule: sfw1, Service set: JNPR-NH-SSET, Interface: vms-0/2/0, Match Direction: input 
    Source addresses: any 
    Destination addresses: any 
    Applications: any 

Release Information

Command introduced in Junos OS Release 19.3R2.

footer-navigation