sonic-net / sonic-buildimage

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

the portchannel can‘t forward traffic when one of the member interfaces is down #3026

Open tim-rj opened 5 years ago

tim-rj commented 5 years ago

Description 图片 图片 config portchannel100 and have 3 member interface 。shutdown one of the member interface then can't Ping the portchannel ip address

Steps to reproduce the issue:

  1. config portchannel100 and config 3 member interfaces,
  2. shutdown one of 3 member interfaces, eg. Ethernet10
  3. ping portchannel100 not work

Describe the results you received: the portchannel can‘t forward traffic when one of the member interfaces is down

Describe the results you expected: the portchannel can forward traffic when the member interfaces is not all down

Additional information you deem important (e.g. issue happens only occasionally):

**Output of `show version`:**

```
    root@switch2:/home/admin# show version
SONiC Software Version: SONiC.201803_rj.0-e08585c-20181112.173104
Distribution: Debian 8.11
Kernel: 3.16.0-5-amd64
Build commit: e08585c
Build date: Mon Nov 12 17:34:28 UTC 2018
Built by: ngcf@ubuntu01

Docker images:
REPOSITORY TAG IMAGE ID SIZE
docker-orchagent-brcm 201803_rj.0-e08585c-20181112.173104 0433c86e8236 364.6 MB
docker-orchagent-brcm latest 0433c86e8236 364.6 MB
docker-teamd 201803_rj.0-e08585c-20181112.173104 ed519ebb0fd1 355.9 MB
docker-teamd latest ed519ebb0fd1 355.9 MB
docker-fpm-frr 201803_rj.0-e08585c-20181112.173104 61062f47599b 360.8 MB
docker-fpm-frr latest 61062f47599b 360.8 MB
docker-syncd-brcm 201803_rj.0-e08585c-20181112.173104 17d79df514be 986.3 MB
docker-syncd-brcm latest 17d79df514be 986.3 MB
docker-lldp-sv2 201803_rj.0-e08585c-20181112.173104 568c8e9e8a38 365.3 MB
docker-lldp-sv2 latest 568c8e9e8a38 365.3 MB
docker-snmp-sv2 201803_rj.0-e08585c-20181112.173104 c33aa2ec4024 387.9 MB
docker-snmp-sv2 latest c33aa2ec4024 387.9 MB
docker-dhcp-relay 201803_rj.0-e08585c-20181112.173104 12c248ab9d8a 350.1 MB
docker-dhcp-relay latest 12c248ab9d8a 350.1 MB
docker-database 201803_rj.0-e08585c-20181112.173104 adc4ea49461d 350.6 MB
docker-database latest adc4ea49461d 350.6 MB
docker-platform-monitor 201803_rj.0-e08585c-20181112.173104 0dcef9a1dba4 367.1 MB
docker-platform-monitor latest 0dcef9a1dba4 367.1 MB
docker-router-advertiser 201803_rj.0-e08585c-20181112.173104 fb44da76b084 348.2 MB
docker-router-advertiser latest fb44da76b084 348.2 MB

GIT version:
MODULE BRANCH COMMIT_ID VERSION
sonic-swss-common 201803_rj 60a0a29dd09a
sonic-kernel 201803_rj 6cfcef24f4e0
sonic-sairedis 201803_rj c57b29a053e2
sonic-swss 201803_rj 3791b9405874
sonic-quagga 201803_rj b497e090787c
sonic-dbsync 201803_rj 1d0b2165e097
sonic-py-swsssdk 201803_rj ca540c9c51e2
sonic-snmpagent 201803_rj 12bc0e0c9843
sonic-ptf 201803_rj aac6efd0a78b
sonic-utilities 201803_rj d3bbeec71330
sonic-platform-common 201803_rj 0a6094670d0c
sonic-platform-daemons 201803_rj 31c007e260ba
sonic-frr 201803_rj 26473f4b87c5
sonic-platform-modules-ruijie master 6a72c5a09299
sonic-sai 201803_rj c7c198d7d2cb
sonic-ptf-sairedis 201803_rj aac6efd0a78b
sonic-saithrift-ctypesgen 201803_rj 3d2d98033395
sonic-googletest 201803_rj ec44c6c1675c
sonic-brcm-sai brcm-sai-GA ad131e7a1157
sonic-initramfs-tools 201803_rj 8ec9eca084bf
sonic-libteam master 8c1cea00a219 v1.26
sonic-libteam-debian master da006f226c53 da006f2
sonic-supervisor master a0357ede160b
sonic-isc-dhcp master 2d3e64765d60
sonic-lldpd master 8dbb60788136
sonic-libnl3 master b77c0e49cb64 b77c0e49c
sonic-pam_tacplus master 8dddbec2940f v1.4.1
sonic-libnss-tacplus master 19008ab68d9d 19008ab

SDK version:
||/ Name Version Architecture Description
+++-==============================-============-============-==========================================================
ii libopennsl 3.5.0.4 amd64 shared library for broadcom opennsl sdk
ii libopennsl-dev 3.5.0.4 amd64 development library for broadcom opennsl sdk
ii libsaibcm 3.2.1.1 amd64 Switch Abstraction Interface sdk based on Broadcom opennsl
ii opennsl-modules-3.16.0-5-amd64 3.5.0.4 amd64 kernel modules for broadcom opennsl sdk
```

**Attach debug file `sudo generate_dump`:**

```
(paste your output here)
```
madhukar-kamarapu commented 5 years ago
  1. Can you share the output of teamshow?
  2. Did you debug if the ICMP request is coming to the port-channel members that are Up (tcpdump on the 2 interfaces would help)?