314
Cisco Nexus 3548 Switch NX-OS Unicast Routing Command Reference
OL-27852-01
Chapter Unicast Routing Commands
route-map
This example shows how to configure that the routes match community list LIST_NAME have the
weight set to 100. Any route that has community 101 alone has the weight set to 100.
switch# configure terminal
switch(config)# ip community-list 1 permit 101
switch(config)# route-map set_weight
switch(config-route-map)# match community LIST_NAME
switch(config-route-map)# set weight 100
switch(config-route-map)#
Related Commands Command Description
match as-path Matches a BGP autonomous system path access list.
match community Matches a BGP community.
match ip next-hop Redistributes any routes that have a next-hop router address passed
by one of the access lists specified.
match ip route-source Redistributes routes that have been advertised by routers and access
servers at the address specified by the access lists.
match metric Redistributes routes with the metric specified.
match tag Redistributes routes in the routing table that match the specified
tags.
route-map (IP) Defines the conditions for redistributing routes from one routing
protocol into another.
set as-path Modifies an autonomous system path for BGP routes.
set community Sets the BGP communities attribute.
set level Indicates where to import routes.
set local-preference Specifies a preference value for the autonomous system path.
set metric Sets the metric value for a routing protocol.
set metric-type Sets the metric type for the destination routing protocol.
set next-hop Specifies the address of the next hop.
set tag Sets a tag value of the destination routing protocol.
set weight Specifies the BGP weight for the routing table.