Deactivates operational tunnel(s) and optionally removes tunnel definition(s).
rmtun -v 4|6 -t tid_list | all [-d]
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.
Item | Description |
---|---|
all | Deactivates and optionally removes all the tunnel(s). |
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. |
-d | Specifies that the tunnels are to be removed from the tunnel database. This is an optional flag. |
-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. |
-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. |
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 Security. For a list of privileges and the authorizations associated with this command, see the lssecattr command or the getcmdattr subcommand.