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';
Delete multipath route with load balance between devices
await route.del({
to: 'default',
scope: AddressScopes.Global,
nexthops: [{
nexthop: true,
dev: 'ppp0'
},
{
nexthop: true,
dev: 'ppp1'
}]
});
Generated using TypeDoc
Delete route.