Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

Dell SmartFabric OS10 User Guide Release 10.5.3

PDF

Example 1: Traffic classification and bandwidth allocation in VXLAN topology using CoS value

This example describes how to configure QoS in a VXLAN topology using the Class of Service (CoS) values.

In this example:

  • The interfaces between the leaf switches and the hosts are VLAN-tagged interfaces.
  • The interfaces between the leaf switches and the spine nodes are VLAN-tagged interfaces.
  • VLAN-tagged interfaces use the CoS value to classify the traffic, allocate appropriate egress queue, and bandwidth. In this example, traffic with a CoS value of 3 is assigned to queue 3.
  • Trust dot1p configuration is used on leaf and spine switches. This configuration maps dot1p priority (CoS) value of 3 to queue 3. OS10 by default maps all other traffic to queue 0.
  • Queue 3 is allocated 65% bandwidth. Traffic with CoS value of 3 gets 65% bandwidth. If there is congestion at the egress port, this traffic gets additional bandwidth thus avoiding traffic loss. Traffic with other CoS values gets the remaining bandwidth per the default settings.
  • The trust dot1p and queuing configurations are applied at the system-qos level to simplify the configuration and also to apply the QoS configurations globally.
qos-configuration-in-vxlan-dot1p
NOTE: For Underlay, Overlay VXLAN configuration, see the VXLAN chapter. The network ports and access ports must be VLAN-tagged interfaces for QoS settings to be applied based on dot1p priority.

S1 Switch

  1. Configure trust map with different dot1p priority values mapped to different traffic classes (queues).
    OS10# configure terminal
    OS10(config)# trust dot1p-map TRUST_DOT1P_MAP
    OS10(config-tmap-dot1p-map)# qos-group 0 dot1p 0
    OS10(config-tmap-dot1p-map)# qos-group 3 dot1p 3
    OS10(config-tmap-dot1p-map)# end
  2. Configure queuing at egress with bandwidth allocation of 65% for queue 3.
    OS10# configure terminal
    OS10(config)# class-map type queuing CM_QUEUING_Q3
    OS10(config-cmap-queuing)# match queue 3 
    OS10(config-cmap-queuing)# exit
    OS10(config)# policy-map type queuing PM_QUEUING
    OS10(config-pmap-queuing)# class CM_QUEUING_Q3
    OS10(config-pmap-c-que)# bandwidth percent 65
    OS10(config-pmap-c-que)# end
  3. Apply the dot1p trust map and queuing configuration at the system-qos level (global configuration).
    OS10# configure terminal
    OS10(config)# system qos
    OS10(config-sys-qos)# trust-map dot1p TRUST_DOT1P_MAP
    OS10(config-sys-qos)# service-policy output type queuing PM_QUEUING
    OS10(config-sys-qos)# end

S2 Switch

  1. Configure trust map with different dot1p priority values mapped to different traffic classes (queues).
    OS10# configure terminal
    OS10(config)# trust dot1p-map TRUST_DOT1P_MAP
    OS10(config-tmap-dot1p-map)# qos-group 0 dot1p 0
    OS10(config-tmap-dot1p-map)# qos-group 3 dot1p 3
    OS10(config-tmap-dot1p-map)# end
  2. Configure queuing at egress with bandwidth allocation of 65% for queue 3.
    OS10# configure terminal
    OS10(config)# class-map type queuing CM_QUEUING_Q3
    OS10(config-cmap-queuing)# match queue 3 
    OS10(config-cmap-queuing)# exit
    OS10(config)# policy-map type queuing PM_QUEUING
    OS10(config-pmap-queuing)# class CM_QUEUING_Q3
    OS10(config-pmap-c-que)# bandwidth percent 65
    OS10(config-pmap-c-que)# end
  3. Apply the dot1p trust map and queuing configuration at the system-qos level (global configuration).
    OS10# configure terminal
    OS10(config)# system qos
    OS10(config-sys-qos)# trust-map dot1p TRUST_DOT1P_MAP
    OS10(config-sys-qos)# service-policy output type queuing PM_QUEUING
    OS10(config-sys-qos)# end

L1 Switch

  1. Configure trust map with different dot1p priority values mapped to different traffic classes (queues).
    OS10# configure terminal
    OS10(config)# trust dot1p-map TRUST_DOT1P_MAP
    OS10(config-tmap-dot1p-map)# qos-group 0 dot1p 0
    OS10(config-tmap-dot1p-map)# qos-group 3 dot1p 3
    OS10(config-tmap-dot1p-map)# end
  2. Configure queuing at egress with bandwidth allocation of 65% for queue 3.
    OS10# configure terminal
    OS10(config)# class-map type queuing CM_QUEUING_Q3
    OS10(config-cmap-queuing)# match queue 3 
    OS10(config-cmap-queuing)# exit
    OS10(config)# policy-map type queuing PM_QUEUING
    OS10(config-pmap-queuing)# class CM_QUEUING_Q3
    OS10(config-pmap-c-que)# bandwidth percent 65
    OS10(config-pmap-c-que)# end
  3. Apply the dot1p trust map and queuing configuration at the system-qos level (global configuration).
    OS10# configure terminal
    OS10(config)# system qos
    OS10(config-sys-qos)# trust-map dot1p TRUST_DOT1P_MAP
    OS10(config-sys-qos)# service-policy output type queuing PM_QUEUING
    OS10(config-sys-qos)# end

L2 Switch

  1. Configure trust map with different dot1p priority values mapped to different traffic classes (queues).
    OS10# configure terminal
    OS10(config)# trust dot1p-map TRUST_DOT1P_MAP
    OS10(config-tmap-dot1p-map)# qos-group 0 dot1p 0
    OS10(config-tmap-dot1p-map)# qos-group 3 dot1p 3
    OS10(config-tmap-dot1p-map)# end
  2. Configure queuing at egress with bandwidth allocation of 65% for queue 3.
    OS10# configure terminal
    OS10(config)# class-map type queuing CM_QUEUING_Q3
    OS10(config-cmap-queuing)# match queue 3 
    OS10(config-cmap-queuing)# exit
    OS10(config)# policy-map type queuing PM_QUEUING
    OS10(config-pmap-queuing)# class CM_QUEUING_Q3
    OS10(config-pmap-c-que)# bandwidth percent 65
    OS10(config-pmap-c-que)# end
  3. Apply the dot1p trust map and queuing configuration at the system-qos level (global configuration).
    OS10# configure terminal
    OS10(config)# system qos
    OS10(config-sys-qos)# trust-map dot1p TRUST_DOT1P_MAP
    OS10(config-sys-qos)# service-policy output type queuing PM_QUEUING
    OS10(config-sys-qos)# end

L3 Switch

  1. Configure trust map with different dot1p priority values mapped to different traffic classes (queues).
    OS10# configure terminal
    OS10(config)# trust dot1p-map TRUST_DOT1P_MAP
    OS10(config-tmap-dot1p-map)# qos-group 0 dot1p 0
    OS10(config-tmap-dot1p-map)# qos-group 3 dot1p 3
    OS10(config-tmap-dot1p-map)# end
  2. Configure queuing at egress with bandwidth allocation of 65% for queue 3.
    OS10# configure terminal
    OS10(config)# class-map type queuing CM_QUEUING_Q3
    OS10(config-cmap-queuing)# match queue 3 
    OS10(config-cmap-queuing)# exit
    OS10(config)# policy-map type queuing PM_QUEUING
    OS10(config-pmap-queuing)# class CM_QUEUING_Q3
    OS10(config-pmap-c-que)# bandwidth percent 65
    OS10(config-pmap-c-que)# end
  3. Apply the dot1p trust map and queuing configuration at the system-qos level (global configuration).
    OS10# configure terminal
    OS10(config)# system qos
    OS10(config-sys-qos)# trust-map dot1p TRUST_DOT1P_MAP
    OS10(config-sys-qos)# service-policy output type queuing PM_QUEUING
    OS10(config-sys-qos)# end

L4 Switch

  1. Configure trust map with different dot1p priority values mapped to different traffic classes (queues).
    OS10# configure terminal
    OS10(config)# trust dot1p-map TRUST_DOT1P_MAP
    OS10(config-tmap-dot1p-map)# qos-group 0 dot1p 0
    OS10(config-tmap-dot1p-map)# qos-group 3 dot1p 3
    OS10(config-tmap-dot1p-map)# end
  2. Configure queuing at egress with bandwidth allocation of 65% for queue 3.
    OS10# configure terminal
    OS10(config)# class-map type queuing CM_QUEUING_Q3
    OS10(config-cmap-queuing)# match queue 3 
    OS10(config-cmap-queuing)# exit
    OS10(config)# policy-map type queuing PM_QUEUING
    OS10(config-pmap-queuing)# class CM_QUEUING_Q3
    OS10(config-pmap-c-que)# bandwidth percent 65
    OS10(config-pmap-c-que)# end
  3. Apply the dot1p trust map and queuing configuration at the system-qos level (global configuration).
    OS10# configure terminal
    OS10(config)# system qos
    OS10(config-sys-qos)# trust-map dot1p TRUST_DOT1P_MAP
    OS10(config-sys-qos)# service-policy output type queuing PM_QUEUING
    OS10(config-sys-qos)# end

Verify the configuration

  • Verify trust map configuration.
    OS10# show qos maps TRUST_DOT1P_MAP
    DOT1P Priority to Traffic-Class Map : TRUST_DOT1P_MAP
    Traffic-Class    DOT1P Priority
    -------------------------------
    0                   0                        
    1                   1                        
    2                   2                        
    3                   3                        
    4                   4                        
    5                   5                        
    6                   6                        
    7                   7      
  • Verify the bandwidth settings.
    OS10# show queuing weights interface ethernet 1/1/21
    Interface ethernet1/1/21
    Queue    Weight(In percentage)
    --------------------------------
    0         5         
    1         5         
    2         5         
    3         65        
    4         5         
    5         5         
    6         5         
    7         5    
  • Verify that the packets are assigned to the respective queues. Packets with dot1p priority 3 must be assigned to queue 3 and packets with dot1p priority 0 must be assigned to queue 0. Bandwidth allocation of 65% to queue 3 ensures that traffic in queue 3 gets more bandwidth and traffic in other queues get less bandwidth. The drop counter indicates packet drops for queue 0 whereas there are no drops for queue 3 during traffic congestion.

    L1 switch network port (ingress VTEP)

    OS10# show queuing statistics interface ethernet 1/1/21
    Interface ethernet1/1/21
    Queue Packets   Bytes        Dropped-Packets  Dropped-Bytes            
    0     6095735   1865280018   8725959          2233833888               
    1     0         0            0                0                        
    2     0         0            0                0                        
    3     14828189  4537425834   0                0                        
    4     0         0            0                0                        
    5     0         0            0                0                        
    6     0         0            0                0                        
    7     0         0            0                0    

    L3 switch access port (destination VTEP)

    OS10# show queuing statistics interface ethernet 1/1/1
    Interface ethernet1/1/1
    Queue Packets    Bytes         Dropped-Packets  Dropped-Bytes            
    0     0          0             0                0                        
    1     0          0             0                0                        
    2     0          0             0                0                        
    3     101810039  26063369984   0                0                        
    4     0          0             0                0                        
    5     0          0             0                0                        
    6     0          0             0                0                        
    7     0          0             0                0 
    OS10# show queuing statistics interface ethernet 1/1/2
    Interface ethernet1/1/2
    Queue Packets    Bytes         Dropped-Packets   Dropped-Bytes            
    0     46890036   12191361537   0                 0                        
    1     0          0             0                 0                        
    2     0          0             0                 0                        
    3     0          0             0                 0                        
    4     0          0             0                 0                        
    5     0          0             0                 0                        
    6     0          0             0                 0                        
    7     0          0             0                 0 

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\