Delete ip route – Allied Telesis AT-S63 User Manual
Page 579
AT-S63 Management Software Command Line Interface User’s Guide
Section VII: Internet Protocol Routing
579
DELETE IP ROUTE
Syntax
delete ip route=
ipaddress
[interface=
interface
]
[nexthop=
ipaddress
] mask=
subnetmask
Parameters
route
Specifies the destination IP address of the static route
to be deleted. The IP address for the default route is
0.0.0.0.
interface
Specifies the name of the interface where the static
route is assigned. The name consists of “VLAN”
followed by a VID and an interface number, separated
by a dash (e.g., vlan4-0). This parameter is optional.
nexthop
Specifies the IP address of the next hop of the route.
This parameter is optional.
mask
Specifies the subnet mask for the destination IP
address. The mask for the default route is
255.255.255.255.
Description
This command deletes a static route or the default route from the routing
table. The only required parameters are the IP address of the remote
destination and the subnet mask. To delete the default route, the IP
address is 0.0.0.0 and the mask is 255.255.255.255. For background
information, refer to “Static Routes” on page 550.
To display the existing routes, refer to “SHOW IP ROUTE” on page 600.
You cannot delete a dynamic route.
Examples
This command deletes a static route to the remote subnet 149.124.55.0
with the subnet mask 255.255.255.0:
delete ip route=149.124.55.0 mask=255.255.255.0
This command deletes the default route:
delete ip route=0.0.0.0 mask=255.255.255.255