例
电信线路网关为 1.1.1.1
内网接 GE0/0/2口
建ACL
acl n 2000
rule 10 permit ip souece 192.168.1.2 0
quit
建策略
traffic classifier dianxin /定义流分类
if-match acl 2000
quit
traffic behavior dianxin /定义流行为
redirect ip-nexthop 1.1.1.1
quit
traffic policy dianxin /定义流策略
classifier dianxin behavior dianxin
应用策略
interface gigabitethernet 0/0/2
traffic-policy dianxin inbound
quit
ip route-static 0.0.0.0 0.0.0.0 1.1.1.1 pref 100