首页 > 其他分享 >h3c ospf import-route 路由过滤

h3c ospf import-route 路由过滤

时间:2022-11-21 22:34:29浏览次数:55  
标签:h3c 10 ip route xx static 25 import


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


标签:h3c,10,ip,route,xx,static,25,import
From: https://blog.51cto.com/drennetwork/5875348

相关文章