summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorJiří Klimeš <jklimes@redhat.com>2015-11-24 14:14:53 +0100
committerJiří Klimeš <jklimes@redhat.com>2015-12-07 09:11:20 +0100
commit3892b839af4597c29ebff6d77666566dc4f94fb1 (patch)
treec346b5ebcfd156577a030a389d6b2f367056698d /man
parent9a0e4bae4720d45b8596f86c374a04d666490229 (diff)
downloadNetworkManager-3892b839af4597c29ebff6d77666566dc4f94fb1.tar.gz
cli: add 'nmcli connection export' (rh #1034105)
Synopsis: nmcli connection export [ id | uuid | path] <ID> [<output file>] for exporting VPN connections. https://bugzilla.redhat.com/show_bug.cgi?id=1034105
Diffstat (limited to 'man')
-rw-r--r--man/nmcli.1.in12
1 files changed, 12 insertions, 0 deletions
diff --git a/man/nmcli.1.in b/man/nmcli.1.in
index 180dd1027b..35edc71846 100644
--- a/man/nmcli.1.in
+++ b/man/nmcli.1.in
@@ -831,6 +831,14 @@ so that nmcli could import the data.
The imported connection profile will be saved as persistent unless \fI--temporary\fP
option is specified, in which case the new profile won't exist after NetworkManager
restart.
+.TP
+.B export [ id | uuid | path ] <ID> [<output file>]
+.br
+Export a connection.
+.br
+Only VPN connections are supported at the moment. A proper VPN plugin has to be
+installed so that nmcli could export a connection. If no \fI<output file>\fP is
+provided, the VPN configuration data will be printed to standard output.
.RE
.TP
@@ -1206,6 +1214,10 @@ removes the specified IP address from (static) profile ABC.
.IP
imports an OpenVPN configuration to NetworkManager.
+.IP "\fB\f(CWnmcli con export corp-vpnc /home/joe/corpvpn.conf\fP\fP"
+.IP
+exports NetworkManager VPN profile corp-vpnc as standard Cisco (vpnc) configuration.
+
.SH NOTES
\fInmcli\fP accepts abbreviations, as long as they are a unique prefix in the set
of possible options. As new options get added, these abbreviations are not guaranteed