cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
701
Views
0
Helpful
3
Replies

L2 QoS in MPLS

harindhafdo
Level 1
Level 1

Hi All,

I want to know how to configure L2 QoS in FR-VLAN interworking in MPLS PE Routers, I used 7200VXR at VLAN side & 7300 at FR side and applied the attached QoS in the particular interfaces but I could see all the traffic passing through default...!!

I do mark ip dscp ef for VOICE at CE routers. 7300 having the IOS c7301-p-mz.122-25.S2.bin & 7200 having the IOS c7200-p-mz.122-25.S2.bin.

An early responce is Highly appriciated.

Tx,

Harin

3 Replies 3

sultan-shaikh
Level 3
Level 3

Hi Harin,

For some reason the attachment is not opening in my Notebook, I will still try and answer your question though...

As you know this is how Traffic is QoS'ed

a) Interesting traffic is defined and classified as one or more classes using the class-map command.

b) Policies pertaining to these classes are defined using the policy-map command.

c) The policies are applied to either the input or output direction of the traffic flow using the service-policy command.

Here are some examples...

QoS for EoMPLS:

***************************

hostname PE1

!

class-map match-any cos2

match cos 2

!

policy-map eompls3

class cos2

set mpls experimental 3

class class-default

set mpls experimental 0

!

interface Ethernet0/0.10 (To CE)

encapsulation dot1Q 10

xconnect 10.1.1.2 10 encapsulation mpls

service-policy input eompls3

QoS for FRoMPLS:

*************************

hostname PE1

!

class-map match-any FR_DLCI_100

match fr-dlci 100

class-map match-any FR_DE0

match not fr-de

!

policy-map FR_Policing

class FR_DLCI_100

police cir 64000 pir 128000

conform-color FR_DE0

conform-action set-mpls-exp-transmit 5

exceed-action set-mpls-exp-transmit 2

violate-action drop

class class-default

set mpls experimental 0

"Mapping a Subinterface to the Frame Relay PVC"

interface POS4/0

encapsulation frame-relay cisco

!

interface POS4/0.1 point-to-point

switched-dlci 100

service-policy input FR_Policing

!

connect frompls101 POS4/0 100 l2transport

xconnect 10.0.0.203 70 encapsulation mpls

Let us know if this helped...

sultan

Hi Sultan,

Thanks for the information... I think I've also done the same except for marking mpls exp..

In the literature I found that IP dscp or the precedence is copied to the MPLS exp, isn't that so? Have U tested on the IOS I've mentioned?

I've paste the contents of the attached file for Ur reference....

++++++++++++++++++++++++++++++++++++++++++++++++++++

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

Cisco 7200VXR

class-map match-any VOICE

match mpls experimental topmost 5

match ip precedence 5

match ip dscp ef

policy-map BR_OUT_POLICY

class VOICE

priority 48

class class-default

fair-queue

policy-map 128kL2_OUT_POLICY

class class-default

shape average 128000

service-policy BR_OUT_POLICY

interface GigabitEthernet0/3.100

encapsulation dot1Q 100

ip directed-broadcast

service-policy output 128kL2_OUT_POLICY

no cdp enable

xconnect 10.152.1.254 600 pw-class FR_ETHIP

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

Cisco 7300

class-map match-any VOICE

match mpls experimental topmost 5

match ip precedence 5

match ip dscp ef

policy-map HO_OUT_POLICY

class VOICE

priority 48

class class-default

fair-queue

interface Serial1/1:10

no ip address

ip directed-broadcast

encapsulation frame-relay IETF

frame-relay interface-dlci 100 switched

class 128kL2

frame-relay lmi-type ansi

frame-relay intf-type dce

map-class frame-relay 128kL2

no frame-relay adaptive-shaping

frame-relay cir 128000

frame-relay bc 1280

frame-relay be 0

frame-relay mincir 128000

service-policy output HO_OUT_POLICY

connect HARIN_TEST Serial1/1:10 100 l2transport

xconnect 10.151.1.254 600 pw-class FR_ETHIP

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

++++++++++++++++++++++++++++++++++++++++++++++++++++

Pls check the above & let me know...

Best Rgds,

Harin

Hi All,

I got an idea on implementing L2QoS inside the MPLS core, but I would like to know expert comments from you.

Since there is no possibility of looking at the L3 header when ATOM is running, I thought of using the some parameters on L2 headers.

If we think of a scenario where Frame-relay to VLAN interworking is configured.

Can't we mark "fr-de" bit for the priority required data at CE on frame-relay side and If we could find an IOS where we get the option of "match fr-de" then we can impose the mpls experimantal according to the MPLS QoS configured on CORE MPLS Network,

then at the Ethernet end we can use the COS to get this QoS.

Main constrain I could see is, there are only Two categories which can be differentiated.

For ATM-VLAN I whish to use CLP bit.

Let me know your expert comments on this solution.

Tx,

Harin