• Delete all routing tables.

    Parameters

    • globalOptions: GlobalOptions = {}

      Global parameters options that affects the command execution.

    Returns Promise<void>

    Example

    Import module

    import { utils } from 'iproute';
    

    Clear all tables

    await utils.routingTables.clear();
    

    Flush route cache so the changes become active

    import { route } from 'iproute';

    await utils.routingTables.clear();

    await route.flush({
    table: RouteRoutingTables.Cache
    });

Generated using TypeDoc