show services ip-monitoring status

Syntax

show services ip-monitoring status

Release Information

Command modified in Junos OS Release 11.4 R2. Next-hop functionality added in Junos OS Release 12.1X46-D15.

Description

Display a brief summary of IP monitoring status along with the current state for a given policy.

Required Privilege Level

view

Related Documentation

List of Sample Output

show services ip-monitoring status
show services ip-monitoring status
show services ip-monitoring status
show services ip-monitoring status
show services ip-monitoring status

Output Fields

Table 14 lists the output fields for the show services ip-monitoring status command. Output fields are listed in the approximate order in which they appear.

Table 14: show services ip-monitoring status Output Fields

Field Name

Field Description

Policy

Name of the policy configured.

Probe Name

Name of the probe configured.

Address

Displays the configured target address.

Status

Displays the status of the probe on the target address. If the status is PASS, then the target address is reached.

Route-Action

Displays route injection information configured for the policy and its failover status.

Route-Instance

Displays the routing instance of the route to be injected during failover.

Route

Routing address of the route to be injected during failover.

Next-Hop

Specifies the next-hop address of the route to be injected during failover. P2P interfaces only.

State

Displays the state of the route injection action. If the state is APPLIED, then the ip-monitoring policy is in failover state.

Interface Action

Displays the interface action type as enable or disable.

Policy Action

Displays the policy action type as enable or disable.

Admin State

Displays the current admin state of the interface.

Action Status

Displays the current action status of the interface.

Sample Output

show services ip-monitoring status

user@host> show services ip-monitoring status
Policy - policy1 (Non-preemptive. Status: FAIL)
  RPM Probes:
    Probe name             Test Name       Address          Status
    ---------------------- --------------- ---------------- ---------
    probe_a                a1              15.1.1.10        FAIL
    probe_a                a2              200.1.1.1        FAIL
  Route-Action:
    route-instance    route             next-hop         State
    ----------------- ----------------- ---------------- -------------
    inet.0            200.1.1.0         150.1.1.1        APPLIED
  Interface-Action:
    interface         policy action   admin state action status
    ----------------- --------------- ----------- -----------------
    fe-0/0/5.2        Enable          UP          FAILOVER
    fe-0/0/5.4        Disable         DOWN        FAILOVER
    t1-1/0/0          Enable          UP          FAILOVER
    dl0               Enable          UP          FAILOVER
    ge-0/0/1          Enable          UP          FAILOVER

 

Sample Output

show services ip-monitoring status

In this example, the policy is in the failback state, and the no-preempt option is not configured.

user@host> show services ip-monitoring status
Policy - policy1 (Status: PASS)
  RPM Probes:
    Probe name             Test Name       Address          Status
    ---------------------- --------------- ---------------- ---------
    probe1                 a1              99.1.1.2         PASS     
  Route-Action:
    route-instance    route             next-hop         state
    ----------------- ----------------- ---------------- ------------- 
    inet.0            99.1.1.0          12.12.12.2       NOT-APPLIED  
  Interface-Action:
    interface         policy action   admin state action status
    ----------------- --------------- ----------- -----------------
    at-2/0/0          Enable          DOWN        MARKED-DOWN      
    ge-0/0/2.2        Enable          DOWN        MARKED-DOWN      
    ge-0/0/2.3        Enable          DOWN        MARKED-DOWN        

Sample Output

show services ip-monitoring status

In this example, the policy is in the failover state, and the primary is restored. The no-preempt option is configured.

user@host> show services ip-monitoring status
Policy - policy1 (Non-preemptive. Status: FAILOVER-NO-PREEMPT)
  RPM Probes:
     Probe name             Test Name       Address          Status
    ---------------------- --------------- ---------------- ---------
     probe1                 a1              99.1.1.2         PASS     
  Route-Action:
    route-instance    route             next-hop         state
    ----------------- ----------------- ---------------- ------------- 
    inet.0            99.1.1.0          12.12.12.2       APPLIED      
  Interface-Action:
    interface         policy action   admin state action status
    ----------------- --------------- ----------- -----------------
    at-2/0/0          Enable          UP          FAILOVER         
    ge-0/0/2.2        Enable          UP          FAILOVER         
    ge-0/0/2.3        Enable          UP          FAILOVER        

Sample Output

show services ip-monitoring status

When the probe succeeds and the policy is not applied, the output is as follows:

user@host> show services ip-monitoring status
Policy payment (Status: PASS)
 RPM Probes:
     Probe name             Test Name       Address          Status
    ---------------------- --------------- ---------------- ---------
     Probe-Payment-Server   paysvr          9.9.9.2          PASS
 Route-Action:
    route-instance    route             next-hop         state
    ----------------- ----------------- ---------------- ------------- 
    inet.0            9.9.9.0/24        e1-6/0/0.0       NOT-APPLIED

Sample Output

show services ip-monitoring status

When the probe fails and the policy is applied, the output is as follows:

user@host> show services ip-monitoring status
Policy payment (Status: FAIL)
 RPM Probes:
     Probe name             Test Name       Address          Status
    ---------------------- --------------- ---------------- ---------
     Probe-Payment-Server   paysvr          9.9.9.2          FAIL
 Route-Action:
    route-instance    route             next-hop         state
    ----------------- ----------------- ---------------- ------------- 
    inet.0            9.9.9.0/24        e1-6/0/0.0       APPLIED