Hi All,
Just wanted to touch base here before submitting a bug on bugzilla to ensure I am not missing anything.
A VyOs 1.1.6 install without any tunnel interfaces does not have any issues with the following commands:
show interfaces counters
show interfaces details
vyos@vyos:~$ show interfaces counters
Interface Rx Packets Rx Bytes Tx Packets Tx Bytes
eth0 4001 265310 354 47538
lo 16138 975272 16138 975272
vyos@vyos:~$
vyos@vyos:~$
vyos@vyos:~$
vyos@vyos:~$ show interfaces detail
eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether 08:00:27:b4:03:62 brd ff:ff:ff:ff:ff:ff
inet 100.64.0.5/24 brd 100.64.0.255 scope global eth0
valid_lft forever preferred_lft forever
inet6 fe80::a00:27ff:feb4:362/64 scope link
valid_lft forever preferred_lft forever
RX: bytes packets errors dropped overrun mcast
266924 4021 0 0 0 4
TX: bytes packets errors dropped carrier collisions
49172 367 0 0 0 0
lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
RX: bytes packets errors dropped overrun mcast
975512 16142 0 0 0 0
TX: bytes packets errors dropped carrier collisions
975512 16142 0 0 0 0
vyos@vyos:~$
However, configuring a tunnel interface as follows:
vyos@vyos# show interfaces tunnel
+tunnel tun0 {
+ address 192.168.1.4/24
+ encapsulation gre
+ local-ip 0.0.0.0
+ multicast enable
+ parameters {
+ ip {
+ key 1
+ }
+ }
+}
Results in the following errors in the aforementioned commands:
- Can’t call method “up” on an undefined value at /opt/vyatta/bin/vyatta-show-interfaces.pl line 128.
- Can’t call method “path” on an undefined value at /opt/vyatta/share/perl5//Vyatta/Misc.pm line 540.
The full output is below:
vyos@vyos:~$ show interfaces counters
Can't call method "up" on an undefined value at /opt/vyatta/bin/vyatta-show-interfaces.pl line 128.
Interface Rx Packets Rx Bytes Tx Packets Tx Bytes
eth0 4225 284430 516 67740
vyos@vyos:~$
vyos@vyos:~$ show interfaces detail
Can't call method "path" on an undefined value at /opt/vyatta/share/perl5//Vyatta/Misc.pm line 540.
eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether 08:00:27:b4:03:62 brd ff:ff:ff:ff:ff:ff
inet 100.64.0.5/24 brd 100.64.0.255 scope global eth0
valid_lft forever preferred_lft forever
inet6 fe80::a00:27ff:feb4:362/64 scope link
valid_lft forever preferred_lft forever
RX: bytes packets errors dropped overrun mcast
286260 4244 0 0 0 4
TX: bytes packets errors dropped carrier collisions
70084 536 0 0 0 0
vyos@vyos:~$
Running the command show interfaces system has the expected output.
Has anyone else seen this behaviour on a brand new install of VyOs 1.1.6?