Parameters options to be passed down to ip
.
Global parameters options that affects the command execution.
ParametersError - Throws when passed parameters are invalid.
CommandError - Throws when the executed command fails.
Import module
import { route } from 'iproute';
Flush the table cache
await route.flush({
table: RouteRoutingTables.Cache
});
Generated using TypeDoc
Flush routing tables this command flushes routes selected by some criteria.
The arguments have the same syntax and semantics as the arguments of
ip route show
, but routing tables are not listed but purged.