跳转到主内容

并非 ONTAP 97 的“路由显示”中列出的所有路由

Views:
29
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
network
Last Updated:

适用于

  • ONTAP 9.7

问题

  • 对于 ONTAP 9.6 、不允许添加具有相同目标子网的两条路由:
 
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::>
 
  • 在 ONTAP 9.7P3 中、添加了“重复”路由而不会出错、而表 VIFMGR_VS_Routes 的下一个 () 中检测到的“路由显示”捕获错误和未列出所有路由:
 
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.

 

  • 这篇文章对您有帮助吗?