Displays the list of routes who have specific communities tagged to them.
switch(bgp)# show ip community 200:20 200:30
Local AS : 100 Local Router-id :
Status codes: * - valid, > - best, i - internal, e - external, s - stale
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Nexthop Metric LocalPref Weight AsPath
------------------------------------------------------------
* e 11.0.0.0/8 10.0.102.40 0 0 200 ?
*>e 33.0.0.0/8 10.0.102.40 0 0 200 ?
Synopsis:
show ip bgp community regexp
community-reg-ex
Displays the routes whose community information matches the supplied regular expression.
switch(bgp)# show ip bgp community regexp “2”
Local AS : 100 Local Router-id : 10.0.102.138
Status codes: * - valid, > - best, i - internal, e - external, s - stale
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Nexthop Metric LocalPref Weight AsPath
------------------------------------------------------------
* e 11.0.0.0/8 10.0.102.40 0 0 200 ?
*>e 11.0.0.0/8 10.0.102.153 0 0 200 i
*>e 22.0.0.0/8 10.0.102.40 0 0 200 ?
Synopsis:
show ip bgp community
comm-num...
regexp
aspath-reg-ex
Displays the routes whose community information matches the supplied community numbers and also the
AS_PATH information matches the supplied regular expression.
switch(bgp)# show ip bgp community 20 regexp “2”
Local AS : 100 Local Router-id : 10.0.102.138
Status codes: * - valid, > - best, i - internal, e - external, s - stale
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Nexthop Metric LocalPref Weight AsPath
------------------------------------------------------------
* e 11.0.0.0/8 10.0.102.40 0 0 200 ?
Synopsis:
show ip bgp community
comm-num...
exact regexp
aspath-reg-ex
Displays the routes whose community information matches exactly the supplied community numbers and also
whose AS_PATH information matches the supplied regular expression.
404
Aruba 3810 / 5400R Multicast and Routing Guide for ArubaOS-
Switch 16.08