Lists tunnel definition(s).
lstun [-v 4|6 ] [-t tid_list] [-p manual] [-a]
Use the lstun command to list the tunnel definition(s) and their current status. This command can either list the tunnels in the tunnel database or in the active system.
|-v||This flag specifies the IP version. For listing IP version 4 tunnel only, use the value of 4. For listing IP version 6 tunnel only, use the value of 6. If this flag is not used, both the version 4 and version 6 tunnels will be listed.|
|-t||Only list the tunnel definition and its current status for the tunnel whose tunnel ID is in tid_list. If this flag is not used, all the tunnel definitions and their current status will be listed.|
|-p||Selects the type of the tunnel to be listed. Using the -p flag with the value of manual lists manual tunnels only. The -p flag is for listing tunnel definitions in the tunnel database only and thus is mutually exclusive with the -a flag.|
|-a||Lists the tunnels active in the IP Security subsystem.|
The gentun command, chtun command, imptun command, exptun command, mktun command, and rmtun command.