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

[Junos] Understanding kernel routes



Article ID: KB36167 KB Last Updated: 14 Sep 2020Version: 2.0

This article throws some light on routes that are marked as "kernel" routes on devices running Junos OS.



In devices that run Junos OS, the following type of routes can be seen marked with “Kernel” in the routing table:

inet.0: 17 destinations, 17 routes (17 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both      *[Kernel/4294967294] 00:00:11
                    > to via ge-0/0/0.0

When RPD restarts, KRT reads nexthops and routes from the kernel that were added by a previous instance of RPD. These are used for graceful restart. These routes are called Remnant routes.

During graceful restart, the kernel and the PFE continue to use the route/nexthops that were added for the previous instance of RPD.

As the new RPD instance performs graceful restart recovery, it will add new routes/nexthops. Upon successful restart, the new route/nexthops information will be the same as the old information. If the RPD generates a new route, it overrides the remnant route (for the same prefix).

Eventually, KRT will delete the remnant routes. Upon unsuccessful restart, the remnant routes will continue to remain in the table as per the stale-time (that is, long lived graceful restart knob set for the BGP restarter).

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