summaryrefslogtreecommitdiff
path: root/op-mode-definitions/show-ip-route.xml.in
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-02-09 22:22:21 +0100
committerChristian Poessinger <christian@poessinger.com>2021-02-09 22:29:05 +0100
commitb1f91de44dffa2145b9fe8235a3ff2e4925610f1 (patch)
treec70b0e5f485ce6448c0675dc8acb62287b6998c2 /op-mode-definitions/show-ip-route.xml.in
parente339f61a591e760ccd1dfa0b47dc466056bd0be0 (diff)
downloadvyos-1x-b1f91de44dffa2145b9fe8235a3ff2e4925610f1.tar.gz
vyos-1x-b1f91de44dffa2145b9fe8235a3ff2e4925610f1.zip
xml: op-mode: remove absolute path from vtysh
(cherry picked from commit 46b749388e0198f0cb3eb5eca1bd1d6e940b2702)
Diffstat (limited to 'op-mode-definitions/show-ip-route.xml.in')
-rw-r--r--op-mode-definitions/show-ip-route.xml.in30
1 files changed, 15 insertions, 15 deletions
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 @@
<properties>
<help>Show IP routes</help>
</properties>
- <command>/usr/bin/vtysh -c "show ip route"</command>
+ <command>vtysh -c "show ip route"</command>
<children>
<leafNode name="bgp">
<properties>
<help>Show IP BGP routes</help>
</properties>
- <command>/usr/bin/vtysh -c "show ip route bgp"</command>
+ <command>vtysh -c "show ip route bgp"</command>
</leafNode>
<node name="cache">
<properties>
@@ -38,7 +38,7 @@
<properties>
<help>Show IP connected routes</help>
</properties>
- <command>/usr/bin/vtysh -c "show ip route connected"</command>
+ <command>vtysh -c "show ip route connected"</command>
</leafNode>
<node name="forward">
<properties>
@@ -59,43 +59,43 @@
<properties>
<help>Show IP IS-IS routes</help>
</properties>
- <command>/usr/bin/vtysh -c "show ip route isis"</command>
+ <command>vtysh -c "show ip route isis"</command>
</leafNode>
<leafNode name="kernel">
<properties>
<help>Show IP kernel routes</help>
</properties>
- <command>/usr/bin/vtysh -c "show ip route kernel"</command>
+ <command>vtysh -c "show ip route kernel"</command>
</leafNode>
<leafNode name="ospf">
<properties>
<help>Show IP OSPF routes</help>
</properties>
- <command>/usr/bin/vtysh -c "show ip route ospf"</command>
+ <command>vtysh -c "show ip route ospf"</command>
</leafNode>
<leafNode name="rip">
<properties>
<help>Show IP RIP routes</help>
</properties>
- <command>/usr/bin/vtysh -c "show ip route rip"</command>
+ <command>vtysh -c "show ip route rip"</command>
</leafNode>
<leafNode name="static">
<properties>
<help>Show IP static routes</help>
</properties>
- <command>/usr/bin/vtysh -c "show ip route static"</command>
+ <command>vtysh -c "show ip route static"</command>
</leafNode>
<leafNode name="summary">
<properties>
<help>Show IP routes summary</help>
</properties>
- <command>/usr/bin/vtysh -c "show ip route summary"</command>
+ <command>vtysh -c "show ip route summary"</command>
</leafNode>
<leafNode name="supernets-only">
<properties>
<help>Show IP supernet routes</help>
</properties>
- <command>/usr/bin/vtysh -c "show ip route supernets-only"</command>
+ <command>vtysh -c "show ip route supernets-only"</command>
</leafNode>
<node name="table">
<properties>
@@ -109,7 +109,7 @@
<list>&lt;1-200&gt;</list>
</completionHelp>
</properties>
- <command>/usr/bin/vtysh -c "show ip route table $5"</command>
+ <command>vtysh -c "show ip route table $5"</command>
</tagNode>
<node name="tag">
<properties>
@@ -123,7 +123,7 @@
<list>&lt;1-4294967295&gt;</list>
</completionHelp>
</properties>
- <command>/usr/bin/vtysh -c "show ip route tag $5"</command>
+ <command>vtysh -c "show ip route tag $5"</command>
</tagNode>
<node name="vrf">
<properties>
@@ -138,7 +138,7 @@
<path>vrf name</path>
</completionHelp>
</properties>
- <command>/usr/bin/vtysh -c "show ip route vrf $5"</command>
+ <command>vtysh -c "show ip route vrf $5"</command>
</tagNode>
</children>
</node>
@@ -149,13 +149,13 @@
<list>&lt;x.x.x.x&gt; &lt;x.x.x.x/x&gt;</list>
</completionHelp>
</properties>
- <command>/usr/bin/vtysh -c "show ip route $4"</command>
+ <command>vtysh -c "show ip route $4"</command>
<children>
<leafNode name="longer-prefixes">
<properties>
<help>Show longer prefixes of routes for specified IP address or prefix</help>
</properties>
- <command>/usr/bin/vtysh -c "show ip route $4 longer-prefixes"</command>
+ <command>vtysh -c "show ip route $4 longer-prefixes"</command>
</leafNode>
</children>
</tagNode>