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

network route delete

Contributors
Suggest changes

Delete a static route

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

Description

The network route delete command deletes a static route from a Vserver.

Parameters

-vserver <vserver> - Vserver Name

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

-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. For example, 0.0.0.0/0 is a correctly formatted value for the -destination parameter.

-gateway <IP Address> - Gateway

Use this parameter to specify the gateway on which the route is to be deleted.

Examples

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

cluster1::network route delete -vserver vs0 -destination 0.0.0.0/0