show security advanced-policy-based-routing policy-name
Syntax
show security advanced-policy-based-routing policy-name policy-name <count | detail | from-zone |logical-system |root-logical-system | start>
Description
Display a summary of all APBR policies configured on the device.
You can use this command to understand the details of an APBR policy such as:
Name, status, zone-context of the APBR policy.
The number of times the traffic matches the APBR policy and APBR profile applied for the session.
Options
count | Display the number of configured APBR policies.
|
detail | Display a detailed view of all of the APBR policies configured on the device. |
from-zone | Display specific zone details applicable to the APBR policy. |
logical-system | Displaythe logical system name. |
root-logical-system | Display information about the default root-logical-system. |
start | Display the policy from the given position.
|
Required Privilege Level
view
Output Fields
Table 1 lists
the output fields for the show security advanced-policy-based-routing policy-name
command. Output fields are listed in
the approximate order in which they appear.
Field Name |
Field Description |
---|---|
Policy |
Name of the APBR policy. |
State |
Status of the policy. The policy is in one of the following state:
|
Index |
Internal number associated with the policy. |
Sequence Number |
Number of the policy within a given context. For example, three policies that are applicable in a from-zone A-to-zone B context might be ordered with sequence numbers 1, 2, 3. Also, in a from-zone C-to-zone D context, four policies might have sequence numbers 1, 2, 3, 4. |
From zone |
Name of the source zone. |
Source addresses |
The names of the source addresses for a policy. Address sets are resolved to their individual names. |
Destination addresses |
Name of the destination address (or address set) as it was entered in the destination zone’s address book |
Applications |
Name of a preconfigured or custom application whose type the packet matches, as specified at configuration time. |
APBR Profile |
Name of the applicable ABPR profile. |
Table 2 lists the
output fields for the show security advanced-policy-based-routing
detail
command. Output fields are listed in the approximate
order in which they appear.
Field Name |
Field Description |
---|---|
APBR Policy |
Name of the APBR policy. |
State |
Status of the policy. The policy is in one of the following state:
|
Index |
Internal number associated with the policy. |
Sequence Number |
Number of the policy within a given context. For example, three policies that are applicable in a from-zone A-to-zone B context might be ordered with sequence numbers 1, 2, 3. Also, in a from-zone C-to-zone D context, four policies might have sequence numbers 1, 2, 3, 4. |
From zone |
Name of the source zone. |
Source addresses |
The names and corresponding IP addresses of the source addresses for a policy. Address sets are resolved to their individual address name-IP address pairs. |
Destination addresses |
Name of the destination address (or address set) as it was entered in the destination zone’s address book. A packet’s destination address must match this value for the policy to apply to it. |
Applications |
Name of a preconfigured or custom application whose type the packet matches, as specified at configuration time.
|
APBR Profile |
Name of the applicable ABPR profile. |
Table 3 lists
the output fields for the show security advanced-policy-based-routing
from-zone
command. Output fields are listed in the approximate
order in which they appear.
Field Name |
Field Description |
---|---|
From zone |
Name of the source zone. |
Policy count |
Number of APBR policies configured for the zone. |
Table 4 lists the
output fields for the show security advanced-policy-based-routing
hit-count
command. Output fields are listed in the approximate
order in which they appear.
Field Name |
Field Description |
---|---|
Logical system |
Name of the associated logical system. |
Index |
Internal number associated with the policy. |
From zone |
Name of the source zone. |
Name |
Name of the APBR policy. |
Policy count |
Number of hits for each security policy. |
Number of policy |
Number of security policies for which hit counts are displayed. |
Sample Output
- show security advanced-policy-based-routing detail
- show security advanced-policy-based-routing from-zone
- show security advanced-policy-based-routing hit-count
- show security advanced-policy-based-routing policy-name
show security advanced-policy-based-routing detail
user@host> show security advanced-policy-based-routing detail Policy: p1, State: enabled, Index: 4 Sequence number: 1 From zone: trust Source addresses: any-ipv4(global): 0.0.0.0/0 any-ipv6(global): ::/0 Destination addresses: any-ipv4(global): 0.0.0.0/0 any-ipv6(global): ::/0 Application: any IP protocol: 0, ALG: 0, Inactivity timeout: 0 Source port range: [0-0] Destination port range: [0-0] APBR Profile: apbr-pr1
show security advanced-policy-based-routing from-zone
user@host> show security advanced-policy-based-routing from-zone trust From zone: trust Policy: p1, State: enabled, Index: 4, Sequence number: 1 Source addresses: any Destination addresses: any Applications: any APBR Profile: apbr-pr1 1
show security advanced-policy-based-routing hit-count
user@host> show security advanced-policy-based-routing hit-count Logical system: root-logical-system Index From zone Name Hit count 1 trust p1 0 Number of policy: 1
show security advanced-policy-based-routing policy-name
user@host> show security advanced-policy-based-routing policy-name sla_policy1 From zone: trust APBR Policy: sla_policy1, State: enabled, Index: 7, Sequence number: 1 Source addresses: any Destination addresses: any Applications: any APBR profile: apbr-pr-default
Release Information
Command introduced in Junos OS Release 18.2R1.