MEF 10.2 Regulator on EPL Service with One Class of Service
  • 20 Jun 2023
  • 3 Minutes to read
  • Contributors
  • Dark
    Light
  • PDF

MEF 10.2 Regulator on EPL Service with One Class of Service

  • Dark
    Light
  • PDF

Article Summary

This use case explains how you can configure an MEF 10.2 regulator on Ethernet Private Line (EPL) service with one Class of Service (CoS).

  • EPL services on the UNI Port will be classified based on L2 ACL with UNI Port; the classified traffic will be assigned a specific Traffic Class or Queue based on the Queue Mapping configuration.


Note: To login into Skylight Flex, enter your username (default is root) and password (default is admin123).

To configure an MEF 10.2 regulator on EPL service with one CoS

  1. Bring up the physical interface.
Your Product# configure terminal
Your Product(config)# shutdown spanning-tree
Your Product(config)# end
Your Product# configure terminal
Your Product(config)# interface gigabitethernet 0/1
Your Product(config-if)# no shutdown
Your Product(config-if)# end
Your Product# configure terminal
Your Product(config)# interface gigabitethernet 0/2
Your Product(config-if)# no shutdown
Your Product(config-if)# end
  1. Configure customerEdgePort and ProviderEdgePort.
Your Product# configure terminal
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 gigabitethernet 0/2
Your Product(config-if)# bridge port-type providerNetworkPort
Your Product(config-if)# end
  1. Configure S-VLAN and assign member ports.
Your Product(config)# vlan 100
Your Product(config-vlan)# ports gigabitethernet 0/1 gigabitethernet 0/2 untagged gigabitethernet 0/1
Your Product(config-vlan)# end
Your Product# configure terminal
Your Product(config)# vlan 200
Your Product(config-vlan)# ports gigabitethernet 0/1 gigabitethernet 0/2 untagged gigabitethernet 0/1
Your Product(config-vlan)# end
  1. Configure EPL service mapping between C-VLAN and S-VLAN.
Your Product# configure terminal
Your Product(config)# interface gigabitethernet 0/1
Your Product(config-if)# switchport customer-vlan 10 service-vlan 200
Your Product(config-if)# no shutdown
Your Product(config-if)# end
  1. Configure Access list for traffic classification.
Your Product# configure terminal
Your Product(config)# mac access-list extended 1003
Your Product(config-ext-macl)# permit any any vlan 10 priority 50 cvlan-priority 6 double-tag
Your Product(config-ext-macl)# end
  1. Apply the Access list to physical interface.
Your Product# configure terminal
Your Product(config)# interface gigabitethernet 0/1
Your Product(config-if)# mac access-group 1003 in
Your Product(config-if)# end
  1. Configure QoS Class.
Your Product# configure terminal
Your Product(config)# class 30
Your Product(config-cls-map)# match access-group mac-access-list 1003
Your Product(config-cls-map)# set class 30
Your Product(config-cls-map)# end
  1. Assign the QoS CLASS to virtual Queue.
Your Product# configure terminal
Your Product(config)# queue-map CLASS 30 queue-id 3
Your Product(config)# end
  1. Check Class-map and Queue-map status by entering command show class-map 30 and show queue-map.
Your Product#show class-map
QoS Class Map Entries

---------------------

ClassMapId                   : 30
L2FilterId                   : None
L3FilterId                   : None
PriorityMapId                : None
VlanMapId                    : 10
CLASS                        : 1
PolicyMapId                  : 1
PreColor                     : None
Status                       : Active
Your Product# show queue-map
QoS Queue Map Entries

---------------------
IfIndex  CLASS   PriorityType  Priority Value  Mapped Queue
---------- ---------- --------------- --------------- -----
Gi0/1      none       VlanPri         0               1
Gi0/1      none       VlanPri         1               2
Gi0/1      none       VlanPri         2               3
Gi0/1      none       VlanPri         3               4
Gi0/1      none       VlanPri         4               5
Gi0/1      none       VlanPri         5               6
Gi0/1      none       VlanPri         6               7
Gi0/1      none       VlanPri         7               8
Gi0/1      none       IPToS           1               1
Gi0/1      none       IPDSCP          1               1
Gi0/1      1          none            0               1
  1. Check the queue stats status by entering:
show qos queue-stats interface gigabitethernet 0/2
Your Product# show qos queue-stats
QoS Queue Stats

-------------------
Interface Index              : Gi 0/2
Queue Index                  : 2
EnQ Packets                  : 00
EnQ Octects                  : 00
DeQ Packets                  : 00
DeQ Octects                  : 00
Discard Packets              : 00
Discard Octects              : 00
Occupancy Octects            : 00
CongMgntAlgoDrop Octects     : 00
  1. To check the traffic classified in metering, enter:
show qos meter-stats 1
Your Product# show qos meter-stats
QoS Meter (Policer) Stats

-------------------------
Meter Index                  : 1
Conform Packets              : 00
Conform Octects              : 00
Exceed Packets               : 00
Exceed Octects               : 00
Violate Packets              : 00
Violate Octects              : 0
  1. To check traffic egress in queue, enter:
show qos queue-stats interface gi 0/1
Your Product# show qos queue-stats
QoS Queue Stats

-------------------
Interface Index              : Gi 0/1
Queue Index                  : 2
EnQ Packets                  : 00
EnQ Octects                  : 00
DeQ Packets                  : 00
DeQ Octects                  : 00
Discard Packets              : 00
Discard Octects              : 00
Occupancy Octects            : 00
CongMgntAlgoDrop Octects     : 00

© 2024 Accedian Networks Inc. All rights reserved. Accedian®, Accedian Networks®,  the Accedian logo™, Skylight™, Skylight Interceptor™ and per-packet intel™, are trademarks or registered trademarks of Accedian Networks Inc. To view a list of Accedian trademarks visit: http://accedian.com/legal/trademarks/. 


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.