EasyManua.ls Logo

Cisco Nexus 3548

Cisco Nexus 3548
556 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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.

Table of Contents

Other manuals for Cisco Nexus 3548

Related product manuals