Skip to main content
A newer release of this product is available.

network routing-groups show

Contributors
Suggest changes

(DEPRECATED)-Display routing groups

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.

The network routing-groups show command displays a group of static routes. You can view routes originating from specified servers, and routes with specified names, roles, and number of hops.

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 routing groups within the specified vserver.

[-routing-group <text>] - Routing Group

Use this parameter to display the specified routing group.

[-subnet <IP Address/Mask>] - Address/Mask

Use this parameter to display the routing groups within the specified subnet. The format for this value is: address, slash ("/"), mask. The example below has 192.0.2.165/24 as a valid value for the -subnet parameter.

[-role {cluster|data|node-mgmt|intercluster|cluster-mgmt}] - Role

Use this parameter to display the routing groups with the specified role.

[-metric <integer>] - Metric

Use this parameter to display the routing groups with the specified metric.

[-address-family {ipv4|ipv6|ipv6z}] - Address Family

Use this parameter to display the routing groups using the specified IP address family. Only IPv4 and IPv6 non-zoned addresses can be used as value for this parameter. IPv6z addresses should not be used.

Examples

The following example displays a routing group for data from the virtual server node1.

cluster1::> network routing-groups show -role data
         Routing
Server   Group     Subnet           Role      Metric
-------- --------- ---------------- --------- -------
node1    d192.0.2.165/24
                   192.0.2.165/24   data      20
node2    d192.0.2.166/24
                   192.0.2.166/24   data      20
2 entries were displayed.