Re: OT: Catalys 6500 qos policing doubts

From: marc edwards <renorider_at_gmail.com>
Date: Thu, 24 May 2012 10:56:12 -0700

I am unsure of that but you are correct that the MPLS experimental will be
needed if label switching on egress. I am still curious as to why markings,
mappings wouldn't show up in SPAN. With respect to MPLS...That is out of my
league... I found this document online
http://www.cisco.com/en/US/prod/collateral/iosswrel/ps6537/ps6557/ps6607/prod_presentation0900aecd8031280f.pdf
and might be a good starting point. Will need an experts advice as well.
Hopefully they chime in.

Regards,

Marc

On Thu, May 24, 2012 at 10:27 AM, Juan <fferrer10_at_gmail.com> wrote:

> Many thanks Marc, but i have found some terrible errors on my configs that
> explain why egrress traffic was not properly marked:
>
> ingress interface was native IP, but egress interface was Mpls... i
> supouse passing to mpls do not allow marking this way.. what i do is
> marking EXP mpls field with "set mpls experimental n" policy-map command,
> then i made a class-map matching this mpls experimental and aplied it
> to the policy-map that limits the rate at the output and it worked fine.
>
> This is a "software solution" to do the policing at egress, as someone
> said maybe using the hardware egress queues is most effective and
> rigorous...but i do not know if you can do this with this type of
> environment (this is, having mpls as the egress interface)...Do you know if
> possible?
>
> Many thanks and regards
>
> 2012/5/23 marc edwards <renorider_at_gmail.com>
>
>> I am still in travel. Sorry for delay. I can get to this probably on the
>> weekend but two resources I can suggest that may help for understanding the
>> syntax, theory, etc. are
>>
>>
>> http://www.youtube.com/watch?v=IA4iOrn2eiU&list=UUa5DwgTjlWMObHDIm6-zv1A&index=2&feature=plcp
>>
>> This is based off 3560/3750 architecture. 6500's are much different beast
>> and also dependent on the line card. I highly recommend getting a
>> cisco365.com account and viewing campus QoS and downloading the slide.
>> Deck.
>>
>> I am not copping out and will for sure work on this over the weekend. I
>> could benefit from the exercise as well.
>>
>> Regards,
>>
>> Marc
>>
>>
>> On Tue, May 22, 2012 at 11:06 PM, Juan <fferrer10_at_gmail.com> wrote:
>>
>>> Many Thanks, Marc
>>>
>>> I have 6800 line cards in the Catalyst 6500 with Sup2T, and just using
>>> the interfaces of these 68xx cards i need to do qos
>>>
>>> By the way, i have seen some docs about catalyst qos where this is
>>> managed on egress using queues as you said, translating the dscp ingress
>>> marked values to Cos values, and these Cos to egress queues where some type
>>> of policing is applied... maybe this is the best or most extended solution,
>>> but at this moment i also have this doubt, maybe you can help... the dscp
>>> values yo set at ingress are "internal dscp" values only used by the
>>> catalyst platform or PFC (and then maybe they can not be inspected using a
>>> span or similar)?
>>>
>>> Best Regards.
>>>
>>>
>>>
>>> 2012/5/22 marc edwards <renorider_at_gmail.com>
>>>
>>>> So the most flexibility on catalyst qos is using trust and L2 queuing.
>>>> Trust or mark the frame. Hardware ingress egress queuing is also most
>>>> effective. I am mobile but will take a moment to look at mappIngs and
>>>> propose a config. Hope this will get markings being seen in pcap. Then we
>>>> can look to MQC based policy on egress. But even egress queuing is better
>>>> played with using third folds a priority queues. I will post tonight or
>>>> shortly as I can't ramble off top oft head. Are you on 67xx or 68xx line
>>>> cards?
>>>>
>>>>
>>>> On Tuesday, May 22, 2012, Juan wrote:
>>>>
>>>>> And the "show platform qos maps" output, but it seems it are all the
>>>>> default values...
>>>>>
>>>>> VSS_B30#sh platform qos maps
>>>>> policed-discard-class-normal-burst-map:
>>>>> (discard-clas
>>>>> s= d1d2)
>>>>> d1 : d2 0 1 2 3 4 5 6 7 8 9
>>>>> -------------------------------------
>>>>> 0 : 00 01 02 03 04 05 06 07 08 09
>>>>> 1 : 10 11 12 13 14 15 16 17 18 19
>>>>> 2 : 20 21 22 23 24 25 26 27 28 29
>>>>> 3 : 30 31 32 33 34 35 36 37 38 39
>>>>> 4 : 40 41 42 43 44 45 46 47 48 49
>>>>> 5 : 50 51 52 53 54 55 56 57 58 59
>>>>> 6 : 60 61 62 63
>>>>>
>>>>> policed-discard-class-max-burst-map:
>>>>> (discard-class=
>>>>> d1d2)
>>>>> d1 : d2 0 1 2 3 4 5 6 7 8 9
>>>>> -------------------------------------
>>>>> 0 : 00 01 02 03 04 05 06 07 08 09
>>>>> 1 : 10 11 12 13 14 15 16 17 18 19
>>>>> 2 : 20 21 22 23 24 25 26 27 28 29
>>>>> 3 : 30 31 32 33 34 35 36 37 38 39
>>>>> 4 : 40 41 42 43 44 45 46 47 48 49
>>>>> 5 : 50 51 52 53 54 55 56 57 58 59
>>>>> 6 : 60 61 62 63
>>>>>
>>>>> discard-class-cos-map: (discard-class= d1d2)
>>>>> d1 : d2 0 1 2 3 4 5 6 7 8 9
>>>>> -------------------------------------
>>>>> 0 : 00 00 00 00 00 00 00 00 01 01
>>>>> 1 : 01 01 01 01 01 01 02 02 02 02
>>>>> 2 : 02 02 02 02 03 03 03 03 03 03
>>>>> 3 : 03 03 04 04 04 04 04 04 04 04
>>>>> 4 : 05 05 05 05 05 05 05 05 06 06
>>>>> 5 : 06 06 06 06 06 06 07 07 07 07
>>>>> 6 : 07 07 07 07
>>>>>
>>>>> discard-class-exp-map: (discard-class= d1d2)
>>>>> d1 : d2 0 1 2 3 4 5 6 7 8 9
>>>>> -------------------------------------
>>>>> 0 : 00 00 00 00 00 00 00 00 01 01
>>>>> 1 : 01 01 01 01 01 01 02 02 02 02
>>>>> 2 : 02 02 02 02 03 03 03 03 03 03
>>>>> 3 : 03 03 04 04 04 04 04 04 04 04
>>>>> 4 : 05 05 05 05 05 05 05 05 06 06
>>>>> 5 : 06 06 06 06 06 06 07 07 07 07
>>>>> 6 : 07 07 07 07
>>>>>
>>>>>
>>>>> cos-discard-class-map :
>>>>> cos: 0 1 2 3 4 5 6 7
>>>>> ------------------------------------
>>>>> discard: 0 8 16 24 32 40 48 56
>>>>>
>>>>> precedence-discard-class-map :
>>>>> ipprec: 0 1 2 3 4 5 6 7
>>>>> ------------------------------------
>>>>> discard: 0 8 16 24 32 40 48 56
>>>>>
>>>>> exp-discard-class-map :
>>>>> exp: 0 1 2 3 4 5 6 7
>>>>> ------------------------------------
>>>>> discard: 0 8 16 24 32 40 48 56
>>>>>
>>>>>
>>>>> Regards.
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> 2012/5/22 marc edwards <renorider_at_gmail.com>
>>>>>
>>>>> Just curious is the 'platform' new to ios 15?
>>>>>
>>>>> platform qos queue-mode mode-dscp
>>>>>
>>>>> Is that this command?
>>>>>
>>>>> mls qos queue-mode mode-dscp
>>>>>
>>>>> To set the queuing mode to Differentiated Services Code Point (DSCP)
>>>>> on an interface, use the *mls qos queue-mode mode-dscp*command in
>>>>> interface configuration mode. To return to the default settings, use the
>>>>> *no* form of this command.
>>>>>
>>>>> *mls qos queue-mode mode-dscp*
>>>>>
>>>>> *no mls qos queue-mode mode-dscp*
>>>>> Syntax Description
>>>>>
>>>>> This command has no arguments or keywords.
>>>>> Command Default
>>>>>
>>>>> The queuing mode of an interfaces is class of service (CoS) mode.
>>>>> Command Modes
>>>>>
>>>>> Interface configuration (config-if)
>>>>> Command History
>>>>> Release
>>>>> Modification
>>>>>
>>>>> 12.2(18)SXF5
>>>>>
>>>>> This command was introduced.
>>>>>
>>>>>
>>>>>
>>>>> What about the show mls qos map dscp? can you do a sh mls qos
>>>>> interface or equivalent on the interfaces above?
>>>>>
>>>>> Marc
>>>>>
>>>>> On Mon, May 21, 2012 at 11:30 PM, Juan <
>>>>>
>>>>> --
>>>>> Juan Faure
>>>>>
>>>>
>>>
>>>
>>> --
>>> Juan Faure
>>>
>>
>>
>
>
> --
> Juan Faure

Blogs and organic groups at http://www.ccie.net
Received on Thu May 24 2012 - 10:56:12 ART

This archive was generated by hypermail 2.2.0 : Sun Jun 17 2012 - 09:04:20 ART