Variable v6Const

v6: {
    disable: ((globalOptions?: GlobalOptions) => Promise<null | string>);
    enable: ((globalOptions?: GlobalOptions) => Promise<null | string>);
    status: ((globalOptions?: GlobalOptions) => Promise<null | string>);
} = ...

Enables and checks status of IPv6 forwarding.

Type declaration

  • disable: ((globalOptions?: GlobalOptions) => Promise<null | string>)
      • (globalOptions?: GlobalOptions): Promise<null | string>
      • Parameters

        Returns Promise<null | string>

  • enable: ((globalOptions?: GlobalOptions) => Promise<null | string>)
      • (globalOptions?: GlobalOptions): Promise<null | string>
      • Parameters

        Returns Promise<null | string>

  • status: ((globalOptions?: GlobalOptions) => Promise<null | string>)
      • (globalOptions?: GlobalOptions): Promise<null | string>
      • Parameters

        Returns Promise<null | string>

Example

import { utils } from 'iproute';

await utils.ipForwarding.v6.enable();
await utils.ipForwarding.v6.disable();

const status = await utils.ipForwarding.v6.status();

Generated using TypeDoc