Not all routes listed in "route show" for ONTAP 9.7
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::>