Skip to content

Before issue “sonic-clear counters”, “show interface counters” result not complete #2738

Open
@keboliu

Description

@keboliu

Description

Before issue “sonic-clear counters”, with command “show interface counters”, several columns in the output is ‘N/A’
show-counter-error

After issue command “sonic-clear counters”, the output of “show interface couters” changed, the previous “N/A” columns have number now. So why not have numbers for the columns from the very beginning but only after a “clear”?

show-counter-ok

Steps to reproduce the issue:

  1. issue “show interface counters” command after switch boot up

Describe the results you received:
as above pic

Describe the results you expected:

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

**Output of `show version`:**

```
SONiC Software Version: SONiC.HEAD.36-5043e22
Distribution: Debian 9.8
Kernel: 4.9.0-8-amd64
Build commit: 5043e22
Build date: Thu Mar 28 04:18:47 UTC 2019
Built by: johnar@jenkins-worker-3

```

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

```
(paste your output here)
```

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions