mktun Command

Purpose

Activates tunnel(s).

Syntax

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

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

Item Description
-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 status in the tunnel database "active" will be activated.
-I If the -I 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.

Security

Attention RBAC users and Trusted AIX users: This command can perform privileged operations. Only privileged users can run privileged operations. For more information about authorizations and privileges, see Privileged Command Database in AIX® Version 7.1 Security. For a list of privileges and the authorizations associated with this command, see the lssecattr command or the getcmdattr subcommand.