[email protected]:~$ show interfaces ethernet eth0 vif 201 [email protected]: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000 link/ether 00:50:56:bf:c5:6d brd ff:ff:ff:ff:ff:ff inet 172.18.201.10/24 scope global eth0.201 valid_lft forever preferred_lft forever inet6 fe80::250:56ff:febf:c56d/64 scope link valid_lft forever preferred_lft forever RX: bytes packets errors dropped overrun mcast 7709982 18978 0 0 0 2538 TX: bytes packets errors dropped carrier collisions 3202979 16353 0 0 0 0 [email protected]:~$ clear interfaces ethernet eth0.201 counters Clearing eth0.201 [email protected]:~$ show interfaces ethernet eth0 vif 201 [email protected]: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000 link/ether 00:50:56:bf:c5:6d brd ff:ff:ff:ff:ff:ff inet 172.18.201.10/24 scope global eth0.201 valid_lft forever preferred_lft forever inet6 fe80::250:56ff:febf:c56d/64 scope link valid_lft forever preferred_lft forever Last clear: Sat Jun 06 17:06:39 2020 RX: bytes packets errors dropped overrun mcast 7716884 19069 0 0 0 2539 TX: bytes packets errors dropped carrier collisions 3212691 16424 0 0 0 0
Description
Description
Details
Details
- Difficulty level
- Unknown (require assessment)
- Version
- 1.3-rolling-202006060117
- Why the issue appeared?
- Will be filled on close
- Is it a breaking change?
- Unspecified (possibly destroys the router)
- Issue type
- Bug (incorrect behavior)
Related Objects
Related Objects
Event Timeline
Comment Actions
It is really somehow was in the old backend
[email protected]:~$ ${vyatta_bindir}/vyatta-show-interfaces.pl --intf=eth1 eth1: <BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master bond1 state UP group default qlen 1000 link/ether 52:54:00:c1:05:04 brd ff:ff:ff:ff:ff:ff Last clear: Wed Sep 01 18:29:34 EEST 2021 Description: FOO RX: bytes packets errors dropped overrun mcast 556 10 0 0 0 0 TX: bytes packets errors dropped carrier collisions 738 10 0 0 0 0 [email protected]:~$ [email protected]:~$ clear interfaces ethernet eth1 sta Invalid command: clear interfaces ethernet eth1 [sta] [email protected]:~$ clear interfaces ethernet eth1 counters Clearing eth1 [email protected]:~$ [email protected]:~$ ${vyatta_bindir}/vyatta-show-interfaces.pl --intf=eth1 eth1: <BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master bond1 state UP group default qlen 1000 link/ether 52:54:00:c1:05:04 brd ff:ff:ff:ff:ff:ff Last clear: Wed Sep 01 18:34:08 EEST 2021 Description: FOO RX: bytes packets errors dropped overrun mcast 0 0 0 0 0 0 TX: bytes packets errors dropped carrier collisions 0 0 0 0 0 0 [email protected]:~$
https://github.com/vyos/vyatta-op/blob/equuleus/scripts/vyatta-show-interfaces
https://github.com/vyos/vyatta-op/blob/bb42b60786f88fcebed09358d904e6d3118dce97/scripts/vyatta-show-interfaces.pl#L373-L394
Comment Actions
Fixed in 1.3
[email protected]:~$ show interfaces counters Interface Rx Packets Rx Bytes Tx Packets Tx Bytes dum0 0 0 0 0 eth0 126 9952 76 10316 eth1 4 280 5 523 eth2 37 1924 0 0 lo 6 300 6 300 [email protected]:~$ [email protected]:~$ clear interfaces ethernet eth1 counters Clearing eth1 [email protected]:~$ show interfaces counters Interface Rx Packets Rx Bytes Tx Packets Tx Bytes dum0 0 0 0 0 eth0 182 14550 108 14340 eth1 0 0 0 0 eth2 42 2184 0 0 lo 6 300 6 300 [email protected]:~$