简体中文版经机器翻译而成,仅供参考。如与英语版出现任何冲突,应以英语版为准。
查看ONTAP网络的路由信息
您可以显示有关 SVM 中路由的信息。
步骤
根据要查看的路由信息类型,输入相应的命令:
要查看有关以下内容的信息 … |
输入 … |
静态路由,每个 SVM |
|
每个 SVM 的每个路由上的 LIF |
|
您可以通过指定来显示每个路由的详细信息 -instance 参数。以下命令显示集群 1 中 SVM 内的静态路由:
network route show
Vserver Destination Gateway Metric
------------------- --------------- --------------- ------
Cluster
0.0.0.0/0 10.63.0.1 10
cluster-1
0.0.0.0/0 198.51.9.1 10
vs1
0.0.0.0/0 192.0.2.1 20
vs3
0.0.0.0/0 192.0.2.1 20
以下命令显示 cluster-1 中所有 SVM 中静态路由和逻辑接口( LIF )的关联:
network route show-lifs
Vserver: Cluster
Destination Gateway Logical Interfaces
---------------------- ---------------------- -------------------
0.0.0.0/0 10.63.0.1 -
Vserver: cluster-1
Destination Gateway Logical Interfaces
---------------------- ---------------------- -------------------
0.0.0.0/0 198.51.9.1 cluster_mgmt,
cluster-1_mgmt1,
Vserver: vs1
Destination Gateway Logical Interfaces
---------------------- ---------------------- -------------------
0.0.0.0/0 192.0.2.1 data1_1, data1_2
Vserver: vs3
Destination Gateway Logical Interfaces
---------------------- ---------------------- -------------------
0.0.0.0/0 192.0.2.1 data2_1, data2_2
有关和的 network route show-lifs`详细信息 `network route show,请参见"ONTAP 命令参考"。