策略路由
2023-05-25 14:20:46 阅读次数:81
ospf
本地策略路由
接口策略路由
对流经本设备的转发流量生效,对本设备主动触发的流量不生效
路由策略常用工具
route-policy
filter-policy
策略路由
traffice-policy
traffice-filter
OSPF引入ACL,实现路由策略
[R1]acl 2019
[R1-acl-basic-2019]rule deny source 7.7.7.0 0.0.0.255
[R1-acl-basic-2019]rule permit ?
fragment Check fragment packet
none-first-fragment Check the subsequence fragment packet
source Specify source address
time-range Specify a special time
vpn-instance Specify a VPN-Instance
<cr> Please press ENTER to execute command
[R1-acl-basic-2019]rule permit
[R1-acl-basic-2019]display this
[V200R003C00]
#
acl number 2019
rule 5 deny source 7.7.7.0 0.0.0.255
rule 10 permit
#
return
[R1-acl-basic-2019]quit
[R1]ospf
[R1-ospf-1]filter-policy ?
INTEGER<2000-2999> Apply basic ACL
acl-name Specify the ACL name for filtering IPv4 routes
ip-prefix IP address prefix-list
route-policy Route policy
[R1-ospf-1]filter-policy 2019 ?
export Filtering outgoing routing updates
import Filtering incoming routing updates
[R1-ospf-1]filter-policy 2019 import
版权声明:本文内容来自第三方投稿或授权转载,原文地址:https://blog.51cto.com/u_11726705/6236121,作者:You0tech,版权归原作者所有。本网站转在其作品的目的在于传递更多信息,不拥有版权,亦不承担相应法律责任。如因作品内容、版权等问题需要同本网站联系,请发邮件至ctyunbbs@chinatelecom.cn沟通。
上一篇:RESTful之路由Routers
下一篇:RESTful视图之Request 与 Response