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

rmtun Command

Purpose

Deactivates operational tunnel(s) and optionally removes tunnel definition(s).

Syntax

rmtun -v 4|6 -t tid_list | all [-d] [-s]

Description

Use the rmtun command to deactivate an active tunnel(s) and optionally remove tunnel definition(s). It also will remove the auto-generated filter rules created for the tunnel by the gentun command when the tunnel definition is removed from the tunnel database.

Flags

-v The IP version of the tunnel. For the IP version 4 tunnel, use the value of 4. For the IP version 6 tunnel, use the value of 6.
-t The list of the tunnel(s) you want to deactivate. If -d is specified, all the tunnel definitions in the list will also be removed from the tunnel database.
tid_list The list of the tunnel(s) you want to deactivate. The tunnel IDs can be separated by "," or "-". You can use "-" to specify a range of IDs. For example, 1,3,5-7 specified there are five tunnel IDs in the list, 1, 3, 5, 6 and 7.
all Deactivates and optionally removes all the tunnel(s).
-d Specifies that the tunnels are to be removed from the tunnel database. This is an optional flag.
-s Shuts down the IBM session key engine of IP version 4. This action deactivates all IBM tunnels. This flag may not be specified with any other flags.

Related Information

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


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