Displaying routing information
You can display information about the routing configuration for each SVM on your cluster. This can help you diagnose routing problems involving connectivity issues between client applications or services and a LIF on a node in the cluster.
- Use the network route show command to display routes within one or more SVMs.
Example
The following example shows a route configured in the vs0 SVM:
cluster-1::*> network route show
(network route show)
Vserver Destination Gateway Metric
------------------- --------------- --------------- ------
vs0
0.0.0.0/0 172.17.178.1 20 - Use the network route show-lifs command to display the association of routes and LIFs within one or more SVMs.
Example
The following example shows LIFs with routes owned by the vs0 SVM:
cluster-1::*> network route show-lifs
(network route show-lifs)
Vserver: vs0
Destination Gateway Logical Interfaces
---------------------- -------------- --------------------
0.0.0.0/0 172.17.178.1 cluster_mgmt,
LIF-b-01_mgmt1,
LIF-b-02_mgmt1 - Use the network route active-entry show command to display installed routes on one or more nodes, SVMs, subnets, or routes with specified destinations.
Example
The following example shows all installed routes on a specific SVM:
cluster-1::*> network route active-entry show -vserver Data0
Vserver: Data0
Node: node-1
Subnet Group: 0.0.0.0/0
Destination Gateway Interface Metric Flags
---------------------- ------------------- --------- ------ -----
127.0.0.1 127.0.0.1 lo 10 UHS
127.0.10.1 127.0.20.1 losk 10 UHS
127.0.20.1 127.0.20.1 losk 10 UHS
Vserver: Data0
Node: node-1
Subnet Group: fd20:8b1e:b255:814e::/64
Destination Gateway Interface Metric Flags
---------------------- ------------------- --------- ------ -----
default fd20:8b1e:b255:814e::1
e0d 20 UGS
fd20:8b1e:b255:814e::/64
link#4 e0d 0 UC
Vserver: Data0
Node: node-2
Subnet Group: 0.0.0.0/0
Destination Gateway Interface Metric Flags
---------------------- ------------------- --------- ------ -----
127.0.0.1 127.0.0.1 lo 10 UHS
Vserver: Data0
Node: node-2
Subnet Group: 0.0.0.0/0
Destination Gateway Interface Metric Flags
---------------------- ------------------- --------- ------ -----
127.0.10.1 127.0.20.1 losk 10 UHS
127.0.20.1 127.0.20.1 losk 10 UHS
Vserver: Data0
Node: node-2
Subnet Group: fd20:8b1e:b255:814e::/64
Destination Gateway Interface Metric Flags
---------------------- ------------------- --------- ------ -----
default fd20:8b1e:b255:814e::1
e0d 20 UGS
fd20:8b1e:b255:814e::/64
link#4 e0d 0 UC
fd20:8b1e:b255:814e::1 link#4 e0d 0 UHL
11 entries were displayed.
Give documentation feedback