Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

match mpls packets for qos on a nexus 5000

Hi,

we would like to match mpls packets via an ACL on nexus 5k to send them into a certain QoS-group. Incoming interface is eth 1/8.

Is this possible with the following configuration?

I ask, because in the ACL we have permt IP any any but MPLS tagged frames are not IP??

ip access-list ACL_WAN-VLANS

  10 permit ip any any

class-map type qos match-any CMAP_WAN-VLANS

  description match via acl all vlans with WAN traffic

  match access-group name ACL_WAN-VLANS

policy-map type qos PMAP_IN_MARK_WAN

  class CMAP_WAN-VLANS

    set qos-group 4

interface Ethernet1/8

  service-policy type qos input PMAP_IN_MARK_WAN

Do we have the mpls packets then in QoS group 4? We would like then to separate the bandwith later on the outgoing interface (config not shown here...)

Thx

  Jan

Everyone's tags (3)
4 REPLIES
Cisco Employee

match mpls packets for qos on a nexus 5000

Hi Jan,

mpls is considered non-ip traffic, so your ACL won't match labelled packets.

N5k does not support MPLS by the way.

You need to move MPLS QoS policy on other devices.

Riccardo

New Member

match mpls packets for qos on a nexus 5000

Hi Riccardo,

ok, I understand that the ACL will not match.

I am also aware that the N5k cannot speak mpls, but we only have this device inbetween two MPLS device (a nexus 7k and a cat6500). This should be possible? The "non IP traffic" (=mpls tagged traffic) should be forwarded if the mtu is high enough? And the traffic is forwarded in the class class default (or qos-group 0)?

Or is "non ip traffic" totally dropped by a n5k?

thx

Jan

Cisco Employee

match mpls packets for qos on a nexus 5000

Hi Jan,

it is forwarded as any other L2 traffic (if received on L2 switchport of course) if yes the MTU check is passed.

Riccardo

Bronze

Re: match mpls packets for qos on a nexus 5000

Although I have not done or tried it my self, you can define a MAC acl matching ethertype of MPLS then use it within class map.

NX5K01(config-mac-acl)# permit any any ?

 

  <0x0-0xffff>  MAC protocol number

  aarp          Appletalk AARP

  appletalk     Appletalk

  cos           CoS value

  decnet-iv     DECnet Phase IV

  diagnostic    DEC Diagnostic Protocol

  etype-6000    Ethertype 0x6000

  etype-8042    Ethertype 0x8042

  ip            IP (Internet Protocol V4)

  lat           DEC LAT

  lavc-sca      DEC LAVC,SCA

  mop-console   DEC MOP Remote console

  mop-dump      DEC MOP dump

  vines-echo    VINES Echo

  vlan          VLAN number

NX5K01(config-cmap-qos)# match ?

  access-group  Access group

  cos           IEEE 802.1Q class of service

  dscp          DSCP in IP(v4) and IPv6 packets

  ip            IP

  precedence    Precedence in IP(v4) and IPv6 packets

  protocol      Protocol

   The ethertype value 8847 hex is used to indicate that a frame is carrying an MPLS unicast packet.

   The ethertype value 8848 hex is used to indicate that a frame is carrying an MPLS multicast packet.

497
Views
0
Helpful
4
Replies