Skip to main content

network routing-groups create

(DEPRECATED)-Create a routing group

Availability: This command is available to cluster 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 create command creates a group of static routes. After you have created a routing group, you can add routes to the group by using the network routing-groups route create command.

Parameters

-vserver <vserver> - Vserver Name
Specifies the node or Vserver on which the routing group will be created.
-routing-group <text> - Routing Group
Specifies the name of the routing group that you want to create.
-subnet <IP Address/Mask> - Address/Mask
Specifies the IP address and subnet mask of the routing group's destination. 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
Defines the role of the routing group. The routing group can be a cluster, data, node management, intercluster, or cluster management routing group. There is no default.
[-metric <integer>] - Metric
Specifies a hop count for the routing group that you are creating. The default is 20.

Examples

The following example creates a routing group for data from the Vserver node1 with an IP address of 192.0.2.165/24 to a destination server with the IP address of 192.0.2.166.

cluster1::network routing-groups> create -vserver node1 -routing-group 192.0.2.166 -subnet 192.0.2.165/24 -role data -metric 20