CLI: show nat source translations with VRF throws error


Working hard on validating a VRF design using Vy. I know it is early with VRF so I am trying to provide as much as possible when I see an issue.

With NAT masq within a VRF, I am given the following error when trying to view the translations, please note that NAT is working as it should, but the command output is not working:

vyos@user-vr:~$ sho nat source translations
Pre-NAT Post-NAT Prot Timeout
Traceback (most recent call last):
File “/usr/libexec/vyos/op_mode/”, line 200, in
File “/usr/libexec/vyos/op_mode/”, line 196, in main
process(run(command(arg.type, arg.proto, arg.ipaddr)), arg.stats, arg.proto, arg.pipe, arg.verbose, arg.type)
File “/usr/libexec/vyos/op_mode/”, line 106, in process
rule_type = rule.get(‘type’, ‘’)
AttributeError: ‘str’ object has no attribute ‘get’

while show nat source statistics seems work work correctly

vyos@user-vr:~$ sho nat source statistics
rule pkts bytes interface
5 0 0 eth1.1702
7 0 0 eth0
10 0 0 eth1.1703

my current version:

Version: VyOS 1.3-rolling-202011200217
Release Train: equuleus

Thanks in advance,


@dbenson this is already known but unfortunately not yet fixed.

Thank you.

Will close case.


This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.