MEF 10.3 Flow-Based Interlaced Method
  • 06 Jul 2023
  • 5 Minutes to read
  • Contributors
  • PDF

MEF 10.3 Flow-Based Interlaced Method

  • PDF

Article summary


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

  1. Bring up a physical interface.
configure terminal
interface ra xl 0/1-4
shutdown
end
configure terminal
interface xl 0/2
no shutdown
end
configure terminal
interface xl 0/4
no shutdown
end
  1. Configure CustomerEdgePort and ProviderEdgePort.
configure terminal
bridge-mode provider-edge
interface xl 0/4
bridge port-type customerEdgePort
switchport ingress ether-type 0x8100
end
configure terminal
interface xl 0/2
bridge port-type providerNetworkPort
switchport egress ether-type 0x8100
switchport egress inner-ether-type 0x8100
switchport ingress ether-type 0x8100
switchport ingress inner-ether-type 0x8100
end
  1. Configure S-VLAN and create Ethernet services.
configure terminal
vlan 1231
ports xl 0/4,0/2 untagged xl 0/4
end
configure terminal
interface xl 0/4
switchport customer-vlan 1111 service-vlan 1231
end
configure terminal
vlan 1232
ports xl 0/4,0/2 untagged xl 0/4
end
configure terminal
interface xl 0/4
switchport customer-vlan 1112 service-vlan 1232
end
configure terminal
vlan 1233
ports xl 0/4,0/2 untagged xl 0/4
end
configure terminal
interface xl 0/4
switchport customer-vlan 1113 service-vlan 1233
end
configure terminal
vlan 1234
ports xl 0/4,0/2 untagged xl 0/4
end
configure terminal
interface xl 0/4
switchport customer-vlan 1114 service-vlan 1234
end
configure terminal
vlan 1235
ports xl 0/4,0/2 untagged xl 0/4
end
configure terminal
interface xl 0/4
switchport customer-vlan 1115 service-vlan 1235
end
configure terminal
vlan 1236
ports xl 0/4,0/2 untagged xl 0/4
end
configure terminal
interface xl 0/4
switchport customer-vlan 1116 service-vlan 1236
end
configure terminal
vlan 1237
ports xl 0/4,0/2 untagged xl 0/4
end
configure terminal
interface xl 0/4
switchport customer-vlan 1117 service-vlan 1237
end
configure terminal
vlan 1238
ports xl 0/4,0/2 untagged xl 0/4
end
configure terminal
interface xl 0/4
switchport customer-vlan 1118 service-vlan 1238
end
  1. Configure access list for traffic classification.
configure terminal
mac access-list extended 1001
permit any any vlan 1111 priority 50 cvlan-priority 0 double-tag
exit
mac access-list extended 1002
permit any any vlan 1112 priority 40 cvlan-priority 1 double-tag
end
configure terminal
mac access-list extended 1003
permit any any vlan 1113 priority 41 cvlan-priority 2 double-tag
end
configure terminal
mac access-list extended 1004
permit any any vlan 1114 priority 42 cvlan-priority 3 double-tag
end
configure terminal
mac access-list extended 1005
permit any any vlan 1115 priority 43 cvlan-priority 4 double-tag
exit
mac access-list extended 1006
permit any any vlan 1116 priority 44 cvlan-priority 5 double-tag
end
configure terminal
mac access-list extended 1007
permit any any vlan 1117 priority 45 cvlan-priority 6 double-tag
exit
mac access-list extended 1008
permit any any vlan 1118 priority 46 cvlan-priority 7 double-tag
end
  1. Apply the access list to the physical interface.
configure terminal
interface xl 0/4
mac access-group 1001 in
mac access-group 1002 in
mac access-group 1003 in
mac access-group 1004 in
mac access-group 1005 in
mac access-group 1006 in
mac access-group 1007 in
mac access-group 1008 in
end
  1. Configure the QOS class-map.
#ClassMap Creation
configure terminal
class-map 10
match access-group mac-access-list 1001
set class 10
exit
class-map 20
match access-group mac-access-list 1002
set class 20
exit
class-map 30
match access-group mac-access-list 1003
set class 30
exit
class-map 40
match access-group mac-access-list 1004
set class 40
exit
class-map 50
match access-group mac-access-list 1005
set class 50
exit
class-map 60
match access-group mac-access-list 1006
set class 60
exit
class-map 70
match access-group mac-access-list 1007
set class 70
exit
class-map 80
match access-group mac-access-list 1008
set class 80
exit
  1. Configure MEF 10.3 bandwidth bucket sharing meter with color blind mode.
configuration 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
configuration 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
configuration 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
configuration 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
configuration 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
configuration 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
configuration terminal
meter 70
meter-type mefBandwidthSharing  cir 1000000 cbs 4194304 eir 2000000 ebs 4194304 coupling-flag disable
set mef-envelopeId 20 envelope-rank 7
end
configuration 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
  1. Configure policy-map with actions.
configuration terminal
policy-map 10
set meter 10 conform-action cos-transmit-set 7 exceed-action cos-transmit-set 6 violate-action cos-transmit-set 5
set policy class 10 default-priority-type none
end
configuration terminal
policy-map 20
set meter 20 conform-action cos-transmit-set 6 exceed-action cos-transmit-set 6 violate-action cos-transmit-set 5
set policy class 20 default-priority-type none
end
configuration terminal
policy-map 30
set meter 30 conform-action cos-transmit-set 5 exceed-action cos-transmit-set 6 violate-action cos-transmit-set 5
set policy class 30 default-priority-type none
end
configuration terminal
policy-map 40
set meter 40 conform-action cos-transmit-set 4 exceed-action cos-transmit-set 6 violate-action cos-transmit-set 5
set policy class 40 default-priority-type none
end
configuration terminal
policy-map 50
set meter 50 conform-action cos-transmit-set 3 exceed-action cos-transmit-set 6 violate-action cos-transmit-set 5
set policy class 50 default-priority-type none
end
configuration terminal
policy-map 60
set meter 60 conform-action cos-transmit-set 2 exceed-action cos-transmit-set 6 violate-action cos-transmit-set 5
set policy class 60 default-priority-type none
end
configuration terminal
policy-map 70
set meter 70 conform-action cos-transmit-set 1 exceed-action cos-transmit-set 6 violate-action cos-transmit-set 5
set policy class 70 default-priority-type none
end
configuration terminal
policy-map 80
set meter 80 conform-action cos-transmit-set 0 exceed-action cos-transmit-set 6 violate-action cos-transmit-set 5
set policy class 80 default-priority-type none
end
configuration terminal
mef-envelope 20
set envelope-type flow-based coupling-flag enable envelope-name EVC1
set envelope enable
end
  1. Enable the meter stats.
configure terminal
set meter-st enable meter-id 10
set meter-st enable meter-id 20
set meter-st enable meter-id 30
set meter-st enable meter-id 40
set meter-st enable meter-id 50
set meter-st enable meter-id 60
set meter-st enable meter-id 70
set meter-st enable meter-id 80
end


Notes:

For MEF 10.3 flow based interlaced method color-blind mode, the remarking is supported for Green packet, Yellow packet and Red packet.

Repeat the MEF 10.3 flow based interlaced method for color aware also with above combination

The MEF 10.3 Flow based interlace method Color-aware mode, 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 sthe ame 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.