network route create
-
PDF of this doc site

Collection of separate PDF docs
Creating your file...
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.
0.0.0.0/0
is a valid destination value to create default IPv4 route. And::/0
is a valid destination value to create default IPv6 route -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 default routes within Vserver vs0 for IPv4 and IPv6.
cluster1::> network route create -vserver vs0 -destination 0.0.0.0/0 -gateway 10.61.208.1 cluster1::> network route create -vserver vs0 -destination ::/0 -gateway 3ffe:1::1