![Cisco Nexus 3548 series Скачать руководство пользователя страница 247](http://html.mh-extra.com/html/cisco/nexus-3548-series/nexus-3548-series_command-reference-manual_2609162247.webp)
227
Cisco Nexus 3548 Switch NX-OS Unicast Routing Command Reference
OL-27852-01
Chapter Unicast Routing Commands
match community
match community
To match a Border Gateway Protocol (BGP) community, use the
match community
command. To
restore the system to its default condition where the software removes the BGP community list entry, use
the
no
form of this command.
match community
name
[...
name
] [
exact-match
]
no match community
name
[...
name
] [
exact-match
]
Syntax Description
]
Command Default
No community list is matched by the route map.
Command Modes
Route-map configuration mode
Command History
Usage Guidelines
A route map can have several parts. Any route that does not match at least one
match
command that is
related to a
route-map
command is ignored; that is, the route is not advertised for outbound route maps
and is not accepted for inbound route maps. If you want to modify some particular data, you must
configure a second route-map section with an explicit match specified.
Matching that is based on the community list number is one of the types of
match
commands applicable
to BGP.
This command requires the LAN Enterprise Services license.
Examples
This example shows how to match two BGP communities:
switch#
configure terminal
switch(config)#
route-map test2
switch(config-route-map)#
match community bgpLow bgpHigh
switch(config-route-map)#
This example shows that the routes that match community list 1 have the weight set to 200. Any route
that has the standard community 109 only has the weight set to 200.
switch#
configure terminal
switch(config)#
ip community-list standard bgpLow permit 109
switch(config)#
route-map set_weight
switch(config-route-map)#
match community bgpLow exact-match
name
One or more community list names. The name can be any alphanumeric
string up to 63 characters. You can configure a maximum of 32
community lists.
exact-match
(Optional) Indicates that an exact match is required. All of the
communities and only those communities specified must be present.
Release
Modification
5.0(3)A1(1)
This command was introduced.
Содержание Nexus 3548 series
Страница 14: ...Contents xiv Cisco Nexus 3548 Switch NX OS Unicast Routing Command Reference OL 27852 01 ...
Страница 16: ...xvi Cisco Nexus 3548 NX OS Unicast Routing Command Reference OL 27852 01 Chapter New and Changed Information ...
Страница 20: ...xx Cisco Nexus 3548 Switch NX OS Unicast Routing Command Reference OL 27852 01 ...
Страница 426: ...406 Cisco Nexus 3548 Switch NX OS Unicast Routing Command Reference OL 27852 01 Chapter Unicast Routing Commands vrrp ...