The description for the static table x route should not contain white-spaces as it actually used as alias to the table
set protocols static table 10 description "mytable" commit
Check:
vyos@r-left# sudo ip route show table mytable 100.64.22.0/24 nhid 22 via 192.168.122.15 dev eth1 proto bgp metric 20 [edit] vyos@r-left# cat /etc/iproute2/rt_tables.d/vyos-static.conf # Generated by VyOS (protocols_static.py), do not edit by hand 10 mytable [edit] vyos@r-left#
Set some odd description:
vyos@r-left# set protocols static table 10 description "my table" [edit] vyos@r-left# commit [edit] vyos@r-left# cat /etc/iproute2/rt_tables.d/vyos-static.conf # Generated by VyOS (protocols_static.py), do not edit by hand 10 my table [edit] vyos@r-left# sudo ip route show table 'my table' Error: argument "my table" is wrong: table id value is invalid [edit] vyos@r-left# vyos@r-left# sudo ip route show table my 100.64.22.0/24 nhid 22 via 192.168.122.15 dev eth1 proto bgp metric 20 [edit] vyos@r-left#