应用rout-map策略路由,使172.16.23.1和192.168.1.2走11.1.1.2到达172.8.10.1服务器。
R3:
access-list 1 permit 192.168.1.0 0.0.0.255/抓取对象
access-list 2 permit 172.16.23.0 0.0.0.255/抓取对象
route-map next-hop permit 10
match ip address 1/调用ACL
set ip next-hop 11.1.1.2
route-map next-hop permit 20
match ip address 2/调用ACL
set ip next-hop 11.1.1.2
转载于:https://blog.51cto.com/385150/1026532