本地策略路由
配置方法-全局模式下配置ACL
acl number 3009
rule 5 permit ip destination 7.7.7.0 0.0.0.255
配置方法-全局模式下配置本地路由策略
policy-based-route aa permit node 10
if-match acl 3009
apply ip-address next-hop 13.1.1.2
配置方法-调用本地路由策略
ip local policy-based-route aa
查看ACL匹配次数
[R1]display acl 3000
Advanced ACL 3000, 1 rule
Acl's step is 5
rule 5 permit ip destination 7.7.7.0 0.0.0.255 (23 matches)
查看本地策略路由详情
[R1]display policy-based-route
policy-based-route : aa
Node 10 permit :
if-match acl 3000
apply
ip-address next-hop 12.1.1.2
配置拓扑
![Policy-based-route_policy-based-route](//dev-img.mos.moduyun.com/20231025/f0d3c362-9d02-4c4c-9489-6be5ff111f33.png)