Support Support Downloads Knowledge Base Juniper Support Portal Community

Knowledge Base

Search our Knowledge Base sites to find answers to your questions.

Ask All Knowledge Base Sites All Knowledge Base Sites JunosE Defect (KA)Knowledge BaseSecurity AdvisoriesTechnical BulletinsTechnotes Sign in to display secure content and recently viewed articles

How to Obtain the Policy ID Number for the VPN's Policy



Article ID: KB9478 KB Last Updated: 10 Jun 2010Version: 4.0
How to get the policy number of the policy that is being used for the VPN that is not working.

Symptoms & Errors:

  • A VPN does not establish
  • Cannot get any traffic (ping, etc…) from the PC to the internal network through the tunnel.
  • An incoming policy is defined to allow Dial-Up VPN to access internal network.

To Determine which Policy is Used by the VPN

From the WebUI:

  • Click on VPN > Monitor Status.  If a policy is bound to a tunnel, the VPN will be displayed here.  The Policy ID column will list the ID number of the policy that is associated with the VPN.  The Policy ID is listed in the following format: i/o, where i equals the number of the policy used for the incoming traffic and o is for the outgoing traffic.  A policy ID of -1 indicates there is no policy for that direction.  This is used for uni-directional VPNs, like most Dial-Up VPNs.

How To View the Policy

From the WebUI:

  • Click on Policies.  Select the appropriate source (From) and destination (To) zones and click Go.  Identify the policy that is associated with the VPN that is not working and make note of it's ID number.

From the CLI: 

  • At the command line, type get policy then press Enter.  This will show all configured policies on the Netscreen.  Record the ID number of the policy that is associated with the VPN that is not working.

Related Links

Comment on this article > Affected Products Browse the Knowledge Base for more articles related to these product categories. Select a category to begin.

Getting Up and Running with Junos

Getting Up and Running with Junos Security Alerts and Vulnerabilities Product Alerts and Software Release Notices Problem Report (PR) Search Tool EOL Notices and Bulletins JTAC User Guide Customer Care User Guide Pathfinder SRX High Availability Configurator SRX VPN Configurator Training Courses and Videos End User Licence Agreement Global Search