sonic-net / sonic-buildimage

Scripts which perform an installable binary image build for SONiC
Other
723 stars 1.38k forks source link

port channel - cli output | when physical port assigned to Portcahnnel -its appear under vlan column of the "show interfaces status" command #8335

Open Hedgehog-Guru opened 3 years ago

Hedgehog-Guru commented 3 years ago

Description

when create port channel and assign physical interface to it , portchannel name will appear under vlan column header of the "show interface stats"

Steps to reproduce the issue:

1.create interface Portchannel 2.assigne physical port to the Portchannel 3.show interface status

Describe the results you received:

PortChannel shown under vlan column header

root@r-qa-sw-eth-21138:/home/admin# show interfaces status 
   Interface            Lanes    Speed    MTU    FEC    Alias          Vlan    Oper    Admin             Type    Asym PFC
------------  ---------------  -------  -----  -----  -------  ------------  ------  -------  ---------------  ----------
   Ethernet0          0,1,2,3      N/A   9100    N/A     etp1  PortChannel0    down       up  QSFP28 or later         N/A
   Ethernet4          4,5,6,7      N/A   9100    N/A     etp2        routed    down       up   QSFP+ or later         N/A
   Ethernet8        8,9,10,11      N/A   9100    N/A     etp3        routed    down       up  QSFP28 or later         N/A

Describe the results you expected:

vlan column should only display trunk/routed key words

Output of show version:

SONiC Software Version: SONiC.202012.139-5651977f6_Internal
Distribution: Debian 10.10
Kernel: 4.19.0-12-2-amd64
Build commit: 5651977f6
Build date: Fri Jul 30 08:36:44 UTC 2021
Built by: sw-r2d2-bot@r-build-sonic-ci02-244

Platform: x86_64-mlnx_msn3700-r0
HwSKU: ACS-MSN3700
ASIC: mellanox
ASIC Count: 1
Serial Number: MT1932X22252
Uptime: 11:54:11 up 2 days, 17 min,  1 user,  load average: 1.64, 1.20, 0.80

Docker images:
REPOSITORY                    TAG                             IMAGE ID            SIZE
docker-syncd-mlnx             202012.139-5651977f6_Internal   66622f944321        951MB
docker-syncd-mlnx             latest                          66622f944321        951MB
docker-snmp                   202012.139-5651977f6_Internal   34fc889a4fa5        443MB
docker-snmp                   latest                          34fc889a4fa5        443MB
docker-teamd                  202012.139-5651977f6_Internal   5704cb77f7a4        412MB
docker-teamd                  latest                          5704cb77f7a4        412MB
docker-router-advertiser      202012.139-5651977f6_Internal   31e9971905fc        401MB
docker-router-advertiser      latest                          31e9971905fc        401MB
docker-platform-monitor       202012.139-5651977f6_Internal   38ccaf5ba3d8        722MB
docker-platform-monitor       latest                          38ccaf5ba3d8        722MB
docker-lldp                   202012.139-5651977f6_Internal   848812823ed4        441MB
docker-lldp                   latest                          848812823ed4        441MB
docker-dhcp-relay             202012.139-5651977f6_Internal   210634cc0157        408MB
docker-dhcp-relay             latest                          210634cc0157        408MB
docker-database               202012.139-5651977f6_Internal   08ff987b833e        401MB
docker-database               latest                          08ff987b833e        401MB
docker-orchagent              202012.139-5651977f6_Internal   66f04e8a0b14        430MB
docker-orchagent              latest                          66f04e8a0b14        430MB
docker-nat                    202012.139-5651977f6_Internal   a80e2a4ba1ea        415MB
docker-nat                    latest                          a80e2a4ba1ea        415MB
docker-sonic-telemetry        202012.139-5651977f6_Internal   ee61da4e3b31        491MB
docker-sonic-telemetry        latest                          ee61da4e3b31        491MB
docker-sonic-mgmt-framework   202012.139-5651977f6_Internal   54a7d05d10cb        621MB
docker-sonic-mgmt-framework   latest                          54a7d05d10cb        621MB
docker-fpm-frr                202012.139-5651977f6_Internal   e456b89b413d        430MB
docker-fpm-frr                latest                          e456b89b413d        430MB
docker-sflow                  202012.139-5651977f6_Internal   f2ebb9f36217        413MB
docker-sflow                  latest                          f2ebb9f36217        413MB
docker-sonic-restapi          202012.139-5651977f6_Internal   9c0974ce2fa5        352MB
docker-sonic-restapi          latest                          9c0974ce2fa5        352MB

Output of show techsupport:

sonic_dump_r-qa-sw-eth-21138_20210804_115858.tar.gz

zhangyanzhao commented 3 years ago

Exists for several releases, no functional impacts. Change may cause regression in test script, keep it so far.