From 28d4bc3d2ca5451ee5d32df7099315abc924a6bc Mon Sep 17 00:00:00 2001 From: fett0 Date: Thu, 22 Jul 2021 10:05:46 -0300 Subject: bridge: correct oper commands --- docs/configuration/interfaces/bridge.rst | 76 ++++++++++++++++++-------------- 1 file changed, 42 insertions(+), 34 deletions(-) (limited to 'docs') diff --git a/docs/configuration/interfaces/bridge.rst b/docs/configuration/interfaces/bridge.rst index 2374da4d..ebb2232a 100644 --- a/docs/configuration/interfaces/bridge.rst +++ b/docs/configuration/interfaces/bridge.rst @@ -261,51 +261,59 @@ This results in the active configuration: Using the operation mode command to view Bridge Information =========================================================== -.. opcmd:: show bridge +.. opcmd:: show bridge The `show bridge` operational command can be used to display configured bridges: .. code-block:: none - vyos@vyos:~$ show bridge - bridge name bridge id STP enabled interfaces - br100 8000.0050569d11df yes eth1 - eth2.10 + vyos@vyos:~$ show bridge + 3: eth1: mtu 1500 master br0 state forwarding + priority 32 cost 100 + 4: eth2: mtu 1500 master br0 state forwarding + priority 32 cost 100 -.. opcmd:: show bridge spanning-tree +.. opcmd:: show bridge fdb - Show bridge `` STP configuration. + Show bridge `` fdb displays the current forwarding table: .. code-block:: none - vyos@vyos:~$ show bridge br100 spanning-tree - br100 - bridge id 8000.0050569d11df - designated root 8000.0050569d11df - root port 0 path cost 0 - max age 20.00 bridge max age 20.00 - hello time 2.00 bridge hello time 2.00 - forward delay 14.00 bridge forward delay 14.00 - ageing time 300.00 - hello timer 0.06 tcn timer 0.00 - topology change timer 0.00 gc timer 242.02 - flags - - eth1 (1) - port id 8001 state disabled - designated root 8000.0050569d11df path cost 100 - designated bridge 8000.0050569d11df message age timer 0.00 - designated port 8001 forward delay timer 0.00 - designated cost 0 hold timer 0.00 - flags - - eth2.10 (2) - port id 8002 state disabled - designated root 8000.0050569d11df path cost 100 - designated bridge 8000.0050569d11df message age timer 0.00 - designated port 8002 forward delay timer 0.00 - designated cost 0 hold timer 0.00 + vyos@vyos:~$ show bridge br0 fdb + 50:00:00:08:00:01 dev eth1 vlan 20 master br0 permanent + 50:00:00:08:00:01 dev eth1 vlan 10 master br0 permanent + 50:00:00:08:00:01 dev eth1 master br0 permanent + 33:33:00:00:00:01 dev eth1 self permanent + 33:33:00:00:00:02 dev eth1 self permanent + 01:00:5e:00:00:01 dev eth1 self permanent + 50:00:00:08:00:02 dev eth2 vlan 20 master br0 permanent + 50:00:00:08:00:02 dev eth2 vlan 10 master br0 permanent + 50:00:00:08:00:02 dev eth2 master br0 permanent + 33:33:00:00:00:01 dev eth2 self permanent + 33:33:00:00:00:02 dev eth2 self permanent + 01:00:5e:00:00:01 dev eth2 self permanent + 33:33:00:00:00:01 dev br0 self permanent + 33:33:00:00:00:02 dev br0 self permanent + 33:33:ff:08:00:01 dev br0 self permanent + 01:00:5e:00:00:6a dev br0 self permanent + 33:33:00:00:00:6a dev br0 self permanent + 01:00:5e:00:00:01 dev br0 self permanent + 33:33:ff:00:00:00 dev br0 self permanent + +.. opcmd:: show bridge mdb + + Show bridge `` mdb displays the current multicast group membership + table.The table is populated by IGMP and MLD snooping in the bridge driver + automatically. + + .. code-block:: none + + vyos@vyos:~$ show bridge br0 mdb + dev br0 port br0 grp ff02::1:ff00:0 temp vid 1 + dev br0 port br0 grp ff02::2 temp vid 1 + dev br0 port br0 grp ff02::1:ff08:1 temp vid 1 + dev br0 port br0 grp ff02::6a temp vid 1 .. opcmd: show bridge macs -- cgit v1.2.3