1. 验证一组业务 Community
网络工程师背景
工程师需要确认 65000:100 至 65000:199 范围内的 community 是否会被统一匹配。
问题
手动检查正则边界容易遗漏,无法快速确认 no-export 等其他 community 是否被匹配。
如何使用
在 Community 正则中输入 ^65000:1[0-9][0-9]$,在 Community 集合中逐行输入待测值,并选择 Cisco IOS-XE 作为厂商输出。
Community 正则:^65000:1[0-9][0-9]$
Community 集合:
65000:100
65000:101
65000:200
no-export结果
工具显示 65000:100 和 65000:101 匹配,65000:200 与 no-export 不匹配,并生成 Cisco route-map 形式的输出。