Delete ip route – Allied Telesis AT-S63 User Manual
Page 724

Chapter 38: Internet Protocol Version 4 Packet Routing Commands
724
Section VII: Internet Protocol Routing
DELETE IP ROUTE
Syntax
delete ip route=
ipaddress
[interface=
interface
]
nexthop=
ipaddress
mask=
subnetmask
Parameters
route
Specifies the destination IP address of the static,
dynamic, or default 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 or
dynamic route is assigned. An interface name
consists of “VLAN” followed by the name or ID (VID)
of the VLAN and the interface number (e.g., vlan-
Sales-0 or vlan4-0). This parameter is optional.
nexthop
Specifies the IP address of the next hop of the route.
The next hop is required when deleting a static or
dynamic route, but not when deleting a default route.
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 static, dynamic, and default routes from the routing
table. To display the current routes, refer to “SHOW IP ROUTE” on
page 752.
Examples
This command deletes the static route to the remote subnet 149.124.55.0.
The subnet mask is 255.255.255.0 and the next hop is 149.124.22.12
delete ip route=149.124.55.0 mask=255.255.255.0
nexthop=149.124.22.12
This command deletes a default route that has a next hop of 149.88.62.14:
delete ip route=0.0.0.0 nexthop=149.88.62.14 mask=0.0.0.0
Command
Available
AlliedWare Plus