Use case: Customer has purchased 15MB MPLS line from service provider. They want to utilize this 15MB bandwidth for their import production traffic. Customer wants to allocate bandwidth as per below requirement just to make sure that their important traffic doesn’t get drop during congestion.


 

                           Video/Voice :                               3M   Guaranteed rate

                           Business (SAP/AD/WINSCP)     12M  Guaranteed rate

                           Others                                         10M Transmit rate

                          

 

 

Solution:

Versa Flex VNF supports 16 forwarding classes. These forwarding classes are mapped with 4 traffic classes and each traffic class has 4 queues. Traffic classes are handled in strict priority order: network-control > expedited-forwarding > assured-forwarding > Best-effort. As per above requirement we need to map customer traffic with 3 traffic class.

So in this use case we need to map customer traffic as below. For simplicity we are matching different traffic on different port numbers however we can differentiate traffic based on other parameters as well (i.e. source ip, destination ip) 

                                          

Guaranteed Rate (CIR) – This would be available per traffic class at any point in time ( assuming no traffic in high priority traffic class)

Transmit Rate – This is the maximum rate that would be available per traffic class when there is no congestion

 

 

Traffic Type

Port Number

Traffic Class

Bandwidth

Voice/Video

5001

TC0

3M

Business

SAP (5002)

TC1 (Q0)

3M

Active Directory (5003)

TC1 (Q1)

4M

WINSCP (5004)

TC1(Q2)

5M

Other

5005

TC2

10M

 

 

 

Topology:

 

cid:image001.jpg@01D492F2.A6BE3050

 

 

Configuration:

 

Step 1: Configure QoS Profiles.

            Go to Appliance > Configuration> Networking tab> Class of Service> QoS Profiles and then click on + button.

 

cid:image004.png@01D4918D.00D1E940

 

cid:image003.jpg@01D492F2.A6BE3050

 

SNAGHTML2ffc5be6

 

cid:image005.jpg@01D492F2.A6BE3050

 

cid:image013.png@01D4918E.16661780

 

Step 2: Configure QoS-policy

Go to Appliance > Configuration> Networking tab> Class of Service> QoS Policies and then click on + button.

There can be only one qos-policy.  By-default there is ‘Default-policy’ is configured so we can just delete the default one and create new policy.

 

cid:image004.jpg@01D48C1A.67707A90

 

cid:image005.jpg@01D48C1A.67707A90

 

Step 3: Configure QoS policy rules.

Go to Appliance > Configuration> Networking tab> Class of Service> QoS Policies> rules and then click on + button.

 

cid:image006.jpg@01D48C1A.67707A90

 

cid:image018.png@01D4919A.6DCB2D10

 

Match source and destination. Here source zone is “Intf-LAN1-Zone” and destination zone is “ptvi”.


 

cid:image019.png@01D4919A.6DCB2D10


 

Since we are differentiating traffic based on port numbers so we need to match port numbers under Headers/Schedule tab.


 

cid:image020.png@01D4919A.BE3BACC0


 

Map QoS profile

 

cid:image021.png@01D4919A.EEABBAD0

 

Similarly, we need to create rules for other profiles.

 

Step 4: Configure Schedulers

Go to Appliance > Configuration> Networking tab> Class of Service> Schedulers and then click on + button.

 

SNAGHTML3059fd32

 

Configure scheduler for Voice/Video traffic and specify Guaranteed rate of 3M

 

cid:image025.png@01D4919C.6C411FC0

 

For Business class we need to specify weights of each queue. Bandwidth allocation happens in proportion of weight.

 

cid:image016.jpg@01D492F2.A6BE3050

 

 

SNAGHTML30659dd2

 

Step 5: Configure Scheduler Maps

Go to Appliance > Configuration> Networking tab> Class of Service> Scheduler Maps and then click on + button.

 

cid:image018.jpg@01D492F2.A6BE3050

 

In Schedular Map we need to associate schedulers with appropriate traffic classes.

 

cid:image034.png@01D49227.C1118E00

 

Step 6: Configure shaping rate on vni interface.

Go to Appliance > Configuration> Networking tab> Class of Service> Associate Interface/Network and then click on + button.

 

cid:image020.jpg@01D492F2.A6BE3050

 

 

On vni interface we need to specify shaping rate/burst size and Scheduler Map

 

cid:image039.png@01D49229.2E98B060

 


Burst size selection: Default burst size for shaper is 125000 Byte for 1 Gbps and 12500 Byte for 100Mbps port speeds.

Burst size needs to be tune based on traffic nature as it affects shaping rate. Choosing burst size too large may cause shaper to allow traffic more than the specified rate. Also choosing burst size too low may result in less shaping than the specified rate.