From 34426d045048e3ee3067301b0f8eed402e3d625c Mon Sep 17 00:00:00 2001 From: Jan-Philipp Benecke Date: Tue, 29 Dec 2020 13:46:46 +0100 Subject: bgp: T3158: op-mode: move show ipv6 bgp to new XML format --- op-mode-definitions/show-ipv6-bgp.xml | 176 ++++++++++++++++++++++++++++++++++ 1 file changed, 176 insertions(+) (limited to 'op-mode-definitions/show-ipv6-bgp.xml') diff --git a/op-mode-definitions/show-ipv6-bgp.xml b/op-mode-definitions/show-ipv6-bgp.xml index 67a8c8658..72e441029 100644 --- a/op-mode-definitions/show-ipv6-bgp.xml +++ b/op-mode-definitions/show-ipv6-bgp.xml @@ -5,7 +5,163 @@ + + Show Border Gateway Protocol (BGP) information + + /usr/bin/vtysh -c "show bgp ipv6" + + + Show summary of BGP neighbor status + + /usr/bin/vtysh -c "show bgp ipv6 summary" + + + + Show routes matching AS path regular expression + + /usr/bin/vtysh -c "show bgp ipv6 regexp $5" + + + + Show routes matching the IPv6 prefix-list name + + policy prefix-list6 + + + /usr/bin/vtysh -c "show bgp ipv6 prefix-list $5" + + + + Show detailed information on TCP and BGP neighbor connections for given address + + + + + /usr/bin/vtysh -c "show bgp ipv6 neighbor $5" + + + + Show routes advertised to a BGP neighbor + + /usr/bin/vtysh -c "show bgp ipv6 neighbor $5 advertised-routes" + + + + Show routes filtered from a BGP neighbor + + /usr/bin/vtysh -c "show bgp ipv6 neighbor $5 filtered-routes" + + + + Show dampened routes received from BGP neighbor + + /usr/bin/vtysh -c "show bgp ipv6 neighbor $5 dampened-routes" + + + + Show flap statistics of the routes learned from BGP neighbor + + /usr/bin/vtysh -c "show bgp ipv6 neighbor $5 flap-statistics" + + + + Show detailed prefix count information for BGP neighbor + + /usr/bin/vtysh -c "show bgp ipv6 neighbor $5 prefix-counts" + + + + Show information received from BGP neighbor + + + + + Show prefixlist filter + + /usr/bin/vtysh -c "show bgp ipv6 neighbor $5 received prefix-filter" + + + + + + Show received routes from BGP neighbor + + /usr/bin/vtysh -c "show bgp ipv6 neighbor $5 received-routes" + + + + Show routes learned from BGP neighbor + + /usr/bin/vtysh -c "show bgp ipv6 neighbor $5 routes" + + + + + + Show routes matching the large-community-list number or name + + /usr/bin/vtysh -c "show bgp ipv6 large-community-list $5" + + + + Show routes matching the large-community-list number or name + + /usr/bin/vtysh -c "show bgp ipv6 large-community-list $5 exact-match" + + + + + + Show routes matching the large-community-list number or name + + /usr/bin/vtysh -c "show bgp ipv6 large-community-list $5" + + + + Show routes matching the large-community-list number or name + + /usr/bin/vtysh -c "show bgp ipv6 large-community-list $5 exact-match" + + + + + + Show routes conforming to regular expression access list name + + /usr/bin/vtysh -c "show bgp ipv6 filter-list $5" + + + + Show BGP information for specified community number + + <AA:NN> local-AS no-advertise no-export + + + /usr/bin/vtysh -c "show bgp ipv6 community $5" + + + + Show routes from community that exactly matches the community number + + /usr/bin/vtysh -c "show bgp ipv6 community $5 exact-match" + + + + + + Show routes matching the community-list number or name + + /usr/bin/vtysh -c "show bgp ipv6 community-list $5" + + + + Show routes exactly matching the community-list name or number + + /usr/bin/vtysh -c "show bgp ipv6 community-list $5 exact-match" + + + Show BGP routes matching the specified route map @@ -17,6 +173,26 @@ + + + Show BGP information for specified IP address or prefix + + <X:X::X:X> <X:X::X:X/x> + + + /usr/bin/vtysh -c "show bgp ipv6 $4" + + + + Show route and more specific routes + + <X:X::X:X> <X:X::X:X/x> + + + /usr/bin/vtysh -c "show bgp ipv6 $4 longer-prefixes" + + + -- cgit v1.2.3