-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Open
Description
I have the below list of port channel in my device
root@sonic-testing:/home/admin# teamshow
Flags: A - active, I - inactive, Up - up, Dw - Down, N/A - not available, S - selected, D - deselected
No. Team Dev Protocol Ports
----- --------------- ----------- ---------------------------
PortChannel LACP(A)(Dw) N/A
001 PortChannel001 LACP(A)(Dw) Ethernet8(D) Ethernet4(D)
0001 PortChannel0001 LACP(A)(Dw) Ethernet64(D) Ethernet60(D)
nel PortChannelnel LACP(A)(Dw) N/A
Now I am trying to delete a member (Ethernet8) from PortChannel001 using below command
root@sonic-testing:/home/admin# config portchannel member del PortChannel001 Ethernet8
root@sonic-testing:/home/admin# teamshow
Flags: A - active, I - inactive, Up - up, Dw - Down, N/A - not available, S - selected, D - deselected
No. Team Dev Protocol Ports
----- --------------- ----------- ---------------------------
PortChannel LACP(A)(Dw) N/A
001 PortChannel001 LACP(A)(Dw) Ethernet4(D)
0001 PortChannel0001 LACP(A)(Dw) Ethernet64(D) Ethernet60(D)
nel PortChannelnel LACP(A)(Dw) N/A
Observed that port channel member is deleted.
Similar way, I tried to delete non existing member of PortChannel001 as below
root@sonic-testing:/home/admin# config portchannel member del PortChannel001 Ethernet60
root@sonic-testing:/home/admin# teamshow
Flags: A - active, I - inactive, Up - up, Dw - Down, N/A - not available, S - selected, D - deselected
No. Team Dev Protocol Ports
----- --------------- ----------- ---------------------------
PortChannel LACP(A)(Dw) N/A
001 PortChannel001 LACP(A)(Dw) Ethernet4(D)
0001 PortChannel0001 LACP(A)(Dw) Ethernet64(D) Ethernet60(D)
nel PortChannelnel LACP(A)(Dw) N/A
No error / validation message displayed when we try to delete non existing member of port channel.
Same way I did for Existing port channel and Non Existing port channel. Observed same behavior.
root@sonic-testing:/home/admin# config portchannel del TestingChannel
root@sonic-testing:/home/admin# teamshow
Flags: A - active, I - inactive, Up - up, Dw - Down, N/A - not available, S - selected, D - deselected
No. Team Dev Protocol Ports
----- --------------- ----------- ---------------------------
001 PortChannel001 LACP(A)(Dw) Ethernet4(D)
0001 PortChannel0001 LACP(A)(Dw) Ethernet64(D) Ethernet60(D)
root@sonic-testing:/home/admin# config portchannel del Testing
root@sonic-testing:/home/admin# teamshow
Flags: A - active, I - inactive, Up - up, Dw - Down, N/A - not available, S - selected, D - deselected
No. Team Dev Protocol Ports
----- --------------- ----------- ---------------------------
001 PortChannel001 LACP(A)(Dw) Ethernet4(D)
0001 PortChannel0001 LACP(A)(Dw) Ethernet64(D) Ethernet60(D)
Please fix this issue as it is very confusing to end user.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels