device# configure terminal
device(config)# ip extcommunity-list standard mylist permit soo 123:2
Note
The ip-extcommunity-list command supports a range of extended instances from 100 through 500, beyond the standard range of 1 through 99.device(config)# route-map extComRmap permit 10
device(config-route-map-extComRmap/permit/10)# match extcommunity mylist
device(config-route-map-extComRmap/permit/10)# exit
device(config)# route-map sendExtComRmap permit 10
device(config-route-map-sendExtComRmap/permit/10)# set extcommunity rt 3:3
device(config-route-map-sendExtComRmap/permit/10)# set extcommunity soo 2:2
The following example summarizes the commands in this procedure.
device# configure terminal device(config)# ip extcommunity-list standard mylist permit soo 123:2 device(config)# route-map extComRmap permit 10 device(config-route-map-extComRmap/permit/10)# match extcommunity mylist device(config-route-map-extComRmap/permit/10)# exit device(config)# route-map sendExtComRmap permit 10 device(config-route-map-sendExtComRmap/permit/10)# set extcommunity rt 3:3 device(config-route-map-sendExtComRmap/permit/10)# set extcommunity soo 2:2