- 06 Jul 2023
- 3 Minutes to read
- Contributors
- Print
- PDF
MEF 10.3 Priority-Based Interlaced Method
- Updated on 06 Jul 2023
- 3 Minutes to read
- Contributors
- Print
- PDF
Note: Configure Coupling flag in Envelope = enable, coupling flag in meter 10 = disable and other Coupling flag of meter = disable.
- 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
- Configure CustomerEdgePort and ProviderEdgePort.
configure terminal
interface 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
- Configure ethernet services.
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
- Configure the Access list for traffic classification and assign to the interface.
configure terminal
mac access-list extended 1
permit any any vlan 10 priority 50
end
configure terminal
interface xl 0/4
mac access-group 1 in
end
- Configure the QOS class-map.
configure terminal
class-map 10
match access-group mac-access-list 1
set class 10
end
- 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 disable
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 disable
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 disable
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 disable
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 disable
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 disable
set mef-envelopeId 20 envelope-rank 8
end
- 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
- Configure QOS envelope.
#Envelope 1
configure terminal
mef-envelope 20
set envelope-type priority-based coupling-flag enable envelope-name EVC1
set envelope enable
end
- 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
- 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 MEF 10.3 priority base interlaced method for color aware test also with the above combination
MEF 10.3 priority base interlaced 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