From 223962f4ad2ae1ac77945c81dee2c6cc7e69843c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ji=C5=99=C3=AD=20Klime=C5=A1?= Date: Fri, 28 Feb 2014 13:25:54 +0100 Subject: [PATCH] man: add a simple bridge example to nmcli-examples manual page --- man/nmcli-examples.xml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) 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. + Adding a bridge and two slave profiles + +$ 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 + + + + 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 TowerBridge. + The next two commands add slaves profiles, both will be enslaved to + TowerBridge. + The first slave will be tied to ens3 interface, the second to + ens4. + The last command will disable 802.1D STP for the TowerBridge profile. + + Adding an ethernet connection profile with manual IP configuration