Index  |  Top  -  Up Data ONTAP 8.3

network route create

Create a static route

Availability: This command is available to cluster and Vserver administrators at the admin privilege level.

Description

The network route create command creates a static route within a Vserver.

Parameters

-vserver <vserver> - Vserver Name

Use this parameter to specify the Vserver on which the route is to be created.

-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 metric of the route.

Examples

The following example creates a route within Vserver vs0 for destination 0.0.0.0/0.

cluster1::> network route create -vserver vs0 -destination 0.0.0.0/0 -gateway 10.61.208.1

Index  |  Top  -  Up Data ONTAP 8.3

Copyright © 1994-2015 NetApp, Inc. Legal Information