MEF 10.3 Priority-Based Sequential Method
  • 06 Jul 2023
  • 3 Minutes to read
  • Contributors
  • PDF

MEF 10.3 Priority-Based Sequential Method

  • PDF

Article summary


Note: Configure Coupling flag in Envelope = disable, coupling flag in meter 10 = disable and other Coupling flag of meter = enable.

  1. Bring up the physical interface
configure terminal
interface ra xl 0/1-4
shutdown
end
configure terminal
interface xl 0/2
shutdown
no shutdown
end
configure terminal
interface xl 0/4
shutdown
no shutdown
end
  1. Configure CustomerEdgePort and ProviderEdgePort.
configure terminal
int xl 0/4
bridge port-type customerEdgePort
switchport ingress ether-type 0x8100
switchport ingress inner-ether-type 0x8100
switchport egress ether-type 0x8100
end
configure terminal
int xl 0/2
bridge port-type providerNetworkPort
switchport ingress ether-type 0x8100
switchport ingress inner-ether-type 0x8100
switchport egress ether-type 0x8100
switchport egress inner-ether-type 0x8100
end
  1. Configure S-VLAN and assign member ports
configure terminal
vlan 10
ports xl 0/4,0/2 untagged xl 0/4
end
configure terminal
interface xl 0/4
switchport customer-vlan 100 service-vlan 10
end
  1. Configure the access list for traffic classification.
configure terminal
mac access-list extended 1
permit any any vlan 10 priority 50 
end
  1. Apply the access list to the physical interface.
configure terminal
interface xl 0/4 
mac access-group 1 in
end
  1. Configure the QOS class-map.
configure terminal
class-map 10
match access-group mac-access-list 1
set class 10
end
  1. Configure QOS metering.
    #First Meter Creation
configure terminal
meter 10
meter-type mefBandwidthSharing  cir 1000000 cbs 4194304 eir 2000000 ebs 4194304 coupling-flag disable
set mef-envelopeId 20 envelope-rank 1
end

#Second Meter Creation

configure terminal
meter 20
meter-type mefBandwidthSharing  cir 1000000 cbs 4194304 eir 2000000 ebs 4194304 coupling-flag enable
set mef-envelopeId 20 envelope-rank 2
end

#Third Meter Creation

configure terminal
meter 30
meter-type mefBandwidthSharing  cir 1000000 cbs 4194304 eir 2000000 ebs 4194304 coupling-flag enable
set mef-envelopeId 20 envelope-rank 3
end

#Fourth Meter Creation

configure terminal
meter 40
meter-type mefBandwidthSharing  cir 1000000 cbs 4194304 eir 2000000 ebs 4194304 coupling-flag enable
set mef-envelopeId 20 envelope-rank 4
end

#Fifth Meter Creation

configure terminal
meter 50
meter-type mefBandwidthSharing  cir 1000000 cbs 4194304 eir 2000000 ebs 4194304 coupling-flag enable
set mef-envelopeId 20 envelope-rank 5
end

#Sixth Meter Creation

configure terminal
meter 60
meter-type mefBandwidthSharing  cir 1000000 cbs 4194304 eir 2000000 ebs 4194304 coupling-flag enable
set mef-envelopeId 20 envelope-rank 6
end

#Seventh Meter Creation

configure terminal
meter 70
meter-type mefBandwidthSharing  cir 1000000 cbs 4194304 eir 2000000 ebs 4194304 coupling-flag enable
set mef-envelopeId 20 envelope-rank 7
end

#Eight Meter Creation

configure terminal
meter 80
meter-type mefBandwidthSharing  cir 1000000 cbs 4194304 eir 2000000 ebs 4194304 coupling-flag enable
set mef-envelopeId 20 envelope-rank 8
end
  1. Configure the QOS policy-map with actions.
configure terminal
policy-map 10
set meter 10 exceed-action cos-transmit-set 7 violate-action drop
set policy class 10 default-priority-type none
end
configure terminal
policy-map 20
set meter 20 exceed-action cos-transmit-set 6 violate-action drop 
set policy class 10 default-priority-type none 
end
configure terminal
policy-map 30
set meter 30 exceed-action cos-transmit-set 5 violate-action drop 
set policy class 10 default-priority-type none 
end
configure terminal
policy-map 40
set meter 40 exceed-action cos-transmit-set 4 violate-action drop 
set policy class 10 default-priority-type none 
end
configure terminal
policy-map 50
set meter 50 exceed-action cos-transmit-set 3 violate-action drop
set policy class 10 default-priority-type none
end
configure terminal
policy-map 60
set meter 60 exceed-action cos-transmit-set 2 violate-action drop 
set policy class 10 default-priority-type none 
end
configure terminal
policy-map 70
set meter 70 exceed-action cos-transmit-set 1 violate-action drop 
set policy class 10 default-priority-type none 
end
configure terminal
policy-map 80
set meter 80 exceed-action cos-transmit-set 0 violate-action drop 
set policy class 10 default-priority-type none 
end

  1. Configure the QOS envelope
    #Envelope 1
configure terminal
mef-envelope 20 
set envelope-type priority-based coupling-flag disable envelope-name EVC1 
set envelope enable 
end
  1. Enable the meter stats.
configure terminal
set meter-stats enable meter-id 10
set meter-stats enable meter-id 20
set meter-stats enable meter-id 30
set meter-stats enable meter-id 40
set meter-stats enable meter-id 50
set meter-stats enable meter-id 60
set meter-stats enable meter-id 70
set meter-stats enable meter-id 80
end
  1. Configure envelope rank.
configure terminal
set mef dot1p-priority 0 envelope-rank 1
set mef dot1p-priority 1 envelope-rank 2
set mef dot1p-priority 2 envelope-rank 3
set mef dot1p-priority 3 envelope-rank 4
set mef dot1p-priority 4 envelope-rank 5
set mef dot1p-priority 5 envelope-rank 6
set mef dot1p-priority 6 envelope-rank 7
set mef dot1p-priority 7 envelope-rank 8
end


Notes:

Repeat the priority-based sequential method for color-aware test also with the above combination.

MEF 10.3 priority base sequential method, Green packet remarking is not supported (the configuration of green remarking priority values is not applicable, when metering entry is color aware) and only yellow, red packets remarking is supported. Red packet remarking should be configured the same as yellow or drop.


© 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.