Support Support Downloads Knowledge Base Case Manager My Juniper 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

[ScreenOS] How Do I Verify a Route in the Virtual Router?



Article ID: KB4435 KB Last Updated: 14 Dec 2017Version: 8.0
How Do I Verify a Route in the Virtual Router?

To verify a route in the virtual router, perform the following steps:

Open the Command Line Interface (CLI). For more information on how to open the CLI, go to Accessing the Command Line Interface Using Telnet.

Enter get route; press ENTER.

C - Connected, S - Static, A - Auto-Exported, I - Imported, R - RIP iB - IBGP, eB - EBGP, O - OSPF, E1 - OSPF external type 1 E2 - OSPF external type 2 trust-vr (2 entries)
ID     IP-Prefix                Interface          Gateway           P Pref         Mtr       Vsys
*2           eth1                C0             0         Root
*3               eth3                C0             0         Root

Unless the peer VPN gateway was directly connected to same subnet as this device, the NetScreen will not know where to send an outgoing packet destined for a subnet that is not the same as its own default gateway. It is a good practice on a NetScreen device to always specify a default route in the routing table in case the NetScreen does not know where to route a packet. This can be true even for directly connected devices on the subnet.

 To verify that there is a route to the destination IP, enter   get route ip [ip address of the destination ip];   press ENTER.

ns208-> get route ip
Destination Routes for
trust-vr : => (id=3) via (vr: trust-vr)
Interface ethernet3 , metric 0

This indicates that there is a route in the trust-vr via a directly connected interface eth3.
Modification History:
2017-12-07: Article reviewed for accuracy. No changes made. Article is correct and complete.

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