Page 1 of 1

Winbox +CRS326 - "unknown" port name in switch host table

Posted: Tue Oct 15, 2019 10:56 pm
by BubaKukin
Winbox 3.20, CRS326-24G, ROS 6.45.6
I have 3 bonding ports (LACP) on my switch - t1 ,t2 and t3. When I look at the host table, I can not determine the port name.
mik_hosts1.png
But everything is ok in the terminal window
mik_hosts2.png

Re: Winbox +CRS326 - "unknown" port name in switch host table

Posted: Wed Dec 11, 2019 6:03 pm
by Lekas
I +1

Re: Winbox +CRS326 - "unknown" port name in switch host table

Posted: Thu Dec 12, 2019 9:15 am
by EdPa
Thank you for letting us know. This is a cosmetic issue in WinBox and we will fix it in further releases. If you run this command in CLI, you will see correct interface name:
/interface ethernet switch host print

Re: Winbox +CRS326 - "unknown" port name in switch host table

Posted: Tue Dec 17, 2019 9:02 pm
by sid5632
I've just had an instance of something similar...
This was on a 951G-2HnD running 6.44.6 (long-term) and Winbox 3.20.
The VLAN tab showed "unknown" for all the ports apart from switch1-cpu.
When I attempted to Copy an entry (vlan 12 to vlan 13) it got the port wrong, as this export shows:

/interface ethernet switch vlan
add independent-learning=yes ports=switch1-cpu,ether2 switch=switch1 vlan-id=12
add independent-learning=yes ports=switch1-cpu,ether1 switch=switch1 vlan-id=13

so it's not just cosmetic, as "ether1" should be "ether2" for vlan 13.

Re: Winbox +CRS326 - "unknown" port name in switch host table

Posted: Wed Dec 18, 2019 8:46 am
by EdPa
The reported problem on the first post is only related to CRS3xx with HW-offloaded bond interfaces.

sid5632, I did not quite catch how did you repeat yours. Can you share some screenshots and provide "/interface export"?

Re: Winbox +CRS326 - "unknown" port name in switch host table

Posted: Fri Dec 20, 2019 12:11 pm
by sid5632
It's a bit intermittent (sometimes it shows the correct names, sometimes it doesn't), but I managed to reproduce it:
eth-unknown.png

/interface ethernet switch port print 
Flags: I - invalid 
 #   NAME                    SWITCH                    VLAN-MODE VLAN-HEADER    DEFAULT-VLAN-ID
 0   ether1-wan              switch1                   secure    always-strip                10
 1   ether2                  switch1                   secure    leave-as-is               auto
 2   ether3                  switch1                   secure    always-strip                99
 3   ether4                  switch1                   secure    always-strip                99
 4   ether5                  switch1                   secure    always-strip                99
 5   switch1-cpu             switch1                   secure    leave-as-is               auto

/interface ethernet switch vlan print 
Flags: X - disabled, I - invalid 
 #   SWITCH                                    VLAN-ID PORTS                                  
 0   switch1                                         0 switch1-cpu                            
                                                       ether3                                 
                                                       ether4                                 
                                                       ether5                                 
 1   switch1                                        10 switch1-cpu                            
                                                       ether1-wan                             
                                                       ether2                                 
 2   switch1                                        11 switch1-cpu                            
                                                       ether2                                 
 3   switch1                                        12 switch1-cpu                 
                                                       ether2                      
 4   switch1                                        13 switch1-cpu                 
                                                       ether2                      
<snip>

# dec/20/2019 09:50:20 by RouterOS 6.44.6
# software id = xxxx-yyyy
#
# model = 951G-2HnD
# serial number = xxxxxxxxxxxx
/interface ethernet
set [ find default-name=ether1 ] comment=WAN name=ether1-wan
set [ find default-name=ether2 ] comment=Trunk
set [ find default-name=ether3 ] disabled=yes
set [ find default-name=ether4 ] disabled=yes
set [ find default-name=ether5 ] comment=Management
/interface ethernet switch port
set 0 default-vlan-id=10 vlan-header=always-strip vlan-mode=secure
set 1 vlan-mode=secure
set 2 default-vlan-id=99 vlan-header=always-strip vlan-mode=secure
set 3 default-vlan-id=99 vlan-header=always-strip vlan-mode=secure
set 4 default-vlan-id=99 vlan-header=always-strip vlan-mode=secure
set 5 vlan-mode=secure
/interface ethernet switch vlan
add independent-learning=yes ports=switch1-cpu,ether3,ether4,ether5 switch=switch1
add independent-learning=yes ports=switch1-cpu,ether1-wan,ether2 switch=switch1 vlan-id=10
add independent-learning=yes ports=switch1-cpu,ether2 switch=switch1 vlan-id=11
add independent-learning=yes ports=switch1-cpu,ether2 switch=switch1 vlan-id=12
add independent-learning=yes ports=switch1-cpu,ether2 switch=switch1 vlan-id=13
<snip>