From 32a608e73d745e9d2dc902fa17fa577e7d7a9367 Mon Sep 17 00:00:00 2001 From: momo Date: Thu, 22 Oct 2015 09:58:19 +0200 Subject: [PATCH] adding support for iosxr --- lg.cgi | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/lg.cgi b/lg.cgi index 6d919c4..24b1330 100755 --- a/lg.cgi +++ b/lg.cgi @@ -82,6 +82,22 @@ my %valid_query = ( "trace" => "traceroute ipv6 %s" } }, + "iosxr" => { + "ipv4" => { + "bgp" => "show bgp ipv4 unicast %s", + "advertised-routes" => "show bgp ipv4 unicast neighbors %s advertised-routes", + "summary" => "show bgp ipv4 unicast summary", + "ping" => "ping %s", + "trace" => "traceroute %s" + }, + "ipv6" => { + "bgp" => "show bgp ipv6 unicast %s", + "advertised-routes" => "show bgp ipv6 unicast neighbors %s advertised-routes", + "summary" => "show bgp ipv6 unicast summary", + "ping" => "ping ipv6 %s", + "trace" => "traceroute ipv6 %s" + } + }, "zebra" => { "ipv4" => { "bgp" => "show ip bgp %s",