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

"sh interface" shows deleted interfaces #1557

Closed
patrick7 opened this issue Dec 16, 2017 · 2 comments
Closed

"sh interface" shows deleted interfaces #1557

patrick7 opened this issue Dec 16, 2017 · 2 comments
Assignees

Comments

@patrick7
Copy link

patrick7 commented Dec 16, 2017

"show interfaces" shows interfaces which are not existing anymore (there is no config for the interfaces)

(fra1)root@cr1:~# ip link sh|grep eno7
7: eno7: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq master br0 state UP mode DEFAULT group default qlen 1000
(fra1)root@cr1:~# vtysh -c "sh interface"|grep eno7
Interface eno7 is up, line protocol is up
Interface eno7.301 is down
Interface eno7.304 is down
Interface eno7.305 is down
Interface eno7.306 is down

If 'no interface X' is executed, the interface disappears from "show int".
I think we should only display interfaces which a) have some config or b) are existing.

v3.0.2

@qlyoung
Copy link
Member

qlyoung commented Apr 17, 2019

This is still a bug in 7.0

@qlyoung qlyoung added the bug label Apr 17, 2019
@qlyoung qlyoung changed the title "sh interface" "sh interface" shows deleted interfaces Apr 17, 2019
@cynron
Copy link

cynron commented Jan 13, 2020

#5009

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

5 participants