From 9f032609d52317e6090fce41f7b8ad9a45755610 Mon Sep 17 00:00:00 2001 From: sever-sever Date: Tue, 14 Apr 2020 17:35:03 +0000 Subject: xml-bgp: T2201: [op-mode] add [show ip bgp] to vyos-1x --- op-mode-definitions/show-ip-bgp.xml | 342 ++++++++++++++++++++++++++++++++++++ 1 file changed, 342 insertions(+) create mode 100644 op-mode-definitions/show-ip-bgp.xml (limited to 'op-mode-definitions/show-ip-bgp.xml') diff --git a/op-mode-definitions/show-ip-bgp.xml b/op-mode-definitions/show-ip-bgp.xml new file mode 100644 index 000000000..5eb2ae56e --- /dev/null +++ b/op-mode-definitions/show-ip-bgp.xml @@ -0,0 +1,342 @@ + + + + + + + + + Show Border Gateway Protocol (BGP) information + + /usr/bin/vtysh -c "show ip bgp" + + + + Show BGP attribute information + + /usr/bin/vtysh -c "show ip bgp attribute-info" + + + + Display only routes with non-natural netmasks + + /usr/bin/vtysh -c "show ip bgp cidr-only" + + + + Show BGP routes matching the communities + + /usr/bin/vtysh -c "show ip bgp community" + + + + Display routes matching the specified communities + + <AA:NN> local-AS no-advertise no-export + + + /usr/bin/vtysh -c "show ip bgp community $5" + + + + List all bgp community information + + /usr/bin/vtysh -c "show ip bgp community-info" + + + + Show BGP routes matching specified community list + + /usr/bin/vtysh -c "show ip bgp community-list $5" + + + + Show BGP routes exactly matching specified community list + + /usr/bin/vtysh -c "show ip bgp community-list $5 exact-match" + + + + + + Show dampened BGP paths + + /usr/bin/vtysh -c "show ip bgp dampening dampened-paths" + + + + Show BGP information for specified word + + /usr/bin/vtysh -c "show ip bgp filter-list $5" + + + + Show flap statistics of routes + + /usr/bin/vtysh -c "show ip bgp dampening flap-statistics" + + + + Show BGP IPv4 information + + + + + Show BGP IPv4 unicast information + + + + + Display only routes with non-natural netmasks + + /usr/bin/vtysh -c "show ip bgp ipv4 unicast cidr-only" + + + + Show BGP routes matching the communities + + /usr/bin/vtysh -c "show ip bgp ipv4 unicast community" + + + + Display routes matching the specified communities + + <AA:NN> local-AS no-advertise no-export + + + /usr/bin/vtysh -c "show ip bgp ipv4 unicast community $7" + + + + Show BGP routes matching specified community list + + /usr/bin/vtysh -c "show ip bgp ipv4 unicast community-list $7" + + + + Show BGP routes exactly matching specified community list + + /usr/bin/vtysh -c "show ip bgp ipv4 unicast community-list $7 exact-match" + + + + + + Show BGP information for specified word + + /usr/bin/vtysh -c "show ip bgp filter-list $5" + + + + Show detailed BGP IPv4 unicast neighbor information + + + + + /usr/bin/vtysh -c "show ip bgp ipv4 unicast neighbors $7" + + + + Show routes advertised to a BGP neighbor + + /usr/bin/vtysh -c "show ip bgp ipv4 unicast neighbor $7 advertised-routes" + + + + Show detailed prefix count information + + /usr/bin/vtysh -c "show ip bgp ipv4 unicast neighbor $7 prefix-counts" + + + + Show the received routes from neighbor + + /usr/bin/vtysh -c "show ip bgp ipv4 unicast neighbor $7 received-routes" + + + + Show routes learned from neighbor + + /usr/bin/vtysh -c "show ip bgp ipv4 unicast neighbor $7 routes" + + + + + + Show BGP path information + + /usr/bin/vtysh -c "show ip bgp ipv4 unicast paths" + + + + Show BGP routes matching the specified prefix list + + /usr/bin/vtysh -c "show ip bgp ipv4 unicast prefix-list $7" + + + + Show BGP routes matching the specified AS path regular expression + + /usr/bin/vtysh -c "show ip bgp ipv4 unicast regexp $5" + + + + Show BGP routes matching the specified route map + + /usr/bin/vtysh -c "show ip bgp route-map $5" + + + + Show summary of BGP information + + /usr/bin/vtysh -c "show ip bgp summary" + + + + + + Show BGP information for specified IP address or prefix + + <x.x.x.x> <x.x.x.x/x> + + + /usr/bin/vtysh -c "show ip bgp $6" + + + + + + Show BGP routes matching the specified large-communities + + /usr/bin/vtysh -c "show ip bgp large-community" + + + + Show BGP large-community information + + /usr/bin/vtysh -c "show ip bgp large-community-info" + + + + Show BGP routes matching the specified large-community list + + /usr/bin/vtysh -c "show ip bgp large-community-list $5" + + + + Show BGP memory usage + + /usr/bin/vtysh -c "show ip bgp memory" + + + + Show detailed BGP IPv4 unicast neighbor information + + + + + /usr/bin/vtysh -c "show ip bgp neighbors $5" + + + + Show routes advertised to a BGP neighbor + + /usr/bin/vtysh -c "show ip bgp neighbor $5 advertised-routes" + + + + Show dampened routes received from BGP neighbor + + /usr/bin/vtysh -c "show ip bgp neighbor $5 dampened-routes" + + + + Show flap statistics of the routes learned from BGP neighbor + + /usr/bin/vtysh -c "show ip bgp neighbor $5 flap-statistics" + + + + Show detailed prefix count information for BGP neighbor + + /usr/bin/vtysh -c "show ip bgp neighbor $5 prefix-counts" + + + + Show information received from BGP neighbor + + + + + Show prefixlist filter + + /usr/bin/vtysh -c "show ip bgp neighbor $5 received prefix-filter" + + + + + + Show received routes from BGP neighbor + + /usr/bin/vtysh -c "show ip bgp neighbor $5 received-routes" + + + + Show routes learned from BGP neighbor + + /usr/bin/vtysh -c "show ip bgp neighbor $5 routes" + + + + + + Show BGP path information + + /usr/bin/vtysh -c "show ip bgp paths" + + + + Show BGP routes matching the specified prefix list + + /usr/bin/vtysh -c "show ip bgp prefix-list $5" + + + + Show BGP routes matching the specified AS path regular expression + + /usr/bin/vtysh -c "show ip bgp regexp $5" + + + + Show BGP routes matching the specified route map + + /usr/bin/vtysh -c "show ip bgp route-map $5" + + + + Show summary of BGP information + + /usr/bin/vtysh -c "show ip bgp statistics" + + + + Show summary of BGP information + + /usr/bin/vtysh -c "show ip bgp summary" + + + + + + Show BGP information for specified IP address or prefix + + <x.x.x.x> <x.x.x.x/x> + + + /usr/bin/vtysh -c "show ip bgp $4" + + + + + + -- cgit v1.2.3