diff options
author | Jiří Klimeš <jklimes@redhat.com> | 2014-02-28 13:25:54 +0100 |
---|---|---|
committer | Jiří Klimeš <jklimes@redhat.com> | 2014-02-28 13:37:02 +0100 |
commit | 223962f4ad2ae1ac77945c81dee2c6cc7e69843c (patch) | |
tree | 50a7786c7197de69f1c5e81f6e2f67f79ab07261 /man/nmcli-examples.xml | |
parent | 1472d7674458b679e7ef6bf4bce8cb9b8362825f (diff) | |
download | NetworkManager-223962f4ad2ae1ac77945c81dee2c6cc7e69843c.tar.gz |
man: add a simple bridge example to nmcli-examples manual page
Diffstat (limited to 'man/nmcli-examples.xml')
-rw-r--r-- | man/nmcli-examples.xml | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/man/nmcli-examples.xml b/man/nmcli-examples.xml index c3c2919ca5..fb4ce4ca03 100644 --- a/man/nmcli-examples.xml +++ b/man/nmcli-examples.xml @@ -218,6 +218,25 @@ $ nmcli con up Team1-slave2 automatically and you need to activate it manually. </para> + <example><title>Adding a bridge and two slave profiles</title> + <programlisting><emphasis role="bold"> +$ nmcli con add type bridge con-name TowerBridge ifname TowerBridge +$ nmcli con add type bridge-slave con-name br-slave-1 ifname ens3 master TowerBridge +$ nmcli con add type bridge-slave con-name br-slave-2 ifname ens4 master TowerBridge +$ nmcli con modify TowerBridge bridge.stp no + </emphasis></programlisting> + </example> + <para> + This example demonstrates adding a bridge master connection and two slaves. The + first command adds a master bridge connection, naming the bridge interface and + the profile as <emphasis>TowerBridge</emphasis>. + The next two commands add slaves profiles, both will be enslaved to + <emphasis>TowerBridge</emphasis>. + The first slave will be tied to <emphasis>ens3</emphasis> interface, the second to + <emphasis>ens4</emphasis>. + The last command will disable 802.1D STP for the TowerBridge profile. + </para> + <example><title>Adding an ethernet connection profile with manual IP configuration</title> <programlisting> <emphasis role="bold"> |