| 命令 | set comm-list <name|number> delete |
|---|---|
| 用途 | 剥离特定标记后再打新标记 |
| 组合 | delete 与 additive 搭配完成替换 |
| 验证 | show ip bgp <prefix> 查看 Community 行 |
剥离再打标
剥离再打标
ip community-list standard CL-STRIP permit 65001:999
route-map RM-STRIP permit 10
set comm-list CL-STRIP delete
set community 65001:100 additive
!
show ip bgp 10.1.1.0/24