针对S7506E堆叠双运营商链路QoS带宽保障需求,核心思路是基于出方向(运营商侧接口)配置队列调度,并结合策略路由或等价路由实现流量分类导向。
配置方案
1. 流量分类(定义类)
在系统视图下定义四个类,匹配生产、办公、视频、其他流量。假设通过ACL或IP优先级区分:
bash
traffic classifier prod
if-match acl 3001 # 生产流量匹配规则
traffic classifier office
if-match acl 3002
traffic classifier video
if-match acl 3003
traffic classifier other
if-match acl 3004
2. 定义行为(队列+带宽)
运营商A线路(生产40% 办公40% 视频5% 其他15%):
bash
traffic behavior prod_A
queue 4 af bandwidth 40
traffic behavior office_A
queue 3 af bandwidth 40
traffic behavior video_A
queue 2 af bandwidth 5
traffic behavior other_A
queue 1 af bandwidth 15
运营商B线路(视频70% 生产5% 办公10% 其他15%):
bash
traffic behavior video_B
queue 4 af bandwidth 70
traffic behavior prod_B
queue 3 af bandwidth 5
traffic behavior office_B
queue 2 af bandwidth 10
traffic behavior other_B
queue 1 af bandwidth 15
3. 定义QoS策略并应用
运营商A出接口(假设为GigabitEthernet1/0/1):
bash
qos policy POLICY_A
classifier prod behavior prod_A
classifier office behavior office_A
classifier video behavior video_A
classifier other behavior other_A
interface GigabitEthernet1/0/1
qos apply policy POLICY_A outbound
运营商B出接口(假设为GigabitEthernet2/0/1):
bash
qos policy POLICY_B
classifier video behavior video_B
classifier prod behavior prod_B
classifier office behavior office_B
classifier other behavior other_B
interface GigabitEthernet2/0/1
qos apply policy POLICY_B outbound
4. 流量导向(关键步骤)
由于OSPF默认负载分担,需确保不同流量走不同运营商链路。使用策略路由(优先于路由表):
policy-based-route PBR_A permit node 10
if-match acl 3001 # 生产
apply next-hop <运营商A网关>
policy-based-route PBR_A permit node 20
if-match acl 3002 # 办公
apply next-hop <运营商A网关>
policy-based-route PBR_A permit node 30
if-match acl 3003 # 视频
暂无评论