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...
330
Cisco Nexus 3548 Switch NX-OS Unicast Routing Command Reference
OL-27852-01
Chapter Unicast Routing Commands
set community
Use the route-map global configuration command and the match and set route map configuration
commands to define the conditions for redistributing routes from one routing protocol into another. Each
route-map command has a list of match and set commands associated with it. The match commands
specify the match criteria—the conditions under which redistribution is allowed for the current
route-map command. The set commands specify the set actions—the particular redistribution actions
to perform if the criteria enforced by the match commands are met. The no route-map command deletes
the route map.
The set route map configuration commands specify the redistribution set actions to be performed when
all of the match criteria of a route map are met. When all match criteria are met, all set actions are
performed.
This command requires the LAN Enterprise Services license.
Examples This example shows how to configure the routes that pass the autonomous system path access list 1 to
have the community set to 109:02 and 33:40. Routes that pass the autonomous system path access list 2
have the community set to no-export (these routes are not advertised to any external BGP [eBGP] peers).
switch# configure terminal
switch(config)# route-map test1 10 permit
switch(config-route-map)# match as-path 1
switch(config-route-map)# set community 109:02 33:40
switch(config-route-map)# exit
switch(config)# route-map test1 20 permit
switch(config-route-map)# match as-path 2
switch(config-route-map)# set community no-export
switch(config-route-map)#
Related Commands Command Description
ip community-list Creates a community list for BGP and control access to it.
match community Matches a BGP community.
route-map (IP) Defines the conditions for redistributing routes from one routing
protocol into another.
set comm-list delete Removes communities from the community attribute of an inbound
or outbound update.
show ip bgp community Displays routes that belong to specified BGP communities.

Table of Contents

Other manuals for Cisco Nexus 3548

Related product manuals