本地策略路由
对本设备发送的报文实现策略路由
接口策略路由
对流经本设备的转发流量生效,对本设备主动触发的流量不生效
路由策略常用工具
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
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 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
服务器托管,北京服务器托管,服务器租用 http://www.fwqtg.net
机房租用,北京机房租用,IDC机房托管, http://www.e1idc.net