[ Previous | Next | Contents | Glossary | Home | Search ]
AIX Version 4.3 Commands Reference, Volume 2

exptun Command

Purpose

Exports a tunnel definition and, optionally, all the user defined filter rules associated with the tunnel. Creates a tunnel export file and an optional filter rule export file that can be used for the tunnel partner.

Syntax

exptun [-v 4|6] -f directory [-t tid_list] [-r]

Description

Use the exptun command to create a tunnel context export file and, optionally, a filter rule appendage file for a tunnel partner to import. This command does not cause activation of a tunnel, it simply creates the required files for the tunnel partner.

Notes: If the initiator flag for an IBM tunnel in the tunnel database is set to N (for non-initiator), the value will be changed in the exported file to Y to show that it is the initiator. If the tunnel definition in the database specifies that it initiates the session key exchange, the exported definition will have that setting as well.

Generated export files contain keys used by the tunnel. Protect these files with the AIX file system protection features.

Flags

-v The IP version of the tunnels being exported. Value 4 specifies IP version 4 tunnels. Value 6 specifies IP version 6 tunnels. If this flag is not used, both IP version 4 and IP version 6 tunnel definitions will be exported.
-f Defines the directory where the export files are to be written. The directory will be created if it does not exist. The export files can then be sent to the tunnel partner to be imported. It is recommended that export files for each tunnel partner have a different directory specification.
-t Specifies the list of tunnel IDs to be used for the export files. The list may be specified as a sequence of tunnel IDs separated by a "," or "-" (1, 3, 10, 50-55). If this flag is not used, all tunnel definitions from the tunnel database will be exported.
-r Exports all the user defined filter rules associated with the tunnel(s). If this flag is not used, only the tunnel definitions will be exported.

Related Information

The gentun command, imptun command, chtun command, mktun command, rmtun command, and lstun command.


[ Previous | Next | Contents | Glossary | Home | Search ]