From b1f91de44dffa2145b9fe8235a3ff2e4925610f1 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Tue, 9 Feb 2021 22:22:21 +0100 Subject: xml: op-mode: remove absolute path from vtysh (cherry picked from commit 46b749388e0198f0cb3eb5eca1bd1d6e940b2702) --- op-mode-definitions/show-ip-route.xml.in | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) (limited to 'op-mode-definitions/show-ip-route.xml.in') diff --git a/op-mode-definitions/show-ip-route.xml.in b/op-mode-definitions/show-ip-route.xml.in index a98048785..729572b4a 100644 --- a/op-mode-definitions/show-ip-route.xml.in +++ b/op-mode-definitions/show-ip-route.xml.in @@ -11,13 +11,13 @@ Show IP routes - /usr/bin/vtysh -c "show ip route" + vtysh -c "show ip route" Show IP BGP routes - /usr/bin/vtysh -c "show ip route bgp" + vtysh -c "show ip route bgp" @@ -38,7 +38,7 @@ Show IP connected routes - /usr/bin/vtysh -c "show ip route connected" + vtysh -c "show ip route connected" @@ -59,43 +59,43 @@ Show IP IS-IS routes - /usr/bin/vtysh -c "show ip route isis" + vtysh -c "show ip route isis" Show IP kernel routes - /usr/bin/vtysh -c "show ip route kernel" + vtysh -c "show ip route kernel" Show IP OSPF routes - /usr/bin/vtysh -c "show ip route ospf" + vtysh -c "show ip route ospf" Show IP RIP routes - /usr/bin/vtysh -c "show ip route rip" + vtysh -c "show ip route rip" Show IP static routes - /usr/bin/vtysh -c "show ip route static" + vtysh -c "show ip route static" Show IP routes summary - /usr/bin/vtysh -c "show ip route summary" + vtysh -c "show ip route summary" Show IP supernet routes - /usr/bin/vtysh -c "show ip route supernets-only" + vtysh -c "show ip route supernets-only" @@ -109,7 +109,7 @@ <1-200> - /usr/bin/vtysh -c "show ip route table $5" + vtysh -c "show ip route table $5" @@ -123,7 +123,7 @@ <1-4294967295> - /usr/bin/vtysh -c "show ip route tag $5" + vtysh -c "show ip route tag $5" @@ -138,7 +138,7 @@ vrf name - /usr/bin/vtysh -c "show ip route vrf $5" + vtysh -c "show ip route vrf $5" @@ -149,13 +149,13 @@ <x.x.x.x> <x.x.x.x/x> - /usr/bin/vtysh -c "show ip route $4" + vtysh -c "show ip route $4" Show longer prefixes of routes for specified IP address or prefix - /usr/bin/vtysh -c "show ip route $4 longer-prefixes" + vtysh -c "show ip route $4 longer-prefixes" -- cgit v1.2.3