图1
如 图1 所示,公司由于业务需要,保证公司数据安全性,用户访问某些服务器数据,需经过加密服务器过滤检测后,再正常访问。
在此基础上,需配置策略路由,让数据引流到 加密服务器,而不匹配路由表。
配置思路
- 配置各接口IP地址,并在核心交换机配置路由协议,保证路由可达。
1、 配置流分类,匹配流量。
使用ACL匹配需要进行策略路由的网络流量
[FutureMatrix]acl number 3000
[FutureMatrix-acl-adv-3000]rule 5 permit tcp source 192.168.10.0 0.0.0.255 destination 192.168.20.34 0 destination-port eq 3000
#使用分类,并匹配ACL
[FutureMatrix]traffic classifier c1
[FutureMatrix-classifier-c1]if-match acl 3
[FutureMatrix-classifier-c1]if-match acl 3000
2、配置流行为,将匹配到的流量重定向到加密服务器,下一跳IP地址为192.168.30.101。
[FutureMatrix]traffic behavior b1