MEF 10.2 Regulator on EVPL Service with Multiple Classes of Services Using DSCP
  • 30 May 2024
  • 8 Minutes to read
  • Contributors
  • PDF

MEF 10.2 Regulator on EVPL Service with Multiple Classes of Services Using DSCP

  • PDF

Article summary

This use case explains how you can configure an MEF 10.2 regulator on Ethernet Virtual Private Line (EVPL) service with with multiple Classes of Services (CoS) using Differentiated Services Code Point (DSCP).


Note: To log in, enter your username (default is root) and password (default is admin123).

To configure an MEF 10.2 regulator on EVPL service with multiple CoS using DSCP

  1. Shut down the Spanning Tree.
Your Product# configure terminal
Your Product(config)# shutdown spanning-tree
Your Product(config)# end
Your Product# configure terminal
  1. Bring up the interfaces.
Your Product(config)# interface xl-ethernet 0/1
Your Product(config-if)# no shutdown
Your Product(config-if)# end
Your Product# configure terminal
Your Product(config)# interface xl-ethernet 0/2
Your Product(config-if)# no shutdown
Your Product(config-if)# end
  1. Configure Bridge mode and interface type.
Your Product# configure terminal
Your Product(config)# bridge-mode provider-edge
Your Product(config)# interface gigabitethernet 0/1
Your Product(config-if)# bridge port-type customerEdgePort
Your Product(config-if)# end
Your Product# configure terminal
Your Product(config)# interface xl-ethernet 0/2
Your Product(config-if)# bridge port-type providerNetworkPort
Your Product(config-if)# end
  1. Configure Vlan200 and map the interfaces.
Your Product# configure terminal
Your Product(config)# vlan 200
Your Product(config-vlan)# ports xl-ethernet 0/1 xl-ethernet 0/2 untagged xl-ethernet 0/1
Your Product(config-vlan)# end
  1. Configure Ethernet Services.
Your Product# configure terminal
Your Product(config)# interface xl-ethernet 0/1
Your Product(config-if)# switchport customer-vlan 10 service-vlan 200
Your Product(config-if)# no shut
Your Product(config-if)# end
  1. Create Access Control List (ACL) rule with ID 1001 to classify the traffic based on DSCP values.


Notes:

The order for operation/matching of ACL rules is based on the order of the ACL configuration; a separate field/configuration to specify priority of the ACL is not supported.

ACLs associated with the port, when requiring modification, will have to be deleted and reconfigured with updated field value.


Your Product#configure terminal
Your Product(config)# ip access-list extended 1001
Your Product(config-ext-nacl)# permit ip any any dscp 60 priority 10
Your Product(config-ext-nacl)# end
  1. Associate ACL rules to interface xl-ethernet 0/1.
Your Product# configure terminal
Your Product(config)# interface xl-ethernet 0/1
Your Product(config-if)# ip access-group 1001 in
Your Product(config-if)# end
  1. Create QoS class and map the ACL rules.
Your Product# configure terminal
Your Product(config)# class 30
Your Product(config-cls-map)# match access-group ip-access-list 1001
Your Product(config-cls-map)# set class 30
Your Product(config-cls-map)# end
  1. Configure QoS Queue Map.
Your Product# configure terminal
Your Product(config)# queue-map CLASS 30 queue-id 8
Your Product(config)# end
  1. Configure QoS Policy Map.
Your Product#configure terminal
Your Product(config)# policy-map 30
Your Product(config-ply-map)# set policy class 30 default-priority-type vlanpri 7
Your Product(config-ply-map)# end
  1. Create ACL rule with ID 1002 to classify the traffic based on DSCP values.
Your Product#configure terminal
Your Product(config)# ip access-list extended 1002
Your Product(config-ext-nacl)# permit ip any any dscp 56 priority 10
Your Product(config-ext-nacl)# end
  1. Associate ACL rules to interface xl-ethernet 0/1.
Your Product# configure terminal
Your Product(config)# interface xl-ethernet 0/1
Your Product(config-if)# ip access-group 1002 in
Your Product(config-if)# end
  1. Create QoS class and map the ACL rules.
Your Product# configure terminal
Your Product(config)# class 31
Your Product(config-cls-map)# match access-group ip-access-list 1002
Your Product(config-cls-map)# set class 31
Your Product(config-cls-map)# end
  1. Configure QoS Queue Map.
Your Product# configure terminal
Your Product(config)# queue-map CLASS 31 queue-id 7
Your Product(config)# end
  1. Configure QoS Policy Map.
Your Product#configure terminal
Your Product(config)# policy-map 31
Your Product(config-ply-map)# set policy class 31 default-priority-type vlanpri 6
Your Product(config-ply-map)# end
  1. Create ACL rule with ID 1003 to classify the traffic based on DSCP values.
Your Product#configure terminal
Your Product(config)# ip access-list extended 1003
Your Product(config-ext-nacl)# permit ip any any dscp 44 priority 10
Your Product(config-ext-nacl)# end
  1. Associate ACL rules to interface xl-ethernet 0/1.
Your Product# configure terminal
Your Product(config)# interface xl-ethernet 0/1
Your Product(config-if)# ip access-group 1003 in
Your Product(config-if)# end
  1. Create QoS class and map the ACL rules.
Your Product# configure terminal
Your Product(config)# class 32
Your Product(config-cls-map)# match access-group ip-access-list 1003
Your Product(config-cls-map)# set class 32
Your Product(config-cls-map)# end
  1. Configure QoS Queue map.
Your Product# configure terminal
Your Product(config)# queue-map CLASS 32 queue-id 6
Your Product(config)# end
  1. Configure QoS Policy Map.
Your Product#configure terminal
Your Product(config)# policy-map 32
Your Product(config-ply-map)# set policy class 32 default-priority-type vlanpri 5
Your Product(config-ply-map)# end
  1. Create ACL rule with ID 1004 to classify the traffic based on DSCP values.
Your Product#configure terminal
Your Product(config)# ip access-list extended 1004
Your Product(config-ext-nacl)# permit ip any any dscp 38 priority 10
Your Product(config-ext-nacl)# end
  1. Associate ACL rules to interface xl-ethernet 0/1.
Your Product# configure terminal
Your Product(config)# interface xl-ethernet 0/1
Your Product(config-if)# ip access-group 1004 in
Your Product(config-if)# end
  1. Create QoS class and map the ACL rules.
Your Product# configure terminal
Your Product(config)# class 33
Your Product(config-cls-map)# match access-group ip-access-list 1004
Your Product(config-cls-map)# set class 33
Your Product(config-cls-map)# end
  1. Configure QoS Queue Map.
Your Product# configure terminal
Your Product(config)# queue-map CLASS 33 queue-id 5
Your Product(config)# end
  1. Create QoS Policy Map.
Your Product#configure terminal
Your Product(config)# policy-map 33
Your Product(config-ply-map)# set policy class 33 default-priority-type vlanpri 4
Your Product(config-ply-map)# end
  1. Create ACL rule with ID 1005 to classify the traffic based on DSCP values.
Your Product#configure terminal
Your Product(config)# ip access-list extended 1005
Your Product(config-ext-nacl)# permit ip any any dscp 30 priority 10
Your Product(config-ext-nacl)# end
  1. Associate ACL rules to interface xl-ethernet 0/1.
Your Product# configure terminal
Your Product(config)# interface xl-ethernet 0/1
Your Product(config-if)# ip access-group 1005 in
Your Product(config-if)# end
  1. Create QoS class and map the ACL rules.
Your Product# configure terminal
Your Product(config)# class 34
Your Product(config-cls-map)# match access-group ip-access-list 1005
Your Product(config-cls-map)# set class 34
Your Product(config-cls-map)# end
  1. Configure QoS Queue Map.
Your Product# configure terminal
Your Product(config)# queue-map CLASS 34 queue-id 4
Your Product(config)# end
Your Product#configure terminal
  1. Configure QoS Policy Map.
Your Product(config)# policy-map 34
Your Product(config-ply-map)# set policy class 34 default-priority-type vlanpri 3
Your Product(config-ply-map)# end
  1. Create ACL rule with ID 1006 to classify the traffic based on DSCP values.
Your Product#configure terminal
Your Product(config)# ip access-list extended 1006
Your Product(config-ext-nacl)# permit ip any any dscp 20 priority 10
Your Product(config-ext-nacl)# end
  1. Associate ACL rules to interface xl-ethernet 0/1.
Your Product# configure terminal
Your Product(config)# interface xl-ethernet 0/1
Your Product(config-if)# ip access-group 1006 in
Your Product(config-if)# end
  1. Create QoS class and map the ACL rules.
Your Product# configure terminal
Your Product(config)# class 35
Your Product(config-cls-map)# match access-group ip-access-list 1006
Your Product(config-cls-map)# set class 35
Your Product(config-cls-map)# end
  1. Configure QoS Queue Map.
Your Product# configure terminal
Your Product(config)# queue-map CLASS 35 queue-id 3
Your Product(config)# end
  1. Configure QoS Policy Map.
Your Product#configure terminal
Your Product(config)# policy-map 35
v(config-ply-map)# set policy class 35 default-priority-type vlanpri 2
Your Product(config-ply-map)# end
  1. Create ACL rule with ID 1007 to classify the traffic based on DSCP values.
Your Product#configure terminal
Your Product(config)# ip access-list extended 1007
Your Product(config-ext-nacl)# permit ip any any dscp 14 priority 10
Your Product(config-ext-nacl)# end
  1. Associate ACL rules to interface xl-ethernet 0/1.
Your Product# configure terminal
Your Product(config)# interface xl-ethernet 0/1
Your Product(config-if)# ip access-group 1007 in
Your Product(config-if)# end
  1. Create QoS class and map the ACL rules.
Your Product# configure terminal
Your Product(config)# class 36
Your Product(config-cls-map)# match access-group ip-access-list 1007
Your Product(config-cls-map)# set class 36
Your Product(config-cls-map)# end
  1. Configure QoS Queue Map.
Your Product# configure terminal
Your Product(config)# queue-map CLASS 36 queue-id 2
Your Product(config)# end
  1. Configure QoS Policy Map.
Your Product#configure terminal
Your Product(config)# policy-map 36
Your Product(config-ply-map)# set policy class 36 default-priority-type vlanpri 1
Your Product(config-ply-map)# end
  1. Create ACL rule with ID 1008 to classify the traffic based on DSCP values.
Your Product#configure terminal
Your Product(config)# ip access-list extended 1008
Your Product(config-ext-nacl)# permit ip any any dscp 4 priority 10
Your Product(config-ext-nacl)# end
  1. Associate ACL rules to interface xl-ethernet 0/1.
Your Product# configure terminal
Your Product(config)# interface xl-ethernet 0/1
Your Product(config-if)# ip access-group 1008 in
Your Product(config-if)# end
  1. Create QoS class and map the ACL rules.
Your Product# configure terminal
Your Product(config)# class 37
Your Product(config-cls-map)# match access-group ip-access-list 1008
Your Product(config-cls-map)# set class 37
Your Product(config-cls-map)# end
  1. Configure QoS Queue Map.
Your Product# configure terminal
Your Product(config)# queue-map CLASS 37 queue-id 1
Your Product(config)# end
  1. Configure QoS Policy Map.
Your Product#configure terminal
Your Product(config)# policy-map 37
Your Product(config-ply-map)# set policy class 37 default-priority-type vlanpri 0
Your Product(config-ply-map)# end

To check the the Queue map status

  1. Enter the below command:
show queue-map


To check the Queue stats status

  1. Enter the below command:
show qos queue-stats interface xl-ethernet 0/2

Sample Output:

QoS Queue Stats

---------------
Interface Index              : xl0/2
Queue Index                  : 1
EnQ Packets                  : 0
EnQ Octets                   : 0
DeQ Packets                  : 0
DeQ Octets                   : 0
Discard Packets              : 0
Discard Octets               : 0
Occupancy Octets             : 0
CongMgntAlgoDrop Octets      : 0
Interface Index              : xl0/2
Queue Index                  : 2
EnQ Packets                  : 0
EnQ Octets                   : 0
DeQ Packets                  : 0
DeQ Octets                   : 0
Discard Packets              : 0
Discard Octets               : 0
Occupancy Octets             : 0
CongMgntAlgoDrop Octets      : 0
Interface Index              : xl0/2
Queue Index                  : 3
EnQ Packets                  : 500
EnQ Octets                   : 34000
DeQ Packets                  : 500
DeQ Octets                   : 34000
Discard Packets              : 0
Discard Octets               : 0
Occupancy Octets             : 500
CongMgntAlgoDrop Octets      : 500
Interface Index              : xl0/2
Queue Index                  : 4
EnQ Packets                  : 0
EnQ Octets                   : 0
DeQ Packets                  : 0
DeQ Octets                   : 0
Discard Packets              : 0
Discard Octets               : 0
Occupancy Octets             : 0
CongMgntAlgoDrop Octets      : 0
Interface Index              : xl0/2
Queue Index                  : 5
EnQ Packets                  : 0
EnQ Octets                   : 0
DeQ Packets                  : 0
DeQ Octets                   : 0
Discard Packets              : 0
Discard Octets               : 0
Occupancy Octets             : 0
CongMgntAlgoDrop Octets      : 0
Interface Index              : xl0/2
Queue Index                  : 6
EnQ Packets                  : 0
EnQ Octets                   : 0
DeQ Packets                  : 0
DeQ Octets                   : 0
Discard Packets              : 0
Discard Octets               : 0
Occupancy Octets             : 0
CongMgntAlgoDrop Octets      : 0
Interface Index              : xl0/2
Queue Index                  : 7
EnQ Packets                  : 0
EnQ Octets                   : 0
DeQ Packets                  : 0
DeQ Octets                   : 0
Discard Packets              : 0
Discard Octets               : 0
Occupancy Octets             : 0
CongMgntAlgoDrop Octets      : 0
Interface Index              : xl0/2
Queue Index                  : 8
EnQ Packets                  : 0
EnQ Octets                   : 0
DeQ Packets                  : 0
DeQ Octets                   : 0
Discard Packets              : 0
Discard Octets               : 0
Occupancy Octets             : 0
CongMgntAlgoDrop Octets      : 0

© 2024 Cisco and/or its affiliates. All rights reserved.
 
For more information about trademarks, please visit: Cisco trademarks
For more information about legal terms, please visit: Cisco legal terms

For legal information about Accedian Skylight products, please visit: Accedian legal terms and tradmarks



Was this article helpful?

Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.