Command Reference Manual
TSAT 3000 Command Line Interpreter
January 2013
Page 10 of 41
net route delete <dest. addr> <mask> [options…]
Remove a network route from the routing table. The route will only be removed
as long as the modem is kept on (if route is persistent). If you want to remove
the route for good, you must make sure that the route is removed from the
Network section of the configuration file ‘system.conf’.
Release:
R1.0.0 => R3.0.2
Parameters:
<dest. addr>
Destination address in internet dot notation (ex: 192.168.0.1).
<mask>
Hexadecimal value representing the netmask for the destination
address (ex: 0xFFFFFF00 for a 256 address network).
[options…]
Multiple select for type of service and route flags.
“host” : Single address network (Use mask=0 for host
routes).
R2.x.x options only:
“lowdelay” : Minimize delay
“throughput” : Maximize throughput
“reliability” : Maximize reliability
“mincost”
: Minimize monetary cost
Example (R2.x.x):
Assume the following route table entry:
Destination/Pfx Gateway Flags RefCnt Use Proto Tos I/f
192.168.16.0/29 10.0.3.1 3010803 0 0 1 0 sat0
The route can be removed by issuing the following CLI command:
OSLO [RT1]> net route delete 192.168.16.32 0xFFFFFF00
ROUTE DELETE: IP Addr = 192.168.16.32 Mask = 0xFFFFFF00 TOS = 0x0 Flags = 0x0
OSLO [RT1]>
If “Tos” is different from 0, you will have to add the correct option(s) to remove
the route.
net route delete <destination> [options…]
Remove a network route from the routing table. The route will only be removed
until power is cycled (if route is persistent). If you want to remove the route for
good, you must make sure that the route is removed from the Network section
of the configuration file ‘system.conf’.
Release:
R3.1.0 =>
Parameters:
<destination> Destination address in internet dot notation (ex: 192.168.0.1).
[options…]
“host”: Single address network
Example:
Assume the following route table entry:
Destination Gateway Flags Use If Metric
192.168.6.0/24 ethb UGS 0 lo0 2
The route can be removed by issuing the following CLI command:
OSLO [RT1]> net route delete 192.168.6.0
OSLO [RT1]>