network routing-groups route show
(DEPRECATED)-Display static routes
Availability: This command is available to cluster and Vserver administrators at the admin privilege level.
Description
Note
This command has been deprecated and may be removed from a future version of Data ONTAP. Use the "network route" command set to configure routes instead.
Parameters
- { [-fields <fieldname>, ...]
- If you specify the -fields <fieldname>, ... parameter, the command output also includes the specified field or fields. You can use '-fields ?' to display the fields to specify.
- | [-instance ]}
- If you specify the -instance parameter, the command displays detailed information about all fields.
- [-vserver <vserver>] - Vserver Name
- Use this parameter to display the routes within the specified vserver.
- [-routing-group <text>] - Routing Group
- Use this parameter to display the routes within the specified routing group.
- [-destination <IP Address/Mask>] - Destination/Mask
- Use this parameter to diplay the routes with the specified destination IP address.The format for this value is: address, slash ("/"), mask. The example below has 0.0.0.0/0 as a valid value for the -destination parameter.
- [-gateway <IP Address>] - Gateway
- Use this parameter to display the routes with the specified gateway.
- [-metric <integer>] - Metric
- Use this parameter to display the routes with the specified metric.
- [-address-family {ipv4|ipv6|ipv6z}] - Address Family
- Use this parameter to display the routes using the specified address family. Only IPv4 and IPv6 non-zoned addresses can be used for this parameter. IPv6z addresses should not be used.
Examples
The following example displays information about all routing groups.
cluster1::> network routing-groups route show
Routing
Server Group Destination Gateway Metric
-------- --------- ---------------- ---------------- -------
node1 d192.0.2.165/24
0.0.0.0/0 10.61.208.1 20
node2 d192.0.2.166/24
0.0.0.0/0 10.61.208.1 20
2 entries were displayed.
Give documentation feedback