System Administration > System > Network

del route prefix <prefix> [gateway <gateway-ip>] [interface <interface-name>] [metric <ip-route-metric>]

Delete the specified network IPv4 or IPv6 route. Default value for the IPv6 route metric is 1024.

Parameters:

Option Description
<prefix-ipv46> CIDR notation argument for IPv4/IPv6 address
<ip-route-metric> IP route metric argument
Allowed pattern: ^[0-9]+$
<gateway-ipv46> Gateway IPv4/IPv6 address argument
<interface-name> Configurable network interface argument


Example:

nsx> del route prefix 10.79.224.0/20 gateway 10.78.239.254 nsx> or nsx> del route prefix fd01:0:106:10::/64 interface eth0 nsx> or nsx> del route prefix fd01:0:106:10::/64 gateway fd01:0:106:10::253 nsx> or nsx> del route prefix fd01:0:106:8::/64 gateway fe80::106:8:1 metric 256 nsx>

Mode:

Basic

Availability: