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

[EVO] What does the next-hop type "sftw" on QFX5130 mean?



Article ID: KB37444 KB Last Updated: 31 Dec 2021Version: 2.0

On QFX5130 Series devices that are running Junos EVO, users may see the next-hop type as "sftw" in the output of the show route forwarding-table command.

This article explains what the "sftw" next-hop type means.


The next-hop type is indicated as "sftw" in the output of show route forwarding-table as shown below:

jtac-QFX5130-32CD-r002 et-0/0/32 -------- et-0/0/32 jtac-QFX5130-32CD-r003

root@jtac-QFX5130-32CD-r002# run show route forwarding-table | grep sftw
default            user     0                    sftw     7021     1 re0:mgmt-0.0       user     0                    sftw     7022     1 et-0/0/32.0

root@jtac-QFX5130-32CD-r003# run show route forwarding-table | grep sftw
default            user     0                    sftw     5021     1 re0:mgmt-0.0       user     0                    sftw     5022     1 et-0/0/32.0

In Junos EVO, "sftw" has been introduced as another type of next-hop. Note that this next-hop type has been introduced only in EVO and not in Junos OS and is therefore expected to be seen in Junos EVO.

A software next-hop can contain a link to another single next-hop, and hence it often works very much like an indirect next-hop. It is seen that this usage helps to reduce churn in Junos EVO objects by providing a common object where topology updates can be reflected. Further MPLS states can also be attached to these software next-hops.

A route that points to a management interface will also use a software next-hop. In this use case, the software next-hop will not point to another next-hop, but will have a flag bit set to indicate that the next-hop is private (in other words, unlike an indirect next-hop, a software next-hop does not need to link to another next-hop).

rpd-agent creates SoftwareNexthop, which contains ip-address that needs to be resolved.

So, when a route is created, an "sftw" next-hop seems to be created whether it is the management port or the loopback interface.

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