cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1204
Views
0
Helpful
7
Replies

Marking problem DSCP bits on Cat 6500 with native IOS

c-naumann
Level 1
Level 1

Hi,

I'd like to mark incoming UDP packets with DSCP values on a 6509 with Sup720 3BXL. Incomming interface is a WS-X6748-GE-TX

What I did is

---------

mls qos

class-map match-any UDPKRAM

match access-group 100

policy-map UDPKRAM_AF21

class UDPKRAM

set ip dscp af21

access-list 100 permit udp any any

Interface of the incoming UDP packets:

service-policy input UDPKRAM_AF21

R4# sh mls qos ip gi3/3

[In] Policy map is UDPKRAM_AF21 [Out] Default.

QoS Summary [IPv4]: (* - shared aggregates, Mod - switch module)

Int Mod Dir Class-map DSCP Agg Trust Fl AgForward-By AgPoliced-By

Id Id

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

Gi3/3 5 In UDPKRAM 18 2 No 0 88192 0

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

The problem is, the DSCP value of outgoing packets is 0, i can't see marked packets, not in wireshark on the outgoing line and not at the next hop. Any ideas where the marking is lost?

7 Replies 7

andrew.prince
Level 10
Level 10

As far as I have found the 65xx platform does not support the marking of layer 3 IP header QoS.

HTH>

Jon Marshall
Hall of Fame
Hall of Fame

Can you post

1) The full interface configuration of the interface that you have applied the policy map

2) The cos-to-DSCP map, the DSCP-cos map and the DSCP mutation map

Jon

I can :-)

---

interface GigabitEthernet3/3

description Link zum VMware FTP

ip address 10.9.4.5 255.255.255.252

load-interval 30

no cdp enable

no mop enabled

service-policy input UDPKRAM_AF21

end

---

Cos-dscp map:

cos: 0 1 2 3 4 5 6 7

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

dscp: 0 8 16 24 32 40 48 56

---

Dscp-cos map: (dscp= 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

---

and there is no mutation map. Hope that helps

Carsten

Carsten

If you want to preserve the DSCP setting in your packets you need to enable this globally on your switch

6500(config)# no mls qos rewrite ip dscp

Jon

Hey Jon,

the main target is not to keep only the DSCP bits. It is:

Mark "clean" pakets on the incomming port, route them, and get the marked pakets on the outgoing port.

Keeping the dscp bits works, but not marking then in the incomming linecard.

To disable ip dscp rewriting hasn't changed anything on that :-/

other suggestions?

thanks Carsten

Carsten

Sorry but just to clarify.

You want packets arrving on gi3/5 interface to have a DSCP marking of AF21.

If the packet already has a DSCP marking do you want to replace it with AF21 or keep the marking.

What about packets that do not match your acl ie. no UDP packets.

You want packets that have entered on gi3/5 and been marked to AF21 to keep that marking when exiting any other interface on the switch ?

The next hop ? what is the port on the 6500 that is used to forward on the traffic configured as ?

What version of software are you running ?

Jon

I want that any udp packets arriving at gi3/3 get DSCP AF21, all others (that do not match the acl) should not be touched.

Yes the marking should be kept when exiting any other interface. The port that forwards traffic is gi 5/1

---

interface GigabitEthernet5/1

ip address 10.7.2.2 255.255.255.252

mpls traffic-eng tunnels

mpls ip

ip rsvp bandwidth 75000 sub-pool 30000

end

---

I'm running Version 12.2(33)SXI Adv-Ent

and the core problem is that I'm confused why the counters in the policy map are rising while no marked packets are leaving the Catalyst ;-)

Carsten

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card