From c23775d29fd3bebbfd6ae9483fd12f2fb643c9a2 Mon Sep 17 00:00:00 2001 From: Jonathan Voss Date: Mon, 29 Jan 2024 22:04:47 -0600 Subject: rpki: T6003: Add 'show rpki as-number' and 'show rpki prefix' --- op-mode-definitions/rpki.xml.in | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) (limited to 'op-mode-definitions') diff --git a/op-mode-definitions/rpki.xml.in b/op-mode-definitions/rpki.xml.in index 72d378b88..9e0f83e20 100644 --- a/op-mode-definitions/rpki.xml.in +++ b/op-mode-definitions/rpki.xml.in @@ -7,6 +7,15 @@ Show RPKI (Resource Public Key Infrastructure) information + + + Lookup by ASN in prefix table + + <ASNUM> + + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + Show RPKI cache connections @@ -19,6 +28,26 @@ vtysh -c "show rpki cache-server" + + + Lookup IP prefix and optionally ASN in prefix table + + <x.x.x.x/x> <h:h:h:h:h:h:h:h/x> + + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + AS Number + + <ASNUM> + + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $(echo $@ | sed -e "s/as-number //g") + + + Show RPKI-validated prefixes -- cgit v1.2.3