How to configure traffic load-balance with QoS?

2021-09-29 23:50:52 Published
  • 0 Followed
  • 0Collected ,1339Browsed

Network Topology

Topology:

Problem Description

There two SIM card in the device for WAN access, one active and one backup. All bandwidth from up-link share to 2 down-links, one to the ATM and the other one is to the camera. The percentage should refer to a total traffic. Camera is 40%, ATM is 60%.

Process Analysis

We can realize the requirement via QoS.

Solution

The configuration is as following:

 

<DeviceA> system-view

[DeviceA] acl ad 3000

[DeviceA-acl-ipv4-ad-3000] rule 0 permit ip source ATM-ip

[DeviceA-acl-ipv4-ad-3000] rule 5 permit ip dest ATM-IP

[DeviceA-acl-ipv4-ad-3000] quit

[DeviceA] acl ad 3500

[DeviceA-acl-ipv4- ad -3500]  rule 0 permit ip source Camera-IP

[DeviceA-acl-ipv4- ad -3500]  rule 5 permit ip dest Camera-IP

[DeviceA-acl-ipv4-ad -3500] quit

[DeviceA] traffic classifier ATM

[DeviceA-classifier-ATM] if-match acl 3000

[DeviceA-classifier-ATM] quit

[DeviceA] traffic classifier CAM

[DeviceA-classifier-CAM] if-match acl 3500

[DeviceA-classifier-CAM] quit

[DeviceA] traffic behavior ATM

[DeviceA-behavior-ATM] car cir percent 60

[DeviceA-behavior-ATM] quit

[DeviceA] traffic behavior CAM

[DeviceA-behavior-CAM] car cir percent 40

[DeviceA-behavior-CAM] quit

[DeviceA] qos policy car

[DeviceA-qospolicy-car] classifier ATM behavior ATM

[DeviceA-qospolicy-car] classifier CAM behavior CAM

[DeviceA-qospolicy-car] quit

[DeviceA] interface eth-channel 1/0:0

[DeviceA-GigabitEthernet1/0:0] qos apply policy car outboud

[DeviceA-GigabitEthernet1/0:0] qos apply policy car inboud

[DeviceA] interface eth-channel 1/1:0

[DeviceA-GigabitEthernet1/1:0] qos apply policy car outboud

[DeviceA-GigabitEthernet1/1:0] qos apply policy car inboud

Please rate this case:   
0 Comments

No Comments

Add Comments: