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.
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. |
The chtun command, exptun command, gentun command, imptun command, lstun command, and mktun command.