CoS/DSCP to queue mapping in Cat 3750
Hi..
Cat 3750 supports mapping of CoS to queue as well as mapping DSCP to queue.
WOuld like to understand which one will the switch use when actually placing packets in the queue..
thanks
Eng Wee
My apologies, that was not a very good explanation :-)
Here is what really happens:
- when a frame is received on a port, the switch maps the CoS or DSCP in the packet to a QoS label to distinguish one kind of traffic from another. If the port is set to trust CoS, the CoS value is used to generate the QoS label. If the port is set to trust DSCP, the DSCP value is used to generate the QoS label.
- The QoS label that is generated identifies all future QoS actions to be performed on this packet.
- when the packet is switched to the egress interface, an output queue is selected based on the QoS label. If the QoS label was based on DSCP, the DSCP-to-queue mapping is used. If the QoS label was based on CoS, the CoS-to-queue mapping is used.
Hope that helps - pls rate the post if it does.
Paresh
Similar Messages
-
C2960: ingress priority-queue and CoS/DSCP mapping
I have read the C2960 manuals for a few times, but I don't seem to find an answer.
You can enable the priority queue on the ingress interface which has two available input queues for QoS-services.
What seems to be missing from the manuals is that how can I map/direct the traffic (CoS & DSCP values) to the priority queue?
I can map traffic to two other WRR (SRR) queues with command: "mls qos srr-queue input cos-map queue queue-id threshold threshold-id cos1...cos8", but there is nothing about the priority queue.
So is the CoS/DSCP values for the priority queue fixed or how/what traffic is directed to it?
Thanks,
MiskaWhat seems to be missing from the manuals is that how can I map/direct the traffic (CoS & DSCP values) to the priority queue?
A: By default, the priority queue is queue 2, and 10 percent of the bandwidth is allocated to it.
?For queue-id, the range is 1 to 2.
Map DSCP or CoS values to an ingress queue and to a threshold ID.
By default, DSCP values 0-39 and 48-63 are mapped to queue 1 and threshold 1. DSCP values 40-47 are mapped to queue 2 and threshold 1.
By default, CoS values 0-4, 6, and 7 are mapped to queue 1 and threshold 1. CoS value 5 is mapped to queue 2 and threshold 1.
?For queue-id, the range is 1 to 2.
?For threshold-id, the range is 1 to 3. The drop-threshold percentage for threshold 3 is predefined. It is set to the queue-full state.
?For dscp1...dscp8, enter up to eight values, and separate each value with a space. The range is 0 to 63.
?For cos1...cos8, enter up to eight values, and separate each value with a space. The range is 0 to 7.
What above is saying is queue 2 is priority queue, you can use the CoS/DSCP mapping to queue to move certain CoS?DSCP to either queue 1 or queue 2.
I can map traffic to two other WRR (SRR) queues with command: "mls qos srr-queue input cos-map queue queue-id threshold threshold-id cos1...cos8", but there is nothing about the priority queue.
So is the CoS/DSCP values for the priority queue fixed or how/what traffic is directed to it?
A; See above.
For more info:
http://www.cisco.com/univercd/cc/td/doc/product/lan/cat2960/12225see/scg/swqos.htm#wp1161845
Please rate all posts. -
Is it possible to configure non-default NX7K CoS-DSCP map?
NX7K QoS has system defined table maps for CoS to DSCP mapping, DSCP to CoS mapping, etc. Those table maps can be used in qos policy maps. I was wondering if I can change, for example, CoS to DSCP mapping to something different from the default values.
Somthing similar to Catalyst switch command "mls qos map cos-dscp 0 10 18 24 34 46 48 56", where you can define any CoS to DSCP values. I don't think this is possible in NX7K QoS, but just curious.
Thanks
GaryHi Raymond,
Based on my research, we can use Group Policy and Internet Options to configure default mail client.
How to make Outlook the default mail client
http://support.microsoft.com/kb/223877/en-us
How to configure the default e-mail client using Group Policy
http://support.microsoft.com/kb/2008044
Best Regards,
Amy
Please remember to mark the replies as answers if they help and un-mark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected] -
Hello,
I'm working on a 4500-x and the command "show qos maps" is not accepted. Is there a way to show the COS-DSCP mapping? The only show qos command accepted is the show qos interface.
Thanks,
SamBro Davis, this is based on the license that u use in ur switch, because there r some features r supported on specific license while it is not supported on the others, so u have to check ur license at the first, if ur license support this feature u can issue this command: show mls qos map cos
ex:
4500-x #show mls qos map cos
CoS-DSCP Mapping Table
CoS: 0 1 2 3 4 5 6 7
DSCP: 0 8 16 26 34 46 48 56
BR.
Mostafa. -
Hi Guys,
theoretically and practicaly the DSCP or IP prec values are copied to EXP bits of shim header.
Does that same applies to when Atom is configured ?? because in Atom the PE receives traffic from CE and that could be vlan tagged. PE imposes the MPLS tag received from egree PE and then imposes the tunnel tag and send it to the egress PE.
are the COS values copied to the appropriate EXP bits at this time ??Thanks for the reply.
What is the command to see the cos-dscp mapping from a GSR 10k router, there is no mls qos command?
Here are the config:
Hub CE:
njli2pece1#sh run int gi3/24
interface GigabitEthernet3/24
no ip address
load-interval 30
wrr-queue bandwidth percent 30 20 50
wrr-queue queue-limit 40 30 15
wrr-queue random-detect min-threshold 1 60 80 100 100 100 100 100 100
wrr-queue random-detect min-threshold 2 60 80 99 99 100 100 100 100
wrr-queue random-detect min-threshold 3 99 100 100 100 100 100 100 100
wrr-queue random-detect max-threshold 1 80 100 100 100 100 100 100 100
wrr-queue random-detect max-threshold 2 80 100 100 100 100 100 100 100
wrr-queue cos-map 2 3 6
wrr-queue cos-map 2 4 7
wrr-queue cos-map 3 1 3
wrr-queue cos-map 3 2 4
mls qos trust dscp
no cdp enable
end
njli2pece1#sh run int gi3/24.112
interface GigabitEthernet3/24.112
encapsulation dot1Q 112
ip vrf forwarding r1-aiggs
ip address 68.139.194.194 255.255.255.252
ip flow ingress
ip flow egress
no cdp enable
end
Hub PE:
worge01>show config | b GigabitEthernet4/1.49659
interface GigabitEthernet4/1.49659
encapsulation dot1Q 112
ip vrf forwarding V127453:AmericanInternational
ip address 68.139.194.193 255.255.255.252
ip access-group 101 in
no ip redirects
no ip unreachables
no ip directed-broadcast
no ip proxy-arp
ip mtu 1500
plim qos input map cos 5 queue low-latency
service-policy input DSCP_CE-PE_ETM_G=5008K_R=300M
service-policy output DSCP_PE-CE_282000K_gsr_6Q !
worge01>show policy-map DSCP_CE-PE_ETM_G=5008K_R=300M
Policy Map DSCP_CE-PE_ETM_G=5008K_R=300M
Class class-default
police cir 300000000 bc 37500000 be 37500000
conform-action transmit
exceed-action drop
service-policy DSCP_CE-PE_ETM_G=5008000_gsr
worge01>show policy-map DSCP_CE-PE_ETM_G=5008000_gsr
Policy Map DSCP_CE-PE_ETM_G=5008000_gsr
Class dscp_EF_ipprec_5_5Qs
police cir 5008000 bc 626000 be 1252000
conform-action set-mpls-exp-imposition-transmit 5
exceed-action drop
Class dscp_AF4x_ipprec_4_5Qs
set mpls experimental 4
Class dscp_AF3x_ipprec_3_6_7_5Qs
set mpls experimental 3
Class dscp_AF2x_ipprec_2_5Qs
set mpls experimental 2
Class ip_best_effort_BE
set mpls experimental 0
worge01>sh config | b dscp_EF_ipprec_5_5Qs
class-map match-any dscp_EF_ipprec_5_5Qs
match ip dscp 40 46
Remote CE:
mdhv113ce1#sh run int s0/0/0:0
interface Serial0/0/0:0
no ip address
encapsulation frame-relay IETF
load-interval 30
service-policy input Verify-Dscp
service-policy output TypeB-Remote-QOS-Out
end
mdhv113ce1#sh run int s0/0/0:0.100
interface Serial0/0/0:0.100 point-to-point
ip address 159.24.187.178 255.255.255.252
ip flow ingress
ip flow egress
snmp trap link-status
frame-relay interface-dlci 100 IETF
end
Remote PE:
ptnes05>show config | b Serial8/0/2.1/28:1.20505
interface Serial8/0/2.1/28:1.20505 point-to-point
ip vrf forwarding V128431:AmericanInternational
ip address 159.24.187.177 255.255.255.252
ip access-group 101 in
no ip redirects
no ip unreachables
no ip proxy-arp
frame-relay interface-dlci 100
service-policy input DSCP_CE-PE_ETM_G=448000
service-policy output DSCP_PE-CE_1536K_6Q
ptnes05>show policy-map DSCP_PE-CE_1536K_6Q
Policy Map DSCP_PE-CE_1536K_6Q
Class class-default
shape 1536
service-policy DSCP_PE-CE_1344000_to_120M_6Q
ptnes05>show policy-map DSCP_PE-CE_1344000_to_120M_6Q
Policy Map DSCP_PE-CE_1344000_to_120M_6Q
Class dscp_EF_ipprec_5_5Qs
priority
police percent 50 25 ms 0 ms conform-action transmit exceed-action transmit violate-action drop
ptnes05>sh config | b dscp_EF_ipprec_5_5Qs
class-map match-any dscp_EF_ipprec_5_5Qs
match ip dscp cs5 ef -
Is WCCP supported in CAT 3750?
Is WCCP supported in CAT 3750?
Hi,
Yes WCCP is supported with release 12.2 (37) SE in IP Services.Check out the below link from cisco for more information
http://www.cisco.com/en/US/prod/collateral/switches/ps5718/ps5023/prod_qas09186a00801b0971.html
Hope to Help !!
Ganesh.H
Remember to rate the helpful post -
Queue Table = Queue Mapping
As i understand it, having a queue table of same object type as the queue gives benefit of message peeking, better auditing & debugging capabilities. Does this mean if i modify the object type to add/drop a column, i need to drop/recreate the queue table ?
Other approach could be to use RAW or XMLTYPE as payload. Here many queues could map to one queue table.
What are key design criterion or pros/cons in choosing one of these approaches ? Any guidelines or best practices in this regard ?As i understand it, having a queue table of same object type as the queue gives benefit of message peeking, better auditing & debugging capabilities. Does this mean if i modify the object type to add/drop a column, i need to drop/recreate the queue table ?Yes, this would mean you have to drop/recreate the queue
Other approach could be to use RAW or XMLTYPE as payload. Here many queues could map to one queue table. RAW queues - you cannot specify rules/conditions on the message content
XMLTYpe queues - this will solve the problems you listed above. However, in 9.0 - you have to create an ADT with an embedded XMLType to use these.
In 9.2 - you can create the queue table with SYS.XMLTYPE payload -
Policer with IPv6 class-map on Catalyst 3750
Hi,
I've the following problem.
It's my goal to ratelimit incoming IPv6 traffic dependent on the destination IP address range.
On a Catalyst 3750 (Image: c3750-ipservicesk9-mz.122-55.SE1.bin) I've set up the configuration as follows:
mls qos
ipv6 access-list DESTINATION-RANGE-A
permit ipv6 any 2007::/16
ipv6 access-list DESTINATION-RANGE-B
permit ipv6 any 2B03::/16
class-map match-all A
match access-group name DESTINATION-RANGE-A
class-map match-all B
match access-group name DESTINATION-RANGE-B
policy-map RL-POLICY
class A
police 2000000 8000 exceed-action drop
class B
police 6000000 8000 exceed-action drop
interface GigabitEthernet1/0/7
switchport access vlan 90
load-interval 30
service-policy input RL-POLICY
The last CLI command which should bind the policy to the specific interface, leads to the following error message
QoS: class(A) IPv6 class not supported on interface GigabitEthernet1/0/7
Are hardware/software limitations the reason for this behavior or is there any misconfiguration?
Thanks in advance for your help!
Regards,
JensIf you are thinking of IPv6 prefix I tried everything. From /128 for single host to /64, nothing works.
-
Ratelimiter with IPv6 class-map on Catalyst 3750
Hi,
I've the following problem.
It's my goal to ratelimit incoming IPv6 traffic dependent on the destination IP address range.
On a Catalyst 3750 (Image: c3750-ipservicesk9-mz.122-55.SE1.bin) I've set up the configuration as follows:
mls qos
ipv6 access-list DESTINATION-RANGE-A
permit ipv6 any 2007::/16
ipv6 access-list DESTINATION-RANGE-B
permit ipv6 any 2B03::/16
class-map match-all A
match access-group name DESTINATION-RANGE-A
class-map match-all B
match access-group name DESTINATION-RANGE-B
policy-map RL-POLICY
class A
police 2000000 8000 exceed-action drop
class B
police 6000000 8000 exceed-action drop
interface GigabitEthernet1/0/7
switchport access vlan 90
load-interval 30
service-policy input RL-POLICY
The last CLI command which should bind the policy to the specific interface, leads to the following error message
QoS: class(A) IPv6 class not supported on interface GigabitEthernet1/0/7
Are hardware/software limitations the reason for this behavior or is there any misconfiguration?
Thanks in advance for your help!
Regards,
JensIf you are thinking of IPv6 prefix I tried everything. From /128 for single host to /64, nothing works.
-
How to do NAT on cat 3750 switch?
give me an example or a link
thanksHi,
NAT is not supported on the 3750s. Here is a link that confirms that:
http://www.cisco.com/en/US/products/hw/switches/ps5023/products_configuration_guide_chapter09186a00802c10bd.html#wp1031988
Pls do remember to rate posts.
Paresh -
Re: Cat 3750 Stack Management
Hello,
I am building a few 3750 stacks with three or more units, I want to be able to poll/monitor each individual switch in the stack but as it only has 1 ip associated with the stack, how can I do this? I am blind to a switch going down in the middle of the stack. I saw this in a four-year-old forum, but I say no specific resolution.All stack management happens through the commander. The stack looks like a huge switch. If you want to monitor a specific switch's interfaces you can. They will be numbered as *EthernetX/0/Y, where X is the stack member number and Y is the interface number. CPU utilization can only be monitored on the active stack master, though. Inventory can be obtained from each stack member using ENTITY-MIB. Environmental data can be obtained for each switch using the CISCO-ENVMON-MIB.
-
WLC 5508 LAG and CAt 3750 cross stack
Hello,
I would like to use the LAG feature on my 5508 WLCs and connect each of them to two different port of a 3750 stack using cross stack. Do you think it will work?
Cisco suggests not to connect different LAG ports of a WLC to different CAT3750 but it's not clear if it was referred to different standalone 3750s or to a stackwise of 3750s.
Tnks all
JohnnyThe HA kicks in when the primary looses gateway, do a small test, keep a continuous ping to WLC from its gateway as source and break one of the link in the LAG and see if you drop any packet ?
-
How to configure cat 3750 to support ssh2
hey,
I'm trying to configure, my catalyst 3750 to support sshv2 im running IOS c3750-ipbasek9-mz.122-25.SEB2.
what commands do I need to enter on the Switch? I got a pdf from cisco showing how to do it. but I don't quite understand it. Right now my switch is just using telnet. I want to configure it to support telnet, sshv1 or sshv2.
Also all the switches use tacacs as well
thanks alot!This should do it..
aaa new-model
username cisco secret cisco
hostname
ip domain name
crypto key generate rsa (this one is interactive)
line vty 0 4
transport input telnet ssh
SSHv1 or SSHv2 is dependant on which version of the IOS you use...
Check this document:
http://www.cisco.com/en/US/tech/tk583/tk617/technologies_tech_note09186a00800949e2.shtml -
HI,
I have a 3750 as below and it doesnt seem to have eem commands on it.
I thought EEM was supported for this platform,IOS version and Package level?
Any Ideas?
Cisco IOS Software, C3750 Software (C3750-IPBASEK9-M), Version 12.2(53)SE2, RELEASE SOFTWARE (fc3)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2010 by Cisco Systems, Inc.
System image file is "flash:c3750-ipbasek9-mz.122-53.SE2.bin"Is this definitely not a defect that the CLI commands are disabled?
I have the same issue and when i look at the processes i get this:
#show process | inc EEM
9 Mwe 1CF14D8 49 971 50 7708/9000 0 EEM ED Syslog
57 Mwe 1CD7DB0 286447 1855661 154 7700/9000 0 EEM ED ND
58 Mwe 1CC7330 0 187 0 7676/9000 0 EEM ED Identity
59 Mwe 1CC7330 0 333 0 7668/9000 0 EEM ED MAT
282 Mwe 1CDE97C 0 2 0 7852/9000 0 EEM ED Routing
288 Mwe 1C82058 9 53 169 4556/6000 0 EEM Server
289 Mwe 1CA2888 0 2 0 5100/6000 0 EEM Policy Direc
291 Mwe 1CC7330 0 2 0 7820/9000 0 EEM ED CLI
292 Mwe 1CC7330 0 3 0 7824/9000 0 EEM ED Counter
293 Mwe 1CC7330 0 3 0 7820/9000 0 EEM ED Interface
294 Mwe 1CC7330 0 3 0 7824/9000 0 EEM ED IOSWD
295 Mwe 1CC7330 0 3 0 7820/9000 0 EEM ED None
296 Mwe 1CC7330 0 3 0 7824/9000 0 EEM ED OIR
298 Mwe 1CC7330 0 3 0 7824/9000 0 EEM ED SNMP
299 Mwe 1CC7330 0 3 0 7824/9000 0 EEM ED SNMP Obje
300 Mwe 1CC7330 0 3 0 7824/9000 0 EEM ED Ipsla
301 Mwe 1CEE868 0 2 0 7856/9000 0 EEM ED SNMP Noti
302 Mwe 1CC7330 11653 150780 77 7624/9000 0 EEM ED Timer
Looks like all the event detector processes are running and getting invoked. The syslog one has been invoked 971 times for example.
Does the auto smart ports feature use all of these? Also the policies are for eem 3.2 not eem 2.4 which is what is in the feature navigator. Would be really nice to be able to have cli access to these processes seeing as they are running. -
CAT 3750 Policy base routing preformance
Does anybody know where i can find data about preformance of routing on Catalyst 3750 when i use the policy base routing on it. And what methods of packets switching is availalbe witch policy base routing.
check out the following link on configuring PBR on Catalyst 3750 switches :
http://www.cisco.com/en/US/products/hw/switches/ps5023/products_configuration_guide_chapter09186a0080502417.html#wp1228588
Maybe you are looking for
-
Change file path of embedded pictures
I'm sort of a beginner with Applescript, but I created an application in it that takes screenshots of different web pages and saves them in my Pictures folder. I have a proposal template in a Word document that has these pictures linked and embedded
-
Mac OS X 10.5.7 Server - Problem with SMB-Share
Hi@all, i've following problem with my Mac OS X Server. I want to disable the virtual share points of SMB with Server-Admin. After disabling the virtual share point and saving, the virtual share points are autmotically enabled again. I don't know why
-
Non-airport recommendations?
Hi all, Our six (or seven?) year old Airport Express seems to be on its last leg, slow speeds, weak signal, dropping connection randomly, etc. Was thinking of upgrading, but also interested in comparison shopping with a non-Apple product. If I can ge
-
Hello! We need to get from ORACLE 9.1 on Windows the current time up to the milliseconds through the ODBC function NOW() . (We get it only rounded up to seconds). The driver uses SYSDATE. Is there any possibility to tell the driver to use another exp
-
Role based agent assignment in n step badi
Hi Guys Please provide your inputs on determining agent based on a role in the N step approval badi. Regards Rajeev