首页 > 网络 > 策略路由

策略路由

Apr 23rd,2009 发表评论

华为策略路由写法:

acl number xxxx match-order auto
rule 4 permit ip source ***.***.***.0 0.0.0.255
rule 0 permit ip source ***.***.0 0.0.15.255
rule 2 permit ip destination ***.***.***.**1 0
rule 1 permit ip destination ***.***.***.0 0.0.0.255

应用在接口:

PS:作用顺序:自上而下(先加优先)

interface GigabitEthernet0/*/*


stp disable
speed 1000
duplex full
port access vlan **
traffic-redirect inbound ip-group xxxx rule 1 system-index 11 next-hop ***.***.***.1 invalid drop
traffic-redirect inbound ip-group xxxx rule 2 system-index 14 next-hop ***.***.***.2 invalid drop
traffic-redirect inbound ip-group xxxx rule 0 system-index 57 next-hop ***.***.***.3 invalid drop
traffic-redirect inbound ip-group xxxx rule 4 system-index 59 next-hop ***.***.***.4 invalid drop
port link-aggregation group 2
#

声明: 本文采用 BY-NC-SA 协议进行授权. 转载请注明转自: 策略路由
  1. 本文目前尚无任何评论.
  1. 本文目前尚无任何 trackbacks 和 pingbacks.