From 46b749388e0198f0cb3eb5eca1bd1d6e940b2702 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 --- op-mode-definitions/reset-ip-igmp.xml.in | 2 +- op-mode-definitions/reset-ip-multicast.xml.in | 2 +- op-mode-definitions/reset-mpls.xml.in | 4 +- ...w-ip-access-paths-prefix-community-lists.xml.in | 28 +++---- op-mode-definitions/show-ip-igmp.xml.in | 10 +-- op-mode-definitions/show-ip-multicast.xml.in | 4 +- op-mode-definitions/show-ip-ospf.xml.in | 96 +++++++++++----------- op-mode-definitions/show-ip-pim.xml.in | 18 ++-- op-mode-definitions/show-ip-rip.xml.in | 4 +- op-mode-definitions/show-ip-route.xml.in | 30 +++---- op-mode-definitions/show-isis.xml.in | 46 +++++------ op-mode-definitions/show-mpls.xml.in | 62 +++++++------- op-mode-definitions/show-protocols-bfd.xml.in | 12 +-- op-mode-definitions/show-route-map.xml.in | 4 +- op-mode-definitions/show-rpki.xml.in | 6 +- op-mode-definitions/show-system.xml.in | 4 +- op-mode-definitions/show-table.xml.in | 2 +- op-mode-definitions/show-version.xml.in | 2 +- 18 files changed, 168 insertions(+), 168 deletions(-) (limited to 'op-mode-definitions') diff --git a/op-mode-definitions/reset-ip-igmp.xml.in b/op-mode-definitions/reset-ip-igmp.xml.in index 143553d33..e79c33da8 100644 --- a/op-mode-definitions/reset-ip-igmp.xml.in +++ b/op-mode-definitions/reset-ip-igmp.xml.in @@ -13,7 +13,7 @@ Reset IGMP interfaces - /usr/bin/vtysh -c "clear ip igmp interfaces" + vtysh -c "clear ip igmp interfaces" diff --git a/op-mode-definitions/reset-ip-multicast.xml.in b/op-mode-definitions/reset-ip-multicast.xml.in index d610add16..6cca07850 100644 --- a/op-mode-definitions/reset-ip-multicast.xml.in +++ b/op-mode-definitions/reset-ip-multicast.xml.in @@ -13,7 +13,7 @@ Clear multicast routing table - /usr/bin/vtysh -c "clear ip mroute" + vtysh -c "clear ip mroute" diff --git a/op-mode-definitions/reset-mpls.xml.in b/op-mode-definitions/reset-mpls.xml.in index 4e5d37d5b..829ed41ab 100644 --- a/op-mode-definitions/reset-mpls.xml.in +++ b/op-mode-definitions/reset-mpls.xml.in @@ -17,10 +17,10 @@ Reset MPLS LDP neighbor/session <x.x.x.x> <h:h:h:h:h:h:h:h> - + - /usr/bin/vtysh -c "clear mpls ldp neighbor $5" + vtysh -c "clear mpls ldp neighbor $5" diff --git a/op-mode-definitions/show-ip-access-paths-prefix-community-lists.xml.in b/op-mode-definitions/show-ip-access-paths-prefix-community-lists.xml.in index a5ec65c94..d7222516a 100644 --- a/op-mode-definitions/show-ip-access-paths-prefix-community-lists.xml.in +++ b/op-mode-definitions/show-ip-access-paths-prefix-community-lists.xml.in @@ -11,7 +11,7 @@ Show all IP access-lists - /usr/bin/vtysh -c "show ip access-list" + vtysh -c "show ip access-list" @@ -20,13 +20,13 @@ policy access-list - /usr/bin/vtysh -c "show ip access-list $4" + vtysh -c "show ip access-list $4" Show all as-path-access-lists - /usr/bin/vtysh -c "show ip as-path-access-list" + vtysh -c "show ip as-path-access-list" @@ -35,13 +35,13 @@ policy as-path-list - /usr/bin/vtysh -c "show ip as-path-access-list $4" + vtysh -c "show ip as-path-access-list $4" Show IP community-lists - /usr/bin/vtysh -c "show bgp community-list" + vtysh -c "show bgp community-list" @@ -50,13 +50,13 @@ policy community-list - /usr/bin/vtysh -c "show bgp community-list $4 detail" + vtysh -c "show bgp community-list $4 detail" Show extended IP community-lists - /usr/bin/vtysh -c "show bgp extcommunity-list" + vtysh -c "show bgp extcommunity-list" @@ -65,19 +65,19 @@ policy extcommunity-list - /usr/bin/vtysh -c "show bgp extcommunity-list $4 detail" + vtysh -c "show bgp extcommunity-list $4 detail" Show IP forwarding status - /usr/bin/vtysh -c "show ip forwarding" + vtysh -c "show ip forwarding" Show IP large-community-lists - /usr/bin/vtysh -c "show bgp large-community-list" + vtysh -c "show bgp large-community-list" @@ -86,13 +86,13 @@ policy large-community-list - /usr/bin/vtysh -c "show bgp large-community-list $4 detail" + vtysh -c "show bgp large-community-list $4 detail" Show all IP prefix-lists - /usr/bin/vtysh -c "show ip prefix-list" + vtysh -c "show ip prefix-list" @@ -101,13 +101,13 @@ policy prefix-list - /usr/bin/vtysh -c "show ip prefix-list $4" + vtysh -c "show ip prefix-list $4" Show IP route-maps per protocol - /usr/bin/vtysh -c "show ip protocol" + vtysh -c "show ip protocol" diff --git a/op-mode-definitions/show-ip-igmp.xml.in b/op-mode-definitions/show-ip-igmp.xml.in index b8f2f9107..855c5d508 100644 --- a/op-mode-definitions/show-ip-igmp.xml.in +++ b/op-mode-definitions/show-ip-igmp.xml.in @@ -13,31 +13,31 @@ IGMP groups information - /usr/bin/vtysh -c "show ip igmp groups" + vtysh -c "show ip igmp groups" IGMP interfaces information - /usr/bin/vtysh -c "show ip igmp interface" + vtysh -c "show ip igmp interface" IGMP static join information - /usr/bin/vtysh -c "show ip igmp join" + vtysh -c "show ip igmp join" IGMP sources information - /usr/bin/vtysh -c "show ip igmp sources" + vtysh -c "show ip igmp sources" IGMP statistics - /usr/bin/vtysh -c "show ip igmp statistics" + vtysh -c "show ip igmp statistics" diff --git a/op-mode-definitions/show-ip-multicast.xml.in b/op-mode-definitions/show-ip-multicast.xml.in index 5331d2e35..80d83b424 100644 --- a/op-mode-definitions/show-ip-multicast.xml.in +++ b/op-mode-definitions/show-ip-multicast.xml.in @@ -25,13 +25,13 @@ IP multicast information - /usr/bin/vtysh -c "show ip multicast" + vtysh -c "show ip multicast" IP multicast routing table - /usr/bin/vtysh -c "show ip mroute" + vtysh -c "show ip mroute" diff --git a/op-mode-definitions/show-ip-ospf.xml.in b/op-mode-definitions/show-ip-ospf.xml.in index 50628d18e..fc298123b 100644 --- a/op-mode-definitions/show-ip-ospf.xml.in +++ b/op-mode-definitions/show-ip-ospf.xml.in @@ -11,25 +11,25 @@ Show IPv4 Open Shortest Path First (OSPF) routing information - /usr/bin/vtysh -c "show ip ospf" + vtysh -c "show ip ospf" Show IPv4 OSPF border-routers information - /usr/bin/vtysh -c "show ip ospf border-routers" + vtysh -c "show ip ospf border-routers" Show IPv4 OSPF database information - /usr/bin/vtysh -c "show ip ospf database" + vtysh -c "show ip ospf database" Show IPv4 OSPF ASBR summary database - /usr/bin/vtysh -c "show ip ospf database asbr-summary" + vtysh -c "show ip ospf database asbr-summary" @@ -38,7 +38,7 @@ <x.x.x.x> - /usr/bin/vtysh -c "show ip ospf database asbr-summary adv-router $7" + vtysh -c "show ip ospf database asbr-summary adv-router $7" @@ -54,7 +54,7 @@ <x.x.x.x> - /usr/bin/vtysh -c "show ip ospf database asbr-summary $6" + vtysh -c "show ip ospf database asbr-summary $6" @@ -68,7 +68,7 @@ <x.x.x.x> - /usr/bin/vtysh -c "show ip ospf database asbr-summary $6 adv-router $8" + vtysh -c "show ip ospf database asbr-summary $6 adv-router $8" @@ -82,7 +82,7 @@ Show IPv4 OSPF external database - /usr/bin/vtysh -c "show ip ospf database external" + vtysh -c "show ip ospf database external" @@ -91,7 +91,7 @@ <x.x.x.x> - /usr/bin/vtysh -c "show ip ospf database external adv-router $7" + vtysh -c "show ip ospf database external adv-router $7" @@ -107,7 +107,7 @@ <x.x.x.x> - /usr/bin/vtysh -c "show ip ospf database external $6" + vtysh -c "show ip ospf database external $6" @@ -121,7 +121,7 @@ <x.x.x.x> - /usr/bin/vtysh -c "show ip ospf database external $6 adv-router $8" + vtysh -c "show ip ospf database external $6 adv-router $8" @@ -135,13 +135,13 @@ Show IPv4 OSPF max-age database - /usr/bin/vtysh -c "show ip ospf database max-age" + vtysh -c "show ip ospf database max-age" Show IPv4 OSPF network database - /usr/bin/vtysh -c "show ip ospf database network" + vtysh -c "show ip ospf database network" @@ -150,7 +150,7 @@ <x.x.x.x> - /usr/bin/vtysh -c "show ip ospf database network adv-router $7" + vtysh -c "show ip ospf database network adv-router $7" @@ -166,7 +166,7 @@ <x.x.x.x> - /usr/bin/vtysh -c "show ip ospf database network $6" + vtysh -c "show ip ospf database network $6" @@ -180,7 +180,7 @@ <x.x.x.x> - /usr/bin/vtysh -c "show ip ospf database network $6 adv-router $8" + vtysh -c "show ip ospf database network $6 adv-router $8" @@ -194,7 +194,7 @@ Show IPv4 OSPF NSSA external database - /usr/bin/vtysh -c "show ip ospf database nssa-external" + vtysh -c "show ip ospf database nssa-external" @@ -203,7 +203,7 @@ <x.x.x.x> - /usr/bin/vtysh -c "show ip ospf database nssa-external adv-router $7" + vtysh -c "show ip ospf database nssa-external adv-router $7" @@ -219,7 +219,7 @@ <x.x.x.x> - /usr/bin/vtysh -c "show ip ospf database nssa-external $6" + vtysh -c "show ip ospf database nssa-external $6" @@ -233,7 +233,7 @@ <x.x.x.x> - /usr/bin/vtysh -c "show ip ospf database nssa-external $6 adv-router $8" + vtysh -c "show ip ospf database nssa-external $6 adv-router $8" @@ -247,7 +247,7 @@ Show IPv4 OSPF opaque-area database - /usr/bin/vtysh -c "show ip ospf database opaque-area" + vtysh -c "show ip ospf database opaque-area" @@ -256,7 +256,7 @@ <x.x.x.x> - /usr/bin/vtysh -c "show ip ospf database opaque-area adv-router $7" + vtysh -c "show ip ospf database opaque-area adv-router $7" @@ -272,7 +272,7 @@ <x.x.x.x> - /usr/bin/vtysh -c "show ip ospf database opaque-area $6" + vtysh -c "show ip ospf database opaque-area $6" @@ -286,7 +286,7 @@ <x.x.x.x> - /usr/bin/vtysh -c "show ip ospf database opaque-area $6 adv-router $8" + vtysh -c "show ip ospf database opaque-area $6 adv-router $8" @@ -300,7 +300,7 @@ Show IPv4 OSPF opaque-as database - /usr/bin/vtysh -c "show ip ospf database opaque-as" + vtysh -c "show ip ospf database opaque-as" @@ -309,7 +309,7 @@ <x.x.x.x> - /usr/bin/vtysh -c "show ip ospf database opaque-as adv-router $7" + vtysh -c "show ip ospf database opaque-as adv-router $7" @@ -325,7 +325,7 @@ <x.x.x.x> - /usr/bin/vtysh -c "show ip ospf database opaque-as $6" + vtysh -c "show ip ospf database opaque-as $6" @@ -339,7 +339,7 @@ <x.x.x.x> - /usr/bin/vtysh -c "show ip ospf database opaque-as $6 adv-router $8" + vtysh -c "show ip ospf database opaque-as $6 adv-router $8" @@ -353,7 +353,7 @@ Show IPv4 OSPF opaque-link database - /usr/bin/vtysh -c "show ip ospf database opaque-link" + vtysh -c "show ip ospf database opaque-link" @@ -362,7 +362,7 @@ <x.x.x.x> - /usr/bin/vtysh -c "show ip ospf database opaque-link adv-router $7" + vtysh -c "show ip ospf database opaque-link adv-router $7" @@ -378,7 +378,7 @@ <x.x.x.x> - /usr/bin/vtysh -c "show ip ospf database opaque-link $6" + vtysh -c "show ip ospf database opaque-link $6" @@ -392,7 +392,7 @@ <x.x.x.x> - /usr/bin/vtysh -c "show ip ospf database opaque-link $6 adv-router $8" + vtysh -c "show ip ospf database opaque-link $6 adv-router $8" @@ -406,7 +406,7 @@ Show IPv4 OSPF router database - /usr/bin/vtysh -c "show ip ospf database router" + vtysh -c "show ip ospf database router" @@ -415,7 +415,7 @@ <x.x.x.x> - /usr/bin/vtysh -c "show ip ospf database router adv-router $7" + vtysh -c "show ip ospf database router adv-router $7" @@ -431,7 +431,7 @@ <x.x.x.x> - /usr/bin/vtysh -c "show ip ospf database router $6" + vtysh -c "show ip ospf database router $6" @@ -445,7 +445,7 @@ <x.x.x.x> - /usr/bin/vtysh -c "show ip ospf database router $6 adv-router $8" + vtysh -c "show ip ospf database router $6 adv-router $8" @@ -459,13 +459,13 @@ Show IPv4 OSPF self-originate database - /usr/bin/vtysh -c "show ip ospf database self-originate" + vtysh -c "show ip ospf database self-originate" Show summary of IPv4 OSPF database - /usr/bin/vtysh -c "show ip ospf database summary" + vtysh -c "show ip ospf database summary" @@ -474,7 +474,7 @@ <x.x.x.x> - /usr/bin/vtysh -c "show ip ospf database summary adv-router $7" + vtysh -c "show ip ospf database summary adv-router $7" @@ -490,7 +490,7 @@ <x.x.x.x> - /usr/bin/vtysh -c "show ip ospf database summary $6" + vtysh -c "show ip ospf database summary $6" @@ -504,7 +504,7 @@ <x.x.x.x> - /usr/bin/vtysh -c "show ip ospf database summary $6 adv-router $8" + vtysh -c "show ip ospf database summary $6 adv-router $8" @@ -520,7 +520,7 @@ Show IPv4 OSPF interface information - /usr/bin/vtysh -c "show ip ospf interface" + vtysh -c "show ip ospf interface" @@ -529,13 +529,13 @@ - /usr/bin/vtysh -c "show ip ospf interface $5" + vtysh -c "show ip ospf interface $5" Show IPv4 OSPF neighbor information - /usr/bin/vtysh -c "show ip ospf neighbor" + vtysh -c "show ip ospf neighbor" @@ -544,13 +544,13 @@ <x.x.x.x> - /usr/bin/vtysh -c "show ip ospf neighbor $6" + vtysh -c "show ip ospf neighbor $6" Show detailed IPv4 OSPF neighbor information - /usr/bin/vtysh -c "show ip ospf neighbor detail" + vtysh -c "show ip ospf neighbor detail" @@ -562,13 +562,13 @@ - /usr/bin/vtysh -c "show ip ospf neighbor $5" + vtysh -c "show ip ospf neighbor $5" Show IPv4 OSPF route information - /usr/bin/vtysh -c "show ip ospf route" + vtysh -c "show ip ospf route" diff --git a/op-mode-definitions/show-ip-pim.xml.in b/op-mode-definitions/show-ip-pim.xml.in index 3f4edc779..fa317a944 100644 --- a/op-mode-definitions/show-ip-pim.xml.in +++ b/op-mode-definitions/show-ip-pim.xml.in @@ -13,55 +13,55 @@ PIM interfaces information - /usr/bin/vtysh -c "show ip pim interface" + vtysh -c "show ip pim interface" PIM join information - /usr/bin/vtysh -c "show ip pim join" + vtysh -c "show ip pim join" PIM neighbor information - /usr/bin/vtysh -c "show ip pim neighbor" + vtysh -c "show ip pim neighbor" PIM cached nexthop rpf information - /usr/bin/vtysh -c "show ip pim nexthop" + vtysh -c "show ip pim nexthop" PIM state information - /usr/bin/vtysh -c "show ip pim state" + vtysh -c "show ip pim state" PIM statistics - /usr/bin/vtysh -c "show ip pim statistics" + vtysh -c "show ip pim statistics" PIM RP (Rendevous Point) information - /usr/bin/vtysh -c "show ip pim rp-info" + vtysh -c "show ip pim rp-info" PIM cached source rpf information - /usr/bin/vtysh -c "show ip pim rpf" + vtysh -c "show ip pim rpf" PIM upstream information - /usr/bin/vtysh -c "show ip pim upstream" + vtysh -c "show ip pim upstream" diff --git a/op-mode-definitions/show-ip-rip.xml.in b/op-mode-definitions/show-ip-rip.xml.in index b61ab10a7..768a86ca1 100644 --- a/op-mode-definitions/show-ip-rip.xml.in +++ b/op-mode-definitions/show-ip-rip.xml.in @@ -11,13 +11,13 @@ Show Routing Information Protocol (RIP) information - /usr/bin/vtysh -c "show ip rip" + vtysh -c "show ip rip" Show RIP protocol status - /usr/bin/vtysh -c "show ip rip status" + vtysh -c "show ip rip status" 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" diff --git a/op-mode-definitions/show-isis.xml.in b/op-mode-definitions/show-isis.xml.in index 4e308730f..890d511e2 100644 --- a/op-mode-definitions/show-isis.xml.in +++ b/op-mode-definitions/show-isis.xml.in @@ -16,10 +16,10 @@ Show detailed information - /usr/bin/vtysh -c "show isis database detail" + vtysh -c "show isis database detail" - /usr/bin/vtysh -c "show isis database" + vtysh -c "show isis database" @@ -28,13 +28,13 @@ lsp-id detail - /usr/bin/vtysh -c "show isis database $4" + vtysh -c "show isis database $4" Show IS-IS dynamic hostname mapping - /usr/bin/vtysh -c "show isis hostname" + vtysh -c "show isis hostname" @@ -48,10 +48,10 @@ Show detailed information - /usr/bin/vtysh -c "show isis interface detail" + vtysh -c "show isis interface detail" - /usr/bin/vtysh -c "show isis interface" + vtysh -c "show isis interface" @@ -60,7 +60,7 @@ - /usr/bin/vtysh -c "show isis interface $4" + vtysh -c "show isis interface $4" @@ -71,13 +71,13 @@ Show router information - /usr/bin/vtysh -c "show isis mpls-te router" + vtysh -c "show isis mpls-te router" Show interface information - /usr/bin/vtysh -c "show isis mpls-te interface" + vtysh -c "show isis mpls-te interface" @@ -86,7 +86,7 @@ - /usr/bin/vtysh -c "show isis mpls-te interface $5" + vtysh -c "show isis mpls-te interface $5" @@ -99,10 +99,10 @@ Show detailed information - /usr/bin/vtysh -c "show isis neighbor detail" + vtysh -c "show isis neighbor detail" - /usr/bin/vtysh -c "show isis neighbor" + vtysh -c "show isis neighbor" @@ -111,7 +111,7 @@ system-id - /usr/bin/vtysh -c "show isis neighbor $4" + vtysh -c "show isis neighbor $4" @@ -122,16 +122,16 @@ Show level-1 routes - /usr/bin/vtysh -c "show isis route level-1" + vtysh -c "show isis route level-1" Show level-2 routes - /usr/bin/vtysh -c "show isis route level-2" + vtysh -c "show isis route level-2" - /usr/bin/vtysh -c "show isis route" + vtysh -c "show isis route" @@ -142,13 +142,13 @@ Show node information - /usr/bin/vtysh -c "show isis segment-routing node" + vtysh -c "show isis segment-routing node" Show prefix segment IDs - /usr/bin/vtysh -c "show isis segment-routing prefix-sids" + vtysh -c "show isis segment-routing prefix-sids" @@ -156,13 +156,13 @@ Show IS-IS SPF delay parameters - /usr/bin/vtysh -c "show isis spf-delay-ietf" + vtysh -c "show isis spf-delay-ietf" Show IS-IS information summary - /usr/bin/vtysh -c "show isis summary" + vtysh -c "show isis summary" @@ -173,16 +173,16 @@ Show level-1 routes - /usr/bin/vtysh -c "show isis topology level-1" + vtysh -c "show isis topology level-1" Show level-2 routes - /usr/bin/vtysh -c "show isis topology level-2" + vtysh -c "show isis topology level-2" - /usr/bin/vtysh -c "show isis topology" + vtysh -c "show isis topology" diff --git a/op-mode-definitions/show-mpls.xml.in b/op-mode-definitions/show-mpls.xml.in index 833ac98eb..86f6f1bcc 100644 --- a/op-mode-definitions/show-mpls.xml.in +++ b/op-mode-definitions/show-mpls.xml.in @@ -16,41 +16,41 @@ Label Information Base - /usr/bin/vtysh -c "show mpls ldp binding" + vtysh -c "show mpls ldp binding" Show detailed information - /usr/bin/vtysh -c "show mpls ldp binding detail" + vtysh -c "show mpls ldp binding detail" Display labels from LDP neighbor <x.x.x.x> <h:h:h:h:h:h:h:h> - + - /usr/bin/vtysh -c "show mpls ldp binding neighbor $6" + vtysh -c "show mpls ldp binding neighbor $6" Show detailed information - /usr/bin/vtysh -c "show mpls ldp binding neighbor $6 detail" + vtysh -c "show mpls ldp binding neighbor $6 detail" Match locally assigned label value - /usr/bin/vtysh -c "show mpls ldp binding neighbor $6 local-label $8" + vtysh -c "show mpls ldp binding neighbor $6 local-label $8" Match remotely assigned label value - /usr/bin/vtysh -c "show mpls ldp binding neighbor $6 remote-label $8" + vtysh -c "show mpls ldp binding neighbor $6 remote-label $8" @@ -58,29 +58,29 @@ Match locally assigned label value - /usr/bin/vtysh -c "show mpls ldp binding local-label $6" + vtysh -c "show mpls ldp binding local-label $6" Show detailed information - /usr/bin/vtysh -c "show mpls ldp binding local-label $6 detail" + vtysh -c "show mpls ldp binding local-label $6 detail" Match LDP neighbor <x.x.x.x> <h:h:h:h:h:h:h:h> - + - /usr/bin/vtysh -c "show mpls ldp binding local-label $6 neighbor $8" + vtysh -c "show mpls ldp binding local-label $6 neighbor $8" Match remotely assigned label value - /usr/bin/vtysh -c "show mpls ldp binding local-label $6 remote-label $8" + vtysh -c "show mpls ldp binding local-label $6 remote-label $8" @@ -88,29 +88,29 @@ Match remotely assigned label value - /usr/bin/vtysh -c "show mpls ldp binding remote-label $6" + vtysh -c "show mpls ldp binding remote-label $6" Show detailed information - /usr/bin/vtysh -c "show mpls ldp binding remote-label $6 detail" + vtysh -c "show mpls ldp binding remote-label $6 detail" Match LDP neighbor <x.x.x.x> <h:h:h:h:h:h:h:h> - + - /usr/bin/vtysh -c "show mpls ldp binding remote-label $6 neighbor $8" + vtysh -c "show mpls ldp binding remote-label $6 neighbor $8" Match locally assigned label value - /usr/bin/vtysh -c "show mpls ldp binding remote-label $6 local-label $8" + vtysh -c "show mpls ldp binding remote-label $6 local-label $8" @@ -123,13 +123,13 @@ <x.x.x.x/x> <h:h:h:h:h:h:h:h/h> - /usr/bin/vtysh -c "show mpls ldp binding $5" + vtysh -c "show mpls ldp binding $5" Show detailed information - /usr/bin/vtysh -c "show mpls ldp binding $5 detail" + vtysh -c "show mpls ldp binding $5 detail" @@ -137,13 +137,13 @@ Discovery hello information - /usr/bin/vtysh -c "show mpls ldp discovery" + vtysh -c "show mpls ldp discovery" Show detailed information - /usr/bin/vtysh -c "show mpls ldp discovery detail" + vtysh -c "show mpls ldp discovery detail" @@ -151,25 +151,25 @@ LDP interface information - /usr/bin/vtysh -c "show mpls ldp interface" + vtysh -c "show mpls ldp interface" LDP neighbor information - /usr/bin/vtysh -c "show mpls ldp neighbor" + vtysh -c "show mpls ldp neighbor" Show detailed information - /usr/bin/vtysh -c "show mpls ldp neighbor detail" + vtysh -c "show mpls ldp neighbor detail" Show neighbor capability information - /usr/bin/vtysh -c "show mpls ldp neighbor capabilities" + vtysh -c "show mpls ldp neighbor capabilities" @@ -178,22 +178,22 @@ LDP neighbor <x.x.x.x> <h:h:h:h:h:h:h:h> - + - /usr/bin/vtysh -c "show mpls ldp neighbor $5" + vtysh -c "show mpls ldp neighbor $5" Show detailed information - /usr/bin/vtysh -c "show mpls ldp neighbor $5 detail" + vtysh -c "show mpls ldp neighbor $5 detail" Show neighbor capability information - /usr/bin/vtysh -c "show mpls ldp neighbor $5 capabilities" + vtysh -c "show mpls ldp neighbor $5 capabilities" @@ -203,13 +203,13 @@ Show MPLS pseudowire interfaces - /usr/bin/vtysh -c "show mpls pseudowires" + vtysh -c "show mpls pseudowires" Show MPLS table - /usr/bin/vtysh -c "show mpls table" + vtysh -c "show mpls table" diff --git a/op-mode-definitions/show-protocols-bfd.xml.in b/op-mode-definitions/show-protocols-bfd.xml.in index 3d9b67c67..886b01e51 100644 --- a/op-mode-definitions/show-protocols-bfd.xml.in +++ b/op-mode-definitions/show-protocols-bfd.xml.in @@ -13,13 +13,13 @@ Show all Bidirectional Forwarding Detection (BFD) peer status - /usr/bin/vtysh -c "show bfd peers" + vtysh -c "show bfd peers" Show Bidirectional Forwarding Detection (BFD) peer counters - /usr/bin/vtysh -c "show bfd peers counters" + vtysh -c "show bfd peers counters" @@ -27,16 +27,16 @@ Show Bidirectional Forwarding Detection (BFD) peer status - + - /usr/bin/vtysh -c "show bfd peers" | awk -v BFD_PEER=$5 'BEGIN { regex = sprintf("(peer %s.*)vrf", BFD_PEER) } { if (match($0, regex, bfd_peer_value)) peer=bfd_peer_value[1] } END { if (peer) system("/usr/bin/vtysh -c \"show bfd " peer "\"") }' + vtysh -c "show bfd peers" | awk -v BFD_PEER=$5 'BEGIN { regex = sprintf("(peer %s.*)vrf", BFD_PEER) } { if (match($0, regex, bfd_peer_value)) peer=bfd_peer_value[1] } END { if (peer) system("vtysh -c \"show bfd " peer "\"") }' Show Bidirectional Forwarding Detection (BFD) peer counters - /usr/bin/vtysh -c "show bfd peers" | awk -v BFD_PEER=$5 'BEGIN { regex = sprintf("(peer %s.*)vrf", BFD_PEER) } { if (match($0, regex, bfd_peer_value)) peer=bfd_peer_value[1] } END { if (peer) system("/usr/bin/vtysh -c \"show bfd " peer " counters\"") }' + vtysh -c "show bfd peers" | awk -v BFD_PEER=$5 'BEGIN { regex = sprintf("(peer %s.*)vrf", BFD_PEER) } { if (match($0, regex, bfd_peer_value)) peer=bfd_peer_value[1] } END { if (peer) system("vtysh -c \"show bfd " peer " counters\"") }' @@ -44,7 +44,7 @@ Show Bidirectional Forwarding Detection (BFD) peers brief - /usr/bin/vtysh -c "show bfd peers brief" + vtysh -c "show bfd peers brief" diff --git a/op-mode-definitions/show-route-map.xml.in b/op-mode-definitions/show-route-map.xml.in index 0e376757b..633b2a4cb 100644 --- a/op-mode-definitions/show-route-map.xml.in +++ b/op-mode-definitions/show-route-map.xml.in @@ -6,7 +6,7 @@ Show route-map information - /usr/bin/vtysh -c "show route-map" + vtysh -c "show route-map" @@ -15,7 +15,7 @@ policy route-map - /usr/bin/vtysh -c "show route-map $3" + vtysh -c "show route-map $3" diff --git a/op-mode-definitions/show-rpki.xml.in b/op-mode-definitions/show-rpki.xml.in index d68c3b862..f593e4803 100644 --- a/op-mode-definitions/show-rpki.xml.in +++ b/op-mode-definitions/show-rpki.xml.in @@ -11,19 +11,19 @@ Show RPKI cache connections - /usr/bin/vtysh -c "show rpki cache-connection" + vtysh -c "show rpki cache-connection" Show RPKI cache servers information - /usr/bin/vtysh -c "show rpki cache-server" + vtysh -c "show rpki cache-server" Show RPKI-validated prefixes - /usr/bin/vtysh -c "show rpki prefix-table" + vtysh -c "show rpki prefix-table" diff --git a/op-mode-definitions/show-system.xml.in b/op-mode-definitions/show-system.xml.in index 0623e3b62..5e9bf719e 100644 --- a/op-mode-definitions/show-system.xml.in +++ b/op-mode-definitions/show-system.xml.in @@ -128,7 +128,7 @@ Show memory usage of all routing protocols - /usr/bin/vtysh -c "show memory" + vtysh -c "show memory" @@ -162,7 +162,7 @@ Show Quagga routing daemons - /usr/bin/vtysh -c "show daemons" + vtysh -c "show daemons" diff --git a/op-mode-definitions/show-table.xml.in b/op-mode-definitions/show-table.xml.in index b093a5de7..c7998e35d 100644 --- a/op-mode-definitions/show-table.xml.in +++ b/op-mode-definitions/show-table.xml.in @@ -6,7 +6,7 @@ Show routing tables - /usr/bin/vtysh -c "show zebra router table summary" + vtysh -c "show zebra router table summary" diff --git a/op-mode-definitions/show-version.xml.in b/op-mode-definitions/show-version.xml.in index 2202d27b3..f1e2e2666 100644 --- a/op-mode-definitions/show-version.xml.in +++ b/op-mode-definitions/show-version.xml.in @@ -24,7 +24,7 @@ Show Quagga version information - /usr/bin/vtysh -c "show version" + vtysh -c "show version" -- cgit v1.2.3