Page MenuHomeVyOS Platform

Add op commands for spanning-tree
Open, Requires assessmentPublicENHANCEMENT

Description

This enhancement would add the following op mode commands:

show bridge spanning-tree
show bridge spanning-tree detail
show bridge <interface> spanning-tree
show bridge <interface> spanning-tree detail

The output would look like this:

--------------------------------------------------------------------------------
Bridge interface br0 (DOWN):

Spanning Tree is Enabled
Bridge ID d2:40:ee:1e:c4:d6, Priority 32768
Root ID d2:40:ee:1e:c4:d6, Priority 32768 (This bridge is root)
VLANs are Enabled, Protocol 802.1Q

Interface    State     BPDU_Guard    Root_Guard    Learning
-----------  --------  ------------  ------------  ----------
eth1         Disabled  Disabled      Disabled      Enabled
eth2         Disabled  Disabled      Disabled      Enabled
eth3         Disabled  Disabled      Disabled      Enabled

There is also a detailed output as well:

--------------------------------------------------------------------------------
Bridge interface br0 (DOWN):

Spanning Tree is Enabled
Bridge ID d2:40:ee:1e:c4:d6, Priority 32768
Root ID d2:40:ee:1e:c4:d6, Priority 32768 (This bridge is root)
VLANs are Enabled, Protocol 802.1Q

 Interface            | eth1
 State                | Disabled
 Pathcost             | 100
 BPDU_Guard           | Disabled
 Root_Guard           | Disabled
 Learning             | Enabled
 Neighbor_Suppression | Disabled
 Q-in-Q               | Disabled
 Port_Isolation       | Disabled
 Allowed VLANs        | 101-103
 Native VLAN          | none

 Interface            | eth2
 State                | Disabled
 Pathcost             | 100
 BPDU_Guard           | Disabled
 Root_Guard           | Disabled
 Learning             | Enabled
 Neighbor_Suppression | Disabled
 Q-in-Q               | Disabled
 Port_Isolation       | Disabled
 Allowed VLANs        | 101-103
 Native VLAN          | none

 Interface            | eth3
 State                | Disabled
 Pathcost             | 100
 BPDU_Guard           | Disabled
 Root_Guard           | Disabled
 Learning             | Enabled
 Neighbor_Suppression | Disabled
 Q-in-Q               | Disabled
 Port_Isolation       | Disabled
 Allowed VLANs        | 101-103
 Native VLAN          | none

Details

Version
-
Is it a breaking change?
Perfectly compatible
Issue type
Feature (new functionality)