瞻博网络在 ABR 上过滤 OSPF 类型 7 路由

网络工程 杜松 杜松-朱诺斯
2022-02-03 16:33:56

有人知道为什么 ABR 上的 NSSA 外部路由过滤在 JunOS 上如此无用吗?

例如,我想过滤来自 NSSA 区域 0.0.0.3 的所有路由,“10.0.0.0/8 或更长”路由除外。为此,我必须输入这些命令:

set protocols ospf area 0.0.0.3 nssa area-range 128.0.0.0/1 restrict
set protocols ospf area 0.0.0.3 nssa area-range 64.0.0.0/2 restrict
set protocols ospf area 0.0.0.3 nssa area-range 32.0.0.0/3 restrict
set protocols ospf area 0.0.0.3 nssa area-range 16.0.0.0/4 restrict
set protocols ospf area 0.0.0.3 nssa area-range 0.0.0.0/5 restrict
set protocols ospf area 0.0.0.3 nssa area-range 12.0.0.0/6 restrict
set protocols ospf area 0.0.0.3 nssa area-range 8.0.0.0/7 restrict
set protocols ospf area 0.0.0.3 nssa area-range 11.0.0.0/8 restrict

也许有人知道在 JunOS 上完成这项任务的更直接的方法?

0个回答
没有发现任何回复~