Forwarding & QOS Concepts

Forwarding & QOS Concepts

Posted on Jan 27, 2020 (0)

Forwarding & QOS Concepts

Without QOS, Traffic flow over IPsec connection using default data packing forwarding method. Now if you want to modify this default data packet forwarding, you need to create and apply the centralized data policy or localized data policy.

With Centralized data policy any traffic can be permitted or blocked based on address, port, and DSCP fields in IP packets. And with Localized data policy flow of data traffic is controlled from vEdge router in and out interface by QOS and Mirroring etc.

Default Behavior without data policy:

Let’s understand the Data policy default Behavior by below dig, the below dig its self explains how packet header changes while using the default data policy behavior.

Behavior changes while using QOS Data Policy:

The below fig explains about QOS policy that can be applied to data policy when any data packet is transmitted from one vEdge router to another. When Policy is marked input are applied on inbound interface and when it is marked output are applied on outbound interface to vEdge Router before packets are transmitted out the IPSEC tunnel.

How QOS works:

Below are the steps which defines how QOS works when traffic is going outside or coming inside of vEdge Router.

Classify Data packets:

Any incoming packets can be classified by associating it with a forwarding class and this class groups data packets and based on this forwarding class, these packets can be assign to any desired output queue. The vEdge router service output queue according to the associated forwarding, scheduling, and policies configured.

Schedule Data packets:

Any QOS Map for each output queue to specify bandwidth, delay buffer size, packet loss priority can be configured. This QOS map is helpful in determine how to prioritize data packet for transmission to destination. Based on condition defined on QOS map, packet are forwarded to next HOP.

On Hardware Routers or vEdge Router, each interface has eight queues which are numbered from 0 to 7. Queue 0 is reserved for control traffic and low latency queuing (LLQ) traffic. Queue from 1 to 7 ae available for data traffic and default scheduling for these 7 queue are WRR (Weighted Round Robin Queue).

Rewrite Data Packets:

Any re-write rule can also be configured and applied on egress interface to overwrite DSCP value of any packet entering in network.

Police Data Packets:

Policers are also configured to control maximum rate of traffic sent or received on interface and also to partition a network in to multiple priority levels. When following match, action is taken based on below:

  • When Policer rate Conforms: Traffic is allowed
  • When Policer rate is Exceed: Traffic is send with decreased priority or is dropped.

This Policer can be applied to inbound or outbound interface traffic and when it is applied on inbound direction , it generally conserve resources by dropping traffic and when it is applied on outbound interface , traffic control the amount of BW used.

Forwarding & QOS Example:

To configure the QOS policy following methods are to be used.

  1. Map each forwarding class to an output Queue.
  2. Configure QOS scheduler for each forwarding class
  3. Group QOS scheduler to QOS map
  4. Define Access-list to match condition for packet transmission
  5. Apply access-list to specific interface
  6. Apply QOS MAP and re-write rule to egress interface.

Map each forwarding class to an output Queue.

Below example shows data policy that classify incoming traffic by mapping each forwarding class to an output Queue. Here Best Effort (Be) traffic is mapped to Queue 2, Af1 is mapped to Queue 3 etc.


    You are will be the first.


Please login here to comment.