summaryrefslogtreecommitdiff
path: root/op-mode-definitions
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-02-09 22:02:07 +0100
committerChristian Poessinger <christian@poessinger.com>2021-02-09 22:02:07 +0100
commit72c82bf8f2c294ca9023d2cbf9285b679188fae3 (patch)
tree05adf734bc1e46ccacbb01520daa111e404f6303 /op-mode-definitions
parenta88f543c734548e6924aee9f26268241c948a241 (diff)
downloadvyos-1x-72c82bf8f2c294ca9023d2cbf9285b679188fae3.tar.gz
vyos-1x-72c82bf8f2c294ca9023d2cbf9285b679188fae3.zip
xml: bgp: remove absolute path from vtysh
Diffstat (limited to 'op-mode-definitions')
-rw-r--r--op-mode-definitions/show-ip-bgp.xml.in94
1 files changed, 47 insertions, 47 deletions
diff --git a/op-mode-definitions/show-ip-bgp.xml.in b/op-mode-definitions/show-ip-bgp.xml.in
index a92a78266..6d7fe58a0 100644
--- a/op-mode-definitions/show-ip-bgp.xml.in
+++ b/op-mode-definitions/show-ip-bgp.xml.in
@@ -8,25 +8,25 @@
<properties>
<help>Show Border Gateway Protocol (BGP) information</help>
</properties>
- <command>/usr/bin/vtysh -c "show ip bgp"</command>
+ <command>vtysh -c "show ip bgp"</command>
<children>
<leafNode name="attribute-info">
<properties>
<help>Show BGP attribute information</help>
</properties>
- <command>/usr/bin/vtysh -c "show ip bgp attribute-info"</command>
+ <command>vtysh -c "show ip bgp attribute-info"</command>
</leafNode>
<leafNode name="cidr-only">
<properties>
<help>Display only routes with non-natural netmasks</help>
</properties>
- <command>/usr/bin/vtysh -c "show ip bgp cidr-only"</command>
+ <command>vtysh -c "show ip bgp cidr-only"</command>
</leafNode>
<node name="community">
<properties>
<help>Show BGP routes matching the communities</help>
</properties>
- <command>/usr/bin/vtysh -c "show ip bgp community"</command>
+ <command>vtysh -c "show ip bgp community"</command>
</node>
<tagNode name="community">
<properties>
@@ -35,25 +35,25 @@
<list>&lt;AA:NN&gt; local-AS no-advertise no-export</list>
</completionHelp>
</properties>
- <command>/usr/bin/vtysh -c "show ip bgp community $5"</command>
+ <command>vtysh -c "show ip bgp community $5"</command>
</tagNode>
<leafNode name="community-info">
<properties>
<help>List all bgp community information</help>
</properties>
- <command>/usr/bin/vtysh -c "show ip bgp community-info"</command>
+ <command>vtysh -c "show ip bgp community-info"</command>
</leafNode>
<tagNode name="community-list">
<properties>
<help>Show BGP routes matching specified community list</help>
</properties>
- <command>/usr/bin/vtysh -c "show ip bgp community-list $5"</command>
+ <command>vtysh -c "show ip bgp community-list $5"</command>
<children>
<leafNode name="exact-match">
<properties>
<help>Show BGP routes exactly matching specified community list</help>
</properties>
- <command>/usr/bin/vtysh -c "show ip bgp community-list $5 exact-match"</command>
+ <command>vtysh -c "show ip bgp community-list $5 exact-match"</command>
</leafNode>
</children>
</tagNode>
@@ -61,19 +61,19 @@
<properties>
<help>Show dampened BGP paths</help>
</properties>
- <command>/usr/bin/vtysh -c "show ip bgp dampening dampened-paths"</command>
+ <command>vtysh -c "show ip bgp dampening dampened-paths"</command>
</leafNode>
<tagNode name="filter-list">
<properties>
<help>Show BGP information for specified word</help>
</properties>
- <command>/usr/bin/vtysh -c "show ip bgp filter-list $5"</command>
+ <command>vtysh -c "show ip bgp filter-list $5"</command>
</tagNode>
<leafNode name="flap-statistics">
<properties>
<help>Show flap statistics of routes</help>
</properties>
- <command>/usr/bin/vtysh -c "show ip bgp dampening flap-statistics"</command>
+ <command>vtysh -c "show ip bgp dampening flap-statistics"</command>
</leafNode>
<node name="ipv4">
<properties>
@@ -89,13 +89,13 @@
<properties>
<help>Display only routes with non-natural netmasks</help>
</properties>
- <command>/usr/bin/vtysh -c "show ip bgp ipv4 unicast cidr-only"</command>
+ <command>vtysh -c "show ip bgp ipv4 unicast cidr-only"</command>
</leafNode>
<node name="community"> <!-- START new code -->
<properties>
<help>Show BGP routes matching the communities</help>
</properties>
- <command>/usr/bin/vtysh -c "show ip bgp ipv4 unicast community"</command>
+ <command>vtysh -c "show ip bgp ipv4 unicast community"</command>
</node>
<tagNode name="community">
<properties>
@@ -104,19 +104,19 @@
<list>&lt;AA:NN&gt; local-AS no-advertise no-export</list>
</completionHelp>
</properties>
- <command>/usr/bin/vtysh -c "show ip bgp ipv4 unicast community $7"</command>
+ <command>vtysh -c "show ip bgp ipv4 unicast community $7"</command>
</tagNode>
<tagNode name="community-list">
<properties>
<help>Show BGP routes matching specified community list</help>
</properties>
- <command>/usr/bin/vtysh -c "show ip bgp ipv4 unicast community-list $7"</command>
+ <command>vtysh -c "show ip bgp ipv4 unicast community-list $7"</command>
<children>
<leafNode name="exact-match">
<properties>
<help>Show BGP routes exactly matching specified community list</help>
</properties>
- <command>/usr/bin/vtysh -c "show ip bgp ipv4 unicast community-list $7 exact-match"</command>
+ <command>vtysh -c "show ip bgp ipv4 unicast community-list $7 exact-match"</command>
</leafNode>
</children>
</tagNode>
@@ -124,7 +124,7 @@
<properties>
<help>Show BGP information for specified word</help>
</properties>
- <command>/usr/bin/vtysh -c "show ip bgp filter-list $5"</command>
+ <command>vtysh -c "show ip bgp filter-list $5"</command>
</tagNode>
<tagNode name="neighbors">
<properties>
@@ -133,31 +133,31 @@
<script>vtysh -c "show ip bgp ipv4 unicast summary" | awk '{print $1}' | grep -oE "\b([0-9]{1,3}\.){3}[0-9]{1,3}\b"</script>
</completionHelp>
</properties>
- <command>/usr/bin/vtysh -c "show ip bgp ipv4 unicast neighbors $7"</command>
+ <command>vtysh -c "show ip bgp ipv4 unicast neighbors $7"</command>
<children>
<leafNode name="advertised-routes">
<properties>
<help>Show routes advertised to a BGP neighbor</help>
</properties>
- <command>/usr/bin/vtysh -c "show ip bgp ipv4 unicast neighbor $7 advertised-routes"</command>
+ <command>vtysh -c "show ip bgp ipv4 unicast neighbor $7 advertised-routes"</command>
</leafNode>
<leafNode name="prefix-counts">
<properties>
<help>Show detailed prefix count information</help>
</properties>
- <command>/usr/bin/vtysh -c "show ip bgp ipv4 unicast neighbor $7 prefix-counts"</command>
+ <command>vtysh -c "show ip bgp ipv4 unicast neighbor $7 prefix-counts"</command>
</leafNode>
<leafNode name="received-routes">
<properties>
<help>Show the received routes from neighbor</help>
</properties>
- <command>/usr/bin/vtysh -c "show ip bgp ipv4 unicast neighbor $7 received-routes"</command>
+ <command>vtysh -c "show ip bgp ipv4 unicast neighbor $7 received-routes"</command>
</leafNode>
<leafNode name="routes">
<properties>
<help>Show routes learned from neighbor</help>
</properties>
- <command>/usr/bin/vtysh -c "show ip bgp ipv4 unicast neighbor $7 routes"</command>
+ <command>vtysh -c "show ip bgp ipv4 unicast neighbor $7 routes"</command>
</leafNode>
</children>
</tagNode>
@@ -165,31 +165,31 @@
<properties>
<help>Show BGP path information</help>
</properties>
- <command>/usr/bin/vtysh -c "show ip bgp ipv4 unicast paths"</command>
+ <command>vtysh -c "show ip bgp ipv4 unicast paths"</command>
</leafNode>
<tagNode name="prefix-list">
<properties>
<help>Show BGP routes matching the specified prefix list</help>
</properties>
- <command>/usr/bin/vtysh -c "show ip bgp ipv4 unicast prefix-list $7"</command>
+ <command>vtysh -c "show ip bgp ipv4 unicast prefix-list $7"</command>
</tagNode>
<tagNode name="regexp">
<properties>
<help>Show BGP routes matching the specified AS path regular expression</help>
</properties>
- <command>/usr/bin/vtysh -c "show ip bgp ipv4 unicast regexp $5"</command>
+ <command>vtysh -c "show ip bgp ipv4 unicast regexp $5"</command>
</tagNode>
<tagNode name="route-map">
<properties>
<help>Show BGP routes matching the specified route map</help>
</properties>
- <command>/usr/bin/vtysh -c "show ip bgp route-map $5"</command>
+ <command>vtysh -c "show ip bgp route-map $5"</command>
</tagNode>
<leafNode name="summary">
<properties>
<help>Show summary of BGP information</help>
</properties>
- <command>/usr/bin/vtysh -c "show ip bgp summary"</command>
+ <command>vtysh -c "show ip bgp summary"</command>
</leafNode>
</children>
</node>
@@ -200,7 +200,7 @@
<list>&lt;x.x.x.x&gt; &lt;x.x.x.x/x&gt;</list>
</completionHelp>
</properties>
- <command>/usr/bin/vtysh -c "show ip bgp $6"</command>
+ <command>vtysh -c "show ip bgp $6"</command>
</tagNode>
</children>
</node>
@@ -208,25 +208,25 @@
<properties>
<help>Show BGP routes matching the specified large-communities</help>
</properties>
- <command>/usr/bin/vtysh -c "show ip bgp large-community"</command>
+ <command>vtysh -c "show ip bgp large-community"</command>
</node>
<leafNode name="large-community-info">
<properties>
<help>Show BGP large-community information</help>
</properties>
- <command>/usr/bin/vtysh -c "show ip bgp large-community-info"</command>
+ <command>vtysh -c "show ip bgp large-community-info"</command>
</leafNode>
<tagNode name="large-community-list">
<properties>
<help>Show BGP routes matching the specified large-community list</help>
</properties>
- <command>/usr/bin/vtysh -c "show ip bgp large-community-list $5"</command>
+ <command>vtysh -c "show ip bgp large-community-list $5"</command>
</tagNode>
<leafNode name="memory">
<properties>
<help>Show BGP memory usage</help>
</properties>
- <command>/usr/bin/vtysh -c "show ip bgp memory"</command>
+ <command>vtysh -c "show ip bgp memory"</command>
</leafNode>
<tagNode name="neighbors">
<properties>
@@ -235,31 +235,31 @@
<script>vtysh -c "show ip bgp summary" | awk '{print $1}' | grep -oE "\b([0-9]{1,3}\.){3}[0-9]{1,3}\b"</script>
</completionHelp>
</properties>
- <command>/usr/bin/vtysh -c "show ip bgp neighbors $5"</command>
+ <command>vtysh -c "show ip bgp neighbors $5"</command>
<children>
<leafNode name="advertised-routes">
<properties>
<help>Show routes advertised to a BGP neighbor</help>
</properties>
- <command>/usr/bin/vtysh -c "show ip bgp neighbor $5 advertised-routes"</command>
+ <command>vtysh -c "show ip bgp neighbor $5 advertised-routes"</command>
</leafNode>
<leafNode name="dampened-routes">
<properties>
<help>Show dampened routes received from BGP neighbor</help>
</properties>
- <command>/usr/bin/vtysh -c "show ip bgp neighbor $5 dampened-routes"</command>
+ <command>vtysh -c "show ip bgp neighbor $5 dampened-routes"</command>
</leafNode>
<leafNode name="flap-statistics">
<properties>
<help>Show flap statistics of the routes learned from BGP neighbor</help>
</properties>
- <command>/usr/bin/vtysh -c "show ip bgp neighbor $5 flap-statistics"</command>
+ <command>vtysh -c "show ip bgp neighbor $5 flap-statistics"</command>
</leafNode>
<leafNode name="prefix-counts">
<properties>
<help>Show detailed prefix count information for BGP neighbor</help>
</properties>
- <command>/usr/bin/vtysh -c "show ip bgp neighbor $5 prefix-counts"</command>
+ <command>vtysh -c "show ip bgp neighbor $5 prefix-counts"</command>
</leafNode>
<node name="received">
<properties>
@@ -270,7 +270,7 @@
<properties>
<help>Show prefixlist filter</help>
</properties>
- <command>/usr/bin/vtysh -c "show ip bgp neighbor $5 received prefix-filter"</command>
+ <command>vtysh -c "show ip bgp neighbor $5 received prefix-filter"</command>
</leafNode>
</children>
</node>
@@ -278,13 +278,13 @@
<properties>
<help>Show received routes from BGP neighbor</help>
</properties>
- <command>/usr/bin/vtysh -c "show ip bgp neighbor $5 received-routes"</command>
+ <command>vtysh -c "show ip bgp neighbor $5 received-routes"</command>
</leafNode>
<leafNode name="routes">
<properties>
<help>Show routes learned from BGP neighbor</help>
</properties>
- <command>/usr/bin/vtysh -c "show ip bgp neighbor $5 routes"</command>
+ <command>vtysh -c "show ip bgp neighbor $5 routes"</command>
</leafNode>
</children>
</tagNode>
@@ -292,37 +292,37 @@
<properties>
<help>Show BGP path information</help>
</properties>
- <command>/usr/bin/vtysh -c "show ip bgp paths"</command>
+ <command>vtysh -c "show ip bgp paths"</command>
</leafNode>
<tagNode name="prefix-list">
<properties>
<help>Show BGP routes matching the specified prefix list</help>
</properties>
- <command>/usr/bin/vtysh -c "show ip bgp prefix-list $5"</command>
+ <command>vtysh -c "show ip bgp prefix-list $5"</command>
</tagNode>
<tagNode name="regexp">
<properties>
<help>Show BGP routes matching the specified AS path regular expression</help>
</properties>
- <command>/usr/bin/vtysh -c "show ip bgp regexp $5"</command>
+ <command>vtysh -c "show ip bgp regexp $5"</command>
</tagNode>
<tagNode name="route-map">
<properties>
<help>Show BGP routes matching the specified route map</help>
</properties>
- <command>/usr/bin/vtysh -c "show ip bgp route-map $5"</command>
+ <command>vtysh -c "show ip bgp route-map $5"</command>
</tagNode>
<leafNode name="statistics">
<properties>
<help>Show summary of BGP information</help>
</properties>
- <command>/usr/bin/vtysh -c "show ip bgp statistics"</command>
+ <command>vtysh -c "show ip bgp statistics"</command>
</leafNode>
<leafNode name="summary">
<properties>
<help>Show summary of BGP information</help>
</properties>
- <command>/usr/bin/vtysh -c "show ip bgp summary"</command>
+ <command>vtysh -c "show ip bgp summary"</command>
</leafNode>
</children>
</node>
@@ -333,7 +333,7 @@
<list>&lt;x.x.x.x&gt; &lt;x.x.x.x/x&gt;</list>
</completionHelp>
</properties>
- <command>/usr/bin/vtysh -c "show ip bgp $4"</command>
+ <command>vtysh -c "show ip bgp $4"</command>
</tagNode>
</children>
</node>