VPN Interface counters not displaying properly.


#1

The VPN interface of a GRE/IPsec tunnel is not showing the correct counters.

[quote]vyos@DATACENTER:~$ show interfaces tunnel tun0
tun0: <POINTOPOINT,NOARP,UP,LOWER_UP> mtu 16412 qdisc noqueue state UNKNOWN
link/gre localip peer remoteip
inet 172.16.200.2/24 brd 172.16.200.255 scope global tun0
inet6 fe80::5efe:a00:2/64 scope link
valid_lft forever preferred_lft forever

RX:  bytes    packets     errors    dropped    overrun      mcast
  14364002     123409          0          0          0          0
TX:  bytes    packets     errors    dropped    carrier collisions
   1939008      15351          0          0          0          0

[/quote]

[quote]vyos@DATACENTER:~$ sh vpn ipsec sa
Peer ID / IP Local ID / IP


remoteip localip

Tunnel  State  Bytes Out/In   Encrypt  Hash  NAT-T  A-Time  L-Time  Proto
------  -----  -------------  -------  ----  -----  ------  ------  -----
1       up     502.9M/156.0M  aes128   sha1  no     2332    3600    all

[/quote]

Here is the configuration. Maybe I’m wrong.

Configuration