EXP to COS : MPLS on Catalyst
Hi,
Which Cisco switch supports EXP to COS mapping , MPLS support on swicth , other than 6500
Thx,
GP
Hello Gaurav,
I'm afraid you need a C6500 or C7600 with Sup720 3BXL or better for this job.
I tried to look at the c4500 configuration guide and in the QoS section there is no reference to MPLS frames and EXP.
However, if your only objective is to have the CoS bits to reflect the MPLS EXP bits this can be a default behaviour being the MPLS frame the payload.
ethernet header -- 802.1Q header -- MPLS header
802.1Q CoS should be a copy of MPLS EXP bits by default when it exits the PE interface.
Hope to help
Giuseppe
Similar Messages
-
Dear Cisco Team, Does the Catalyst series support MPLS, VPLS PE / P function. AFAIK only Cisco Router support MPLS, VPLS PE/P. what catalyst series support MPLS/VPLS? tq anyway
Cisco 6500 and 7600 but 7600 series is Leadership for such postion, 7600 with RSP720 comes with very large MAC (CAM)table to support Metro-ethernet.
Hope that help.
Please rate helpful posts.
Best Regards,
Mounir Mohamed -
Hi,
I am using 3750 as a L2 switch in between MPLS PE and MPLS P router. The ports (on 3750M) connecting to MPLS devices are just L2 ports no IP or no LDP. I want to know if I can configure QOS on L2 ports of 3750. Can I map MPLS EXP to COS on switch?
regards,
GauravHi,
You will not be able to do this, as the switches look at the layer 2 or 3 cos markings, whilst the MPLS exp value is at layer 2.5, between the IP and MAC layers.
But if the MPLS exp value has been set from that of the IP precedence/DSCP from the CE packet, aka uniform mode MPLS QOS, then you can just use your cos maps to match the ip dscp/precendence to cos etc.
HTH
LR -
"trust cos" on dot1q-tunnel interface
Hello,
we've MAN based on Cat 6500 and Cat 3750, we're using QinQ as one of our backbone technologies.
We need to implement "trust cos" on QinQ port for one of our customers (= rewrite CoS bits from the internal 802.1q header (coming from customer) to the external 802.1q header). Do you have some idea how to deal with it ?
We've done several experiments, but we haven't found any solution except CoS-to-CoS map, which is "Cat 6500 only" and "per-group-of-ports" feature. We need to implement it per port (only for this cusomer).
We're looking for this because customer is using MPLS and we need to "trust QoS" as it is set by the customer. Customer is able to set
- DSCP in IP header
- MPLS exp. bits
- CoS in dot1q header.
Have you ever come accross something like this?
Have you found any solution?
Thanks
Jan Klicka, SITMPIt's difficult for Cisco Cat 6500.Why don't you consider products from other vendors?
-
DSCP to CoS mapping: Avaya traffic
It appears that Avaya marks its voice traffic as follows:
L2 signaling cos 6 L3 signaling dscp 34
L2 audio cod 6 L3 audio dscp 46
Has anyone interacted with theses settings and what are the right mappings for 6500 series Modules?
I am about to use the following:
#mls qos map dscp-cos 34 46 to 6
#mls qos map dscp-cos 48 to 5 "move IP control to cos 5)
#mls qos map cos-dscp 0 8 16 24 32 46 48 56 leave cos to dscp unchanged.
Finally use: #mls qos thrust dscp on input interfaces.
Can anyone clarify?
Thanks.The 6608 and 6624 internal port is treated as trust-cos to the Catalyst 6000. So the default COS-to-DSCP mapping of the cards will determine the DSCP values with which the IP packets are marked unless they are changed in the switch.
The 6608 and 6624 will tag packets as follows:
COS = 5 for rtp traffic
COS = 3 for signalling traffic
By default on the Catalyst 6000, these COS values map in IP packets to DSCP 24 (COS = 3) and 40 (COS = 5) as shown in the table below.
Generally, the recommended DSCP values to use in a VoIP network differ slightly. They are:
DSCP = 46 for rtp traffic (Recommended Expedited Forwarding (EF) value)
COS = 26 for signalling traffic (AF31)
It may be necessary to change the default COS-DSCP mapping on the Catalyst 6000 so that the DSCP markings in packets generated by the 6608 and 6624 cards conform to the network policy. For example, if other devices in the network are marking packets with the recommended values.
Information on how to change the default COS-DSCP mapping is provided in the Mapping Received CoS Values to Internal DSCP Values section of Catalyst 6000 Family Software Configuration Guide. -
How come in frequency/ Time domain there is no negative axis?
Hi guys!
I m doing a tutorial to represent sine wave in its frequency domian? ALthough i get the 2 compoents from(exp(jwt)*cos wt) but all the frequency components are in positive domain???
Its completely different from what I had studided?
AM I wrong?
Pls correct... Learning in jeopardise...lolx..
Thank u!See reply here: http://forums.ni.com/ni/board/message?board.id=170&view=by_date_descending&message.id=322149#M322149
-
Sup2T ##show platform qos ## command
Hi everyone,
The white paper about sup2t System Architecture
http://www.cisco.com/en/US/prod/collateral/switches/ps5718/ps708/white_paper_c11-652042.html#wp9000594
says:
By default, packets are passed through without a change in DSCP, EXP, or CoS for L2 packets or L2-classified L3 packets
However, when I see the output of the command "show platform qos" there are " CoS Changes"
----- Switch [1], Module [1] -----
Counter IFE Pkts IFE Bytes OFE Pkts OFE Bytes
Policing Drops 0 0 0 0
Policing Forwards 1136306595 26171591950357 1150627829 26173991946454
Police-hi Actions (Lvl3) 0 0 0 0
Police-lo Actions (Lvl2) 0 0 0 0
Aggregate Drops 0 0 0 0
Aggregate Forwards 1136306593 26171591950221 1150627827 26173991946318
Aggregate Exceeds-Hi 0 0 0 0
Aggregate Exceeds-Lo 0 0 0 0
NF Drops 0 0 0 0
NF Forwards 2 136 2 136
NF Exceeds 0 0 0 0
TOS Changes 1
TC Changes 0
EXP Changes 0
COS Changes 949932
Tunnel Decaps 1
Tunnel Encaps 1
1. ¿Why there are cos changes?
2. ¿What are Policing Forwards and Aggregate Forwards?
I have two C6500E (Sup2T Supervisor) in VSS mode and my config is quite similar to defaults.
auto qos default
table-map cos-discard-class-map
map from 5 to 46
interface Port-channel10
switchport
platform qos trust cos
interface GigabitEthernet1/1/6
switchport
platform qos trust cos
channel-group 10 mode active
3. ¿Could it be related to CoPP?
Thank you in advance.The outputs of sh platform commands are not intuitive and one will need a detailed architecture knowledge including code names to decipher them. No current plans on documenting all the commands. Most needed commands are sort of documented in troubleshooting documents. Example, is the following high cpu document
http://www.cisco.com/warp/public/473/cat4500_high_cpu.html -
Hi Guys,
I have setup 3 DS-TE tunnels and wish to forward traffic over these tunnels using CBTS. However, it seems the traffic is not forwarded over correct TE tunnel. The tunnels are UP. Autoroute is used for IGP to be aware of TE tunnels.
Platform is 7200 series with 12.2(33)SRE1 IOS. Apparently, this IOS supports CBTS. A sample DS-TE configuration is as below-
interface Tunnel 10
ip unnumbered Loopback 0
tunnel destination 5.5.5.5
tunnel mode mpls traffic-eng
tunnel mpls traffic-eng autoroute announce
tunnel mpls traffic-eng exp 5
tunnel mpls traffic-eng priority 0 0
tunnel mpls traffic-eng bandwidth 8000 class-type 0
tunnel mpls traffic-eng path-option 2 dynamic
I am setting appropriate traffic to EXP 5 which I have confirmed. Only issue is forwarding traffic over TE tunnels which isn't happening correctly. Apparently, only CEF is taken into consideration based on SA - DA pair from show ip cef exact-route command.
Any help would be appreciated.
Regards,
Amit.Hello Amit,
>> I am setting appropriate traffic to EXP 5 which I have confirmed.
you should set IP traffic to IP Prec 5 on edge non MPLS interfaces.
Hope to help
Giuseppe -
I need to block all traffic to/from certain MAC addresses from within a certain VLAN on a 6500 running CatOS. Is there a way to do do per-VLAN MAC-based access-lists?
The IOS command functional equivalent is "mac access-list extended" Here is a snippet from the IOS command reference that covers the highlights:
Once you enter the mac access-list extended name command, use the following subset to create or
delete entries in a MAC-access list:
[no] {permit | deny} {{src-mac mask | any} {dest-mac mask} | any} [protocol [vlan vlan]
[cos value]]}
Reference "Catalyst 6500 Series Cisco IOS Command Reference, 12.2SX" (http://www.cisco.com/en/US/partner/products/hw/switches/ps708/products_command_reference_book09186a0080160cd0.html) page 2-357. -
Math.pow(Math.E, time)
Hi folks!
The expression
"Math.pow( Math.E, time )" keeps giving me a "divide by zero" error.
This seems to be similar to problems others have had, but the other solutions don't quite work in my case, since Math.E isn't negative. "time" of course is a non-integer, but the expression doesn't even work for me if I replace it with "Math.ceil(time)."
Can anybody tell me what I'm missing? Thanks in advance!
--SThanks for the reply!
My original expression was
thet = time;
a = 2;
b = 0.5;
exp = Math.pow(Math.E, b*thet);
posx = a*exp*Math.cos(thet);
posy = a*exp*Math.sin(thet);
[640, 640] + [posx, posy]
except that a and b were slider values. If I use Math.exp,
thet = time;
a = 2;
b = 0.5;
exp = Math.exp(b*thet);
posx = a*exp*Math.cos(thet);
posy = a*exp*Math.sin(thet);
[640, 640] + [posx, posy]
I get the same error. I found a work-around by attaching theta to a slider instead, but I'm still curious to know what the problem was.
Thanks again!
--S -
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 -
Wred based on MPLS exp bits on 12000
I want to use WRED with MQC on 12000 but there is no mpls/exp-bits statment on the "random-detect" command.
I found this note at cisco documentation:
Note: The legacy CLI also uses the precedence syntax for Multiprotocol Label Switching (MPLS) traffic. The router treats the MPLS bits as though they are IP Type of Service (ToS) bits and puts the appropriate packets into the correct queues. This is not at all true for MQC.
so, is there a way to use WRED with MPLS EXP-bits on MQC?Hi,
As fas as I know the solution is as follows:
1. Use MQC on the inbound interface of your P/PE LSR to match your desired traffic and set discard-class
2. Use MQC on the outbound interface of your P/PE
LSR to set desired WRED policy based on discard-class you marked in previous step. You also need to mark WRED as "discard-class-based"
Here is an example:
Inbound:
class-map class1
match XXXXX
class-map class2
match YYYYY
policy-map in-policy
class class1
set discard-class 0
class class2
set discard-class 1
Outbound:
policy-map out-policy
class class-default
random-detect discard-class-based
random-detect discard-class 0 10 20 5
random-detect discard-class 1 20 30 5
Hope that helped.
David -
QoS trust dscp or cos on catalyst 4500
We have a 4510R with Cisco IOS Software, IOS-XE Software, Catalyst 4500 L3 Switch Software cat4500e-UNIVERSALK9-M), Version 03.05.02.E RELEASE SOFTWARE (fc1).
I want use qos trust dscp or qos trust cos on the interface conected to other cisco switch or wlan controller.
The current IOS version, do not support qos trust dscp:
SW(config)#interface gi10/16
SW(config-if)#qos tr
SW(config-if)#qos trust ?
device trusted device class
extend Extend trust through a connected device
SW(config-if)#qos trust device ?
cisco-phone Cisco IP Phone
cts Cisco-telepresence
ip-camera Cisco video surveillance camera
media-player Cisco Digital Media Player
SW(config-if)#qos trust device
What is the software that I need for this?. I tried with command lookup tool but the cat4500 do not appears.That is even new for me.
I did a search and found that, now a days you no longer have to provide the Trust DSCP command, it is by default trusted.
Went through this White Paper and excerpts are below:
http://www.cisco.com/c/en/us/products/collateral/switches/catalyst-4500-series-switches/white_paper_c11-539588.html
The answer to your question comes from the following excerpt :-
"Previously supervisor engines relied on “port trust” to classify traffic; however, this does not fall into the MQC CLI construct. MQC provides a more flexible capability, i.e. all traffic is trusted by default, an administrator can change this trust state using a policy map. Another difference is the “internal DSCP” value used within the switch to place packets in the proper queue.
Cisco Catalyst 4500E Supervisor Engines do not use “internal DSCP”; rather, it relies on explicit matching of QoS values using class maps so that packets can be placed in the correct queue.
Also, note that there is no specific priority queue: it is not queue 3 or queue 1. The priority queue is simply configured within a class; therefore, it is not tied to a specific queue. One final difference is that of classification. Cisco Catalyst 4500E Supervisor Engines provide sequential classification rather than parallel. This allows the network administrator to classify traffic at egress based on the ingress markings. These markings can be done unconditionally, using a policer or using a table map. Based on these changes, QoS CLI will now be more contiguous on the Supervisor Engines as it will now have standard Cisco MQC CLI, making configuration management much simpler"
HTH,
Please rate all helpful posts.
Regards -
Can MPLS aware Netflow ver. 9 be enabled on the catalyst switches 6500
HI, I'm working for KOREA TELECOM, and currently providing MPLS VPN.
We're planning to provide our customer with traffic report using NetFlow..
I read some documents which reads Netflow ver.9 can be enabled on Cisco GSR 12000 Series, but no mention about catalyst switches. So, I ' m curious about that Netflow ver 9 can be activated on catalyst 6500 series.. because the point where switch is located already have mpls encapsulated packet ( mpls vpn packet).
Thank you , in advance.NetFlow is now integral to Cisco 6500. A configuration we recommend is as below:
mls netflow // This enables NetFlow on the Supervisor.
mls nde sender version 7
mls aging long 64 // This breaks up long-lived flows into (roughly) one-minute segments.
mls aging normal 32 // This ensures that flows that have finished are exported in a timely manner.
mls flow ip interface-full
mls nde interface
The next two commands will help to enable NetFlow data export for bridged traffic which is optional. You can specify the list of VLANs here to enable bridged traffic.
ip flow ingress layer2-switched vlan
ip flow export layer2-switched vlan
Apart from this, NetFlow has to be enabled on the MSFC using the below commands.
ip flow egress // This command has to be executed on all the L3/VLAN interfaces.
ip flow-export destination {hostname|ip_address} 9996 // The hostname or IP address of the flow server
ip flow-export source {interface} // The interface through which NetFlow packets are exported. eg: Loopback0
ip flow-export version 9
ip flow-cache timeout active 1
snmp-server ifindex persist
The new Cisco Flexible NetFlow actually allows for export of MPLS specific information (I believe it is stack lables) in addition to information on IP Address, port, etc. But you will need a tool that can support these additional fields. Otherwise you can view IP, port, protocol, etc related information from MPLS links.
Regards,
Don Thomas Jacob
ManageEngine NetFlow Analyzer -
MPLS EXP BITS, PHB Router, forwarding treatement
Hi every body
I hope you guys are doing great. Reading this great book " MPLS fundamentals" , got some question for you guys.
Let say R1 Is PHP router , it will pop incoming label 234 before sending the plain ip packet to R2
---cloud---R1------R2---IP world
1) A mpls labelled packet ( labelled 234)arrives on R1 from MPLS cloud, what will R1 do next as far QOS forwarding of packet is concerened?
As R1 is PHB, it is supposed to POP label 234, will R1 do QOS forwarding ( scheduling, queing ) first based on EXP bits in label 234 and then POP label 234 ? Please keep in mind we are not using any qos group, i am just exploring default behavior.
Thanks and have a great weekendHello Sarah,
By Defaut, NO the PHP router in this Case R1 doesnt perform any QoS sheduling or Queing on label 234.
Once R1 recieves Label 234, it performs the POP operation before it applies QoS queing on label 234.
Regards,
Mohamed
Maybe you are looking for
-
Back-up file exists on my computer but iTunes can't browse it
Hi all, I am having a problem with finding my backup data. Hope to find someone who can help this. So this morning, I decided to restore my iPhone 5 to the default setting. I backed up all the data in my iPhone to iTunes before restoring. After rest
-
IPhone 6 Trade-in Promotion - Based On A True Story...
On 9/30/14, my wife & I decided to take advantage of moving from AT&T to Verizon by joining our son-in-law’s More Everything plan. Our AT&T 2-year contract was more than satisfied. We’re both iPhone users & were looking forward to upgrading our iPhon
-
I AM REASONBLY HAPPY WITH MY PHONE TV BROADBAND AND VISION FROM BT, HOWEVER AFTER 2 YRS AND SEVERAL COMPLAINTS ABOUT POOR SPORTS VISION QUALITY, I BELIEVE I WILL CHANGE TO FREEVIEW HD AND SAVE MYSELF A SMALL FORTUNE. UNLESS BT GET THERE ACT TOGETHER
-
Adobe Interactive Form problem
I have created a simple Adobe Interactive Form using Netweaver Developer Studio (latest version), and when I try to trigger Deploy New Archive and Run it gives me the following errors: Web Dynpro client: HTML Client Web Dynpro client capabilities: Us
-
Any ways to roll over to a different log file when the current log file big
How to roll over a log file when it reaches maximum to a different log file? any ways of doing this??????