https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252532

            Bug ID: 252532
           Summary: ifconfig incorrectly displays stp roles
           Product: Base System
           Version: CURRENT
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: kern
          Assignee: b...@freebsd.org
          Reporter: jcap...@blackberry.com

Overview: 

Steps to Reproduce:

1. create a bridge
2. add a member interface
3. enable stp for the member
4. check member role in ifconfig output


Actual Results: 

# ifconfig bridge0
bridge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500   
        ether 58:9c:fc:10:ff:e0                                                 
        id 02:21:4d:ed:52:0b priority 32768 hellotime 2 fwddelay 15             
        maxage 20 holdcnt 6 proto stp-rstp maxaddr 2000 timeout 1200            
        root id 02:21:4d:ed:52:0a priority 32768 ifcost 2000 port 11            
        member: epair2b flags=1c7<LEARNING,DISCOVER,STP,AUTOEDGE,PTP,AUTOPTP>   
                ifmaxaddr 0 port 11 priority 128 path cost 2000 <unknown proto
2>                                                                              
                <unknown role 1> state forwarding                               


Expected Results: 

# ifconfig bridge0
bridge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500   
        ether 58:9c:fc:10:ff:e0                                                 
        id 02:21:4d:ed:52:0b priority 32768 hellotime 2 fwddelay 15             
        maxage 20 holdcnt 6 proto stp-rstp maxaddr 2000 timeout 1200            
        root id 02:21:4d:ed:52:0a priority 32768 ifcost 2000 port 11            
        member: epair2b flags=1c7<LEARNING,DISCOVER,STP,AUTOEDGE,PTP,AUTOPTP>   
                ifmaxaddr 0 port 11 priority 128 path cost 2000 <unknown proto
2>                                                                              
                role root state forwarding                                

Build Date & Hardware:

13.0-CURRENT FreeBSD 13.0-CURRENT #0 r368820: Tue Jan  5 17:30:19 EST 2021

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to