Skip to main content
NetApp Knowledge Base

How do you determine the most specific network route ONTAP 9.2 and later versions will use for network traffic?

Views:
177
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
nas
Last Updated:

Applies to

ONTAP 9.2 and later versions

Description

  • How ONTAP chooses a route when it needs to initiate a new request or reply to a request.
  • To determine the most specific route(s) to the destination, run the following command from the ONTAP CLI:​​​​​​
    • set advanced; network route active-entry show -vserver vserver -node node-01 
    • This will include routes that originate from the LIFs on the node specified
    • Alternatively, ROUTE-ACTIVE.XML can be reviewed in the AutoSupport section of  ActiveIQ 
  • From the route matches, determine which has the longest prefix
    • For example if the destination ip address is 10.1.1.1 and looking at routing table with the following destinations
      • "default" or 0.0.0.0/0 matches and has a 0 bit prefix
      • 10.1/16 matches and has a 16 bit prefix
      • 10.1.1/24 matches and has a 24 bit prefix
      • 10.1.1.1/32 matches and has a 32 bit prefix which is longest prefix (32 is bigger than 24, 16, and 0) making it the most specific route

 

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

Scan to view the article on your device