Cisco Systems OL-14356-01 Network Router User Manual


 
Implementing Routing Policy on Cisco IOS XR Software
Information About Implementing Routing Policy on Cisco IOS XR Software
RC-358
Cisco IOS XR Routing Configuration Guide
OL-14356-01
RPL also provides a facility for using wildcards in community specifications. A wildcard is specified by
inserting an asterisk (*) in place of one of the 16-bit portions of the community specification; the
wildcard indicates that any value for that portion of the community matches. Thus, the following policy
matches all communities in which the autonomous system part of the community is 123:
community-set cset3
123:*
end-set
Every community set must contain at least one community value. Empty community sets are invalid and
are rejected.
extcommunity-set
An extended community-set is analogous to a community-set except that it contains extended
community values instead of regular community values. It also supports named forms and inline forms.
There are three types of extended community sets: cost, soo, and rt.
As with community sets, the inline form supports parameterization within parameterized policies. Either
portion of the extended community value can be parameterized.
Note Wildcards are not supported in extended communities.
Every extended community-set must contain at least one extended community value. Empty extended
community-sets are invalid and rejected.
The following are syntactic examples:
Named Form for Extcommunity-set Cost
A cost set is an extcommunity set used to store cost extended community type communities:
extcommunity-set cost a_cost_set
IGP:1:10
end-set
Named Form for Extcommunity-set RT
An rt set is an extcommunity set used to store route target extended community type communities:
extcommunity-set rt a_rt_set
1.2.3.4:666
1234:666,
1.2.3.4:777,
4567:777
end-set
Inline Set Form for Extcommunity-set RT
(1.2.3.4:666, 1234:666, 1.2.3.4:777, 4567:777)
($ipadrr:666, 1234:$tag, 1.2.3.4:777, $tag2:777)
Named Form for Extcommunity-set Soo
A soo set is an extcommunity set used to store Site-of-Origin (SoO) extended community type
communities:
extcommunity-set soo a_soo_set
1.1.1.1:100,
100:200
end-set