Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No CLI to check router interface counters #2048

Open
andriymoroz-mlnx opened this issue Sep 13, 2018 · 3 comments
Open

No CLI to check router interface counters #2048

andriymoroz-mlnx opened this issue Sep 13, 2018 · 3 comments
Assignees

Comments

@andriymoroz-mlnx
Copy link
Collaborator

Description

If packets dropped on router interface (no route or ARP resolution failed) we don’t see such counters

Steps to reproduce the issue:

  1. On typical ptf32 topology send UC traffic with DST IP which cannot be routed (no route for example)
  2. check "show interfaces counters"
  3. no counters show drops
  4. no way to check where it was dropped

Describe the results you received:

Describe the results you expected:
some utility to check router interface counters

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

Output of show version:
SONiC Software Version: SONiC.HEAD.6-6cf2d10
Attach debug file sudo generate_dump:

```
(paste your output here)
```
@stcheng
Copy link
Contributor

stcheng commented Sep 13, 2018

could you add more information here? I wonder what would be the output of the command portstat. Will the portstat provide correct information of the drop counters for each of the interfaces?

@andriymoroz-mlnx
Copy link
Collaborator Author

portstat or "show interfaces counters" prints physical interfaces counters
if drops happen due to routing error it is not reflected there
I faced this during debugging. Maybe we need another utility to show that counters/groups of counters?

@xinliu-seattle
Copy link
Contributor

Triaged, will take it with MLNX offline.

@yxieca yxieca assigned lguohan and unassigned xinliu-seattle Sep 19, 2019
stephenxs added a commit to stephenxs/sonic-buildimage that referenced this issue Nov 30, 2021
f6f6f86 [mclaglink] fix acl out ports (sonic-net#2026)
fd887bf [Reclaim buffer] Reclaim unused buffer for dynamic buffer model (sonic-net#1910)
9258978 [orchagent, cfgmgr] Add response publisher and state recording (sonic-net#1992)
3d862a7 Fixing subport vs test script for subport under VNET (sonic-net#2048)
fb0a5fd Don't handle buffer pool watermark during warm reboot reconciling (sonic-net#1987)
16d4bcd Routed subinterface enhancements (sonic-net#1907)
9639db7 [vstest/subintf] Add vs test to validate sub interface ingress to a vnet (sonic-net#1642)

Signed-off-by: Stephen Sun <[email protected]>
stephenxs added a commit to stephenxs/sonic-buildimage that referenced this issue Dec 2, 2021
9258978 [orchagent, cfgmgr] Add response publisher and state recording (sonic-net#1992)
3d862a7 Fixing subport vs test script for subport under VNET (sonic-net#2048)
fb0a5fd Don't handle buffer pool watermark during warm reboot reconciling (sonic-net#1987)

Signed-off-by: Stephen Sun <[email protected]>
theasianpianist pushed a commit to theasianpianist/sonic-buildimage that referenced this issue Feb 5, 2022
* Fixed subport vs test script for subport under VNET
taras-keryk pushed a commit to taras-keryk/sonic-buildimage that referenced this issue Apr 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants