Skip to main content
NetApp Knowledge Base

Not all routes listed in "route show" for ONTAP 9.7

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

Applies to

  • ONTAP 9.7

Issue

  • With ONTAP 9.6, it is not allowed to add two routes with same target subnet:
 
fas8200-2n-dal-1::> version
NetApp Release 9.6: Wed Jul 10 16:25:33 UTC 2019
fas8200-2n-dal-1::>
fas8200-2n-dal-1::> route show -vserver svm1
Vserver             Destination     Gateway         Metric
------------------- --------------- --------------- ------
svm1                0.0.0.0/0       10.128.227.1    20
fas8200-2n-dal-1::>
fas8200-2n-dal-1::> route create -vserver svm1 -destination 30.150.0.0/16 -gateway 30.151.24.254
fas8200-2n-dal-1::>
fas8200-2n-dal-1::> route show -vserver svm1
Vserver             Destination     Gateway         Metric
------------------- --------------- --------------- ------
svm1                0.0.0.0/0       10.128.227.1    20
                    30.150.0.0/16   30.151.24.254 20
2 entries were displayed.
fas8200-2n-dal-1::>
fas8200-2n-dal-1::> route create -vserver svm1 -destination 30.150.0.0/25 -gateway 30.151.26.254
Error: command failed: Duplicate route exists.
fas8200-2n-dal-1::>
 
  • With ONTAP 9.7P3, the "duplicated" route is added without error, while "route show" catch error about "Loop detected in next() for table vifmgr_vs_routes" and not all routes are listed:
 
fas8200-2n-dal-1::> version
NetApp Release 9.7P3: Fri Apr 17 14:37:51 UTC 2020
fas8200-2n-dal-1::>
fas8200-2n-dal-1::> route show -vserver svm1
Vserver             Destination     Gateway         Metric
------------------- --------------- --------------- ------
svm1                0.0.0.0/0       10.128.227.1    20
                    30.150.0.0/16   30.151.24.254   20
2 entries were displayed.
fas8200-2n-dal-1::>
fas8200-2n-dal-1::> route create -vserver svm1 -destination 30.150.0.0/25 -gateway 30.151.26.254
fas8200-2n-dal-1::>
fas8200-2n-dal-1::> route show -vserver svm1
Vserver             Destination     Gateway         Metric
------------------- --------------- --------------- ------
svm1                0.0.0.0/0       10.128.227.1    20
                    30.150.0.0/25   30.151.26.254   20
Error: show failed on vserver "svm1" destination "30.150.0.0/25" gateway "30.151.26.254": Loop detected in next() for table vifmgr_vs_routes. Next on "3 30.150.0.0/25 30.151.26.254" returned "3 30.150.0.0/16 30.151.24.254".
2 entries were displayed.
fas8200-2n-dal-1::>

 

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

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.
Scan to view the article on your device

 

  • Was this article helpful?