Public bug reported:

ip -d link show <bridge name> always duplicates the bridge_id in the
designated_root, even after STP bdpu traffic causes changes to the
correct designated_root.   brctl showstp displays the correct designated
root.

Linux noc4 6.8.0-51-generic #52-Ubuntu SMP PREEMPT_DYNAMIC Thu Dec  5
13:09:44 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

root@noc4:~# apt show iproute2
Package: iproute2
Version: 6.1.0-1ubuntu6


example:

ip -d link show isp16bridge
34: isp16bridge: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state 
UP mode DEFAULT group default qlen 1000
    link/ether 52:54:9f:78:6b:a4 brd ff:ff:ff:ff:ff:ff promiscuity 0  allmulti 
0 minmtu 68 maxmtu 65535 
    bridge forward_delay 1500 hello_time 200 max_age 2000 ageing_time 30000 
stp_state 1 priority 24 vlan_filtering 0 vlan_protocol 802.1Q bridge_id 
0018.52:54:9f:78:6b:a4 designated_root 0018.52:54:9f:78:6b:a4 root_port 10 ....

But brctl show displays the correct designated root.

#  brctl showstp isp16bridge
isp16bridge
 bridge id              0018.52549f786ba4
 designated root        0014.52548378569e
 root port                10                    path cost                 23
 max age                  20.00                 bridge max age            20.00
 hello time                2.00                 bridge hello time          2.00
 forward delay            15.00                 bridge forward delay      15.00
 ageing time             300.00
 hello timer               0.00                 tcn timer                  0.00
 topology change timer     0.00                 gc timer                 220.12
 flags

** Affects: iproute2 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to iproute2 in Ubuntu.
Matching subscriptions: iproute2
https://bugs.launchpad.net/bugs/2094801

Title:
  ip -d link show designated_root === bridge_id != brctl showstp

Status in iproute2 package in Ubuntu:
  New

Bug description:
  ip -d link show <bridge name> always duplicates the bridge_id in the
  designated_root, even after STP bdpu traffic causes changes to the
  correct designated_root.   brctl showstp displays the correct
  designated root.

  Linux noc4 6.8.0-51-generic #52-Ubuntu SMP PREEMPT_DYNAMIC Thu Dec  5
  13:09:44 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

  root@noc4:~# apt show iproute2
  Package: iproute2
  Version: 6.1.0-1ubuntu6


  example:

  ip -d link show isp16bridge
  34: isp16bridge: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue 
state UP mode DEFAULT group default qlen 1000
      link/ether 52:54:9f:78:6b:a4 brd ff:ff:ff:ff:ff:ff promiscuity 0  
allmulti 0 minmtu 68 maxmtu 65535 
      bridge forward_delay 1500 hello_time 200 max_age 2000 ageing_time 30000 
stp_state 1 priority 24 vlan_filtering 0 vlan_protocol 802.1Q bridge_id 
0018.52:54:9f:78:6b:a4 designated_root 0018.52:54:9f:78:6b:a4 root_port 10 ....

  But brctl show displays the correct designated root.

  #  brctl showstp isp16bridge
  isp16bridge
   bridge id              0018.52549f786ba4
   designated root        0014.52548378569e
   root port                10                    path cost                 23
   max age                  20.00                 bridge max age            
20.00
   hello time                2.00                 bridge hello time          
2.00
   forward delay            15.00                 bridge forward delay      
15.00
   ageing time             300.00
   hello timer               0.00                 tcn timer                  
0.00
   topology change timer     0.00                 gc timer                 
220.12
   flags

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/iproute2/+bug/2094801/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to