228
Cisco Nexus 3548 Switch NX-OS Unicast Routing Command Reference
OL-27852-01
Chapter Unicast Routing Commands
match community
switch(config-route-map)# set weight 200
switch(config-route-map)#
This example shows the routes that match the community list 500. Any route that has expanded
community 1 have the weight set to 150.
switch# configure terminal
switch(config)# ip community-list expanded 500 permit [0-9]*
switch(config)# route-map MAP_NAME permit 10
switch(config-route-map)# match community 500
switch(config-route-map)# set weight 150
switch(config-route-map)#
Related Commands Command Description
ip community-list Creates a community list for BGP and controls access to it.
route-map Defines the conditions for redistributing routes from one routing protocol
into another.
set weight Specifies the BGP weight for the routing table.