Use this command to match a packet against the specified extended community.
| name | Specifies the extended community to match this packet against. |
None.
BGP route map configuration.
The no match extended-community command removes the match clause for the specified extended community.
This example shows how to match a packet against the extended community route target attribute 000203E9000186A0:
System(su)->show ip bgp 1.0.0.0/8 detail
Route status codes: > - active
Network Next Hop Rib MED Local-Pref Origin AS Path
> 1.0.0.0/8 192.168.121.112 U 0 100 IGP 121 2013
Community attributes in route:
121:100
Extended Community attributes in route:
Route Target: 1001:100000 (0x000203E9000186A0)
System(su)->configure
System(su-config)->route-map bgp bgprm1 permit
System(su-config-route-map-bgp)->match extended-community 000203E9000186A0
System(su-config-route-map-bgp)->show route-map bgprm1
route-map bgp bgprm1 permit 10
match safi unicast
match as-path "^20313_$13"
match extended-community "000203E9000186A0"
System(su-config-route-map-bgp)->
Print
this page
Email this topic
Feedback