[ Previous | Next | Table of Contents | Index | Library Home | Legal | Search ]

Commands Reference, Volume 3


mktun Command

Purpose

Activates tunnel(s).

Syntax

mktun [-v 4|6] [-t tid_list] [-i] [-l]

Description

Use the mktun command to activate tunnel(s). For IBM tunnels, this command initiates the security protocol exchanges between the local and the destination host.

Flags


-i Initiation flag. If the -i flag is not used, all the tunnels in the tunnel database (or those listed with the -t flag) will be activated. If the -i flag is used, only the tunnels whose tunnel definitions in the tunnel database with the status of "active" will be activated.
-l If the -l flag is specified, manual tunnels will be activated.
-t If the -t flag is specified, only the tunnel(s) that follows this flag will be activated. If the -t flag is not used, all tunnel(s) currently defined in the tunnel database will be activated. The tid_list can be a single tunnel ID or a sequence of tunnel IDs separated by "," or "-" (1, 3, 5-7).
-v The IP version of the tunnels to be activated. The value of 4 specifies IP version 4 tunnels. The value of 6 specifies IP version 6 tunnels. If the -v flag is not used, all tunnels for IP version 4 and IP version 6 will be activated.

Related Information

The chtun command, exptun command, gentun command, imptun command, lstun command, rmtun command.


[ Previous | Next | Table of Contents | Index | Library Home | Legal | Search ]