network routing-groups route create
- PDF of this doc site
Collection of separate PDF docs
Creating your file...
(DEPRECATED)-Create a static route
Availability: This command is available to cluster administrators at the admin privilege level.
Description
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 route create
command creates a static route within a routing group. You can create routes originating from specified Vservers within a specified routing group, routes with specified gateways, and routes with a specified number of hops.
Parameters
-vserver <vserver>
- Vserver Name-
Use this parameter to specify the node or Vserver on which the route is to be created.
-routing-group <text>
- Routing Group-
Use this parameter to specify the name of the routing group within which you want to create the new route.
-destination <IP Address/Mask>
- Destination/Mask-
Use this parameter to specify the IP address and subnet mask of the route's destination. 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 specify the IP address of the gateway server leading to the route's destination.
[-metric <integer>]
- Metric-
Use this parameter to specify the hop count for the route you are creating. The default is 20 hops.
Examples
The following example creates a route within a routing group originating from Vserver node3.
cluster1::> network routing-groups route create -vserver node3 -routing-group d192.0.2.167/24 -destination 0.0.0.0/0 -gateway 10.61.208.1 -metric 10