H3C OSPF 中过滤相关的路由
建立一个ACL
acl number 2100
description shopfloor_acl
rule 0 permit source 10.xxx.xx.0 0.0.0.255
第二步建议 route-policy
route-policy shopfloor permit node 10
if-match ip address acl 2100
第三步应用到OSPF
ospf 100
import-route static route-policy shopfloor
ACL中要匹配路由条目
比如静态
ip route-static xx.xxx.x.0 24 xx.xxx.136.212 description xFIRAP
ip route-static xx.xxx.82.0 25 xx.xxx.255.10
ip route-static xx.xxx.83.0 25 xx.xxx.255.10
ip route-static xx.xxx.88.0 25 xx.xxx.255.10
ip route-static xx.xxx.150.0 25 xx.xxx.255.10
ip route-static xx.xxx.150.128 25 xx.xxx.255.10