Show Border Gateway Protocol (BGP) information vtysh -c "show ip bgp" Show BGP attribute information vtysh -c "show ip bgp attribute-info" Display only routes with non-natural netmasks vtysh -c "show ip bgp cidr-only" List all bgp community information vtysh -c "show ip bgp community-info" #include #include policy prefix-list Show BGP IPv4 information Show BGP IPv4 unicast information Display only routes with non-natural netmasks vtysh -c "show ip bgp ipv4 unicast cidr-only" Show BGP routes matching the communities vtysh -c "show ip bgp ipv4 unicast community" Display routes matching the specified communities <AA:NN> local-AS no-advertise no-export vtysh -c "show ip bgp ipv4 unicast community $7" Show BGP routes matching specified community list vtysh -c "show ip bgp ipv4 unicast community-list $7" Show BGP routes exactly matching specified community list vtysh -c "show ip bgp ipv4 unicast community-list $7 exact-match" Show detailed BGP IPv4 unicast neighbor information vtysh -c "show ip bgp ipv4 unicast neighbors $7" Show routes advertised to a BGP neighbor vtysh -c "show ip bgp ipv4 unicast neighbor $7 advertised-routes" Show detailed prefix count information vtysh -c "show ip bgp ipv4 unicast neighbor $7 prefix-counts" Show the received routes from neighbor vtysh -c "show ip bgp ipv4 unicast neighbor $7 received-routes" Show routes learned from neighbor vtysh -c "show ip bgp ipv4 unicast neighbor $7 routes" Show BGP path information vtysh -c "show ip bgp ipv4 unicast paths" Show BGP routes matching the specified prefix list vtysh -c "show ip bgp ipv4 unicast prefix-list $7" Show BGP routes matching the specified AS path regular expression vtysh -c "show ip bgp ipv4 unicast regexp $5" Show BGP routes matching the specified route map vtysh -c "show ip bgp route-map $5" Show summary of BGP information vtysh -c "show ip bgp summary" Show BGP information for specified IP address or prefix <x.x.x.x> <x.x.x.x/x> vtysh -c "show ip bgp $6" Show BGP large-community information vtysh -c "show ip bgp large-community-info" Show BGP memory usage vtysh -c "show ip bgp memory" Show BGP path information vtysh -c "show ip bgp paths"