Match Extcommunity - Cisco Nexus 3548 Command Reference Manual

Nx-os unicast routing command reference
Hide thumbs Also See for Nexus 3548:
Table of Contents

Advertisement

Chapter
Unicast Routing Commands

match extcommunity

To match a Border Gateway Protocol (BGP) extended community in a route map, use the match
extcommunity command. To remove the match from the route map, use the no form of this command.
Syntax Description]
name
exact-match
Command Default
No community list is matched by the route map.
Command Modes
Route-map configuration mode
Command History
Release
5.0(3)A1(1)
Usage Guidelines
A route map can have several parts. Any route that does not match at least one match command in the
route map 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 extended 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 extended community lists:
switch# configure terminal
switch(config)# route-map test2
switch(config-route-map)# match extcommunity bgpLocal bgpRemote
switch(config-route-map)#
This example shows that the routes that match the extended community list bgpLocal change from
nontransitive to transitive:
switch# configure terminal
switch(config)# ip extcommunity-list standard bgpLocal permit generic nontransitive 1.9
switch(config)# route-map deletCommunity
switch(config-route-map)# match extcommunity bgpLocal exact-match
OL-27852-01
match extcommunity name [...name] [exact-match]
no match extcommunity name [...name] [exact-match]
One or more extended community list names. The name can be any
alphanumeric string up to 63 characters. You can configure a maximum
of 32 community lists.
(Optional) Indicates that an exact match is required. All of the
communities and only those extended communities specified must be
present.
Modification
This command was introduced.
Cisco Nexus 3548 Switch NX-OS Unicast Routing Command Reference
match extcommunity
229

Advertisement

Table of Contents
loading

Table of Contents