| standard | 精确匹配单个 community 值 |
|---|---|
| expanded | 正则匹配一类 community 值 |
| 应用 | route-map match community / match extcommunity |
| 查看 | show ip community-list |
定义与匹配
定义与匹配
ip community-list standard CL-CUST1 permit 65001:100
ip community-list expanded CL-UPSTREAM permit ^65100:.*$
!
route-map RM-MATCH permit 10
match community CL-CUST1 CL-UPSTREAM
set local-preference 120注释 community 编号规划表:列表名称与业务语义一一对应,避免半年后无人能读。