cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1039
Views
4
Helpful
14
Replies

QoS question (2.0(3) version)

mariangcisco
Level 1
Level 1

This is output from configuring qos on clean box (9509). I don't understand why last command fails.

`qos class-map class_for_all_frames match-any`

`match any`

Operation in progress. Please check class-map parameters

`qos policy-map policyHigh`

`class class_for_all_frames`

`priority high`

Operation in progress. Please check class-map parameters

`qos policy-map policyMedium`

`class class_for_all_frames`

`priority medium`

Operation in progress. Please check class-map parameters

`qos policy-map policyLow`

`class class_for_all_frames`

`priority low`

Failed to effect configuration: configured set param same as existing one

*** cmd exec error ***

1 Accepted Solution

Accepted Solutions

I believe the "inbound" means the Qos policy map is applied to ingress traffic. By design, it is always done on ingress asics, so you wont be able to change this.

View solution in original post

14 Replies 14

tblancha
Cisco Employee
Cisco Employee

So, this is a box with no config? Are you cut & pasting or doing a copy start run or something of the sort? Can you explain your situation a little more please and/or attach your session.

i have prepared some scripts which I run, but it behaves the same way when I enter it command by command. So I did write erase and reloaded switch. Now my session comes

switch(config)# no qos enable

switch(config)# qos enable

switch(config)# exit

switch# sh qos class-map

switch# sh qos policy-map

switch# config

Enter configuration commands, one per line. End with CNTL/Z.

switch(config)# qos class-map class_for_all_frames match-any

switch(config-cmap)# match any

Operation in progress. Please check class-map parameters

switch(config-cmap)# exit

switch(config)# qos policy-map policyHigh

switch(config-pmap)# class class_for_all_frames

switch(config-pmap-c)# priority high

Operation in progress. Please check class-map parameters

switch(config-pmap-c)# exit

switch(config-pmap)# exit

switch(config)# qos policy-map policyMedium

switch(config-pmap)# class class_for_all_frames

switch(config-pmap-c)# priority medium

Operation in progress. Please check class-map parameters

switch(config-pmap-c)# exit

switch(config-pmap)# exit

switch(config)# qos policy-map policyLow

switch(config-pmap)# class class_for_all_frames

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

switch(config-pmap-c)# priority low

Failed to effect configuration: configured set param same as existing one

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

switch(config-pmap-c)# exit

switch(config-pmap)# exit

switch(config)# exit

switch# sh qos class-map

qos class-map class_for_all_frames match-any

match any

switch# sh qos policy-map

qos policy-map policyHigh

class class_for_all_frames

priority high

qos policy-map policyMedium

class class_for_all_frames

priority medium

qos policy-map policyLow

class class_for_all_frames

priority low

And it looks like it happens every time I define low priority

there have never been a policy map named policyXYZ for sure

switch(config)# qos policy-map policyXZY

switch(config-pmap)# class class_for_all_frames

switch(config-pmap-c)# priority low

Failed to effect configuration: configured set param same as existing one

It looks like you are defining all frames to have high, medium and low priority here. It can't be all 3 priorities at the same time.

Maybe I don;t understand it right, but I could have different policy maps later. And Policy maps are per VSAN. So I can have one class which will be used in 3 VSANs and then another which will differentiate on wwn in different VSAN. Do I get something wrong ?

You could have different policy maps later but for right now, you are trying to define all traffic as high, medium and low priority. The switch is saying to you, "This has already been defined once."

Try defining different information for the various levels of service.

I still don't understand. If I have three VSANs and want to have all VSAN's 1 traffic high priority, all VSAN's 2 trafic medium and all VSAN's 3 traffic low priority, what can I do ? I thought I would create one class matching all traffic and then create three policy maps using the same class but different priority.

But that's not what you are doing here. The QoS is within a vsan and not one vsan over another. You will need a policy map within each vsan. In your config you are using here, you have everything all 3 priorities-high, medium, and low. Everything cannot have all priorities.

I understand your point, but... When I create class or policymap, it is not defined in any particular VSAN. Those are just definitions. Later I activate policymap per VSAN. Like this

qos service policy policyHigh vsan 2

qos service policy policyMedium vsan 4

qos service policy policyLow vsan 14

I thought it would then look at class definition within policy. As all three policies have class with match any criteria, all traffic in vsan 2 would go to queue high etc.

I think you understand what I try to achive. What are the proper steps ?

OK, I changed my definitions and get into the same toruble. What is wrong here ?

MDS9509_Cern_B(config)# no qos enable

MDS9509_Cern_B(config)# qos enable

MDS9509_Cern_B(config)# qos class-map class1 match-any

MDS9509_Cern_B(config-cmap)# match destination-wwn 1111111111111111

Operation in progress. Please check class-map parameters

MDS9509_Cern_B(config-cmap)# exit

MDS9509_Cern_B(config)# qos class-map class2 match-any

MDS9509_Cern_B(config-cmap)# match destination-wwn 2222222222222222

Operation in progress. Please check class-map parameters

MDS9509_Cern_B(config-cmap)# exit

MDS9509_Cern_B(config)# qos class-map class3 match-any

MDS9509_Cern_B(config-cmap)# match destination-wwn 3333333333333333

Operation in progress. Please check class-map parameters

MDS9509_Cern_B(config-cmap)# exit

MDS9509_Cern_B(config)# qos policy-map phigh

MDS9509_Cern_B(config-pmap)# class class1

MDS9509_Cern_B(config-pmap-c)# priority high

Operation in progress. Please check class-map parameters

MDS9509_Cern_B(config-pmap-c)# exit

MDS9509_Cern_B(config-pmap)# exit

MDS9509_Cern_B(config)# qos policy-map pmedium

MDS9509_Cern_B(config-pmap)# class class2

MDS9509_Cern_B(config-pmap-c)# priority medium

Operation in progress. Please check class-map parameters

MDS9509_Cern_B(config-pmap-c)# exit

MDS9509_Cern_B(config-pmap)# exit

MDS9509_Cern_B(config)# qos policy-map plow

MDS9509_Cern_B(config-pmap)# class class3

MDS9509_Cern_B(config-pmap-c)# priority low

Failed to effect configuration: configured set param same as existing one

Thank you

The message:

"Failed to effect configuration: configured set param same as existing one"

is in regard to the last command you issued, ie "priority low". All previous commands were accepted OK. The last one was rejected because the default priority is already set to 'low'.

OK, great, when I don'e enter the last command I get the same results in show command. Now when I look at QoS under FabricManager, ther is a column VSAN Id, direction, which shows 7,inbound. What does the inbount mean ? How do I set it ? I cannot find anything about it on docs.

Thank you

I believe the "inbound" means the Qos policy map is applied to ingress traffic. By design, it is always done on ingress asics, so you wont be able to change this.

Thank you all for help and great patience.

Review Cisco Networking for a $25 gift card