05-22-2008 07:43 AM - edited 03-05-2019 11:10 PM
I am having an issue on my 6513 where I can install a QoS policy. I just can't apply the policy to an interfacce. I have tried this a few times, but keep getting the same error.
I input this:
mls qos map policed-dscp normal-burst 24 26 to 8
mls qos map dscp-cos 10 to 0
mls qos map cos-dscp 0 8 16 24 32 46 48 56
no mls qos marking statistics
mls qos
!
class-map match-any SIGNAL
match access-group name SIGNAL
match ip dscp cs3
match ip dscp af31
class-map match-any VOICE
match ip dscp ef
class-map match-any KNOWN
match any
class-map match-any UNKNOWN
match any
!
!
policy-map PHONE+PC
class VOICE
police cir 128000 bc 8000 be 8000 conform-action set-dscp-transmit ef
exceed-action drop violate-action drop
class SIGNAL
police cir 32000 bc 8000 be 8000 conform-action set-dscp-transmit cs3
exceed-action policed-dscp-transmit violate-action policed-dscp-transmit
class class-default
set dscp default
!
policy-map KNOWN
class KNOWN
set dscp af21
!
policy-map UNKNOWN
class UNKNOWN
set dscp default
When I go to my gi1/1 port and try to apply the policy I get this error:
6513(config)#int g1/1
6513(config-if)#Service-policy input PHONE+PC
QoS: Match criteria in class SIGNAL on GigabitEthernet1/1 cannot simultaneously have match
dscp | precedence | exp and match ACL
QoS: policy PHONE+PC actions for class SIGNAL are not supported on GigabitEthernet1/1
QoS: Match criteria in class SIGNAL on GigabitEthernet1/1 cannot simultaneously have match
dscp | precedence | exp and match ACL
QoS: Match criteria in class SIGNAL on GigabitEthernet1/1 cannot simultaneously have match
dscp | precedence | exp and match ACL
I can apply this policy just fine on our 4506 and 4510 switches... just not on any of our 6500s. Am I missing something in the 6509 or 6513 config? Any ideas?
Thanks,
Chris
05-22-2008 08:38 AM
Chris,
Can you let us know what version of code and supervisor you are running?
There is a restriction before 12.2(18)SXE that you cannot have more than one match statement in a class-map.
From the config guide:
With Release 12.2(18)SXE and later releases, PFC QoS supports multiple match criteria in class maps configured with the match-any keywords.
Configuration guide location:
If you are past this code, let us know and we can take it from there.
Regards,
John Gill
05-22-2008 01:23 PM
Here's a show ver:
6513#sh ver
Cisco Internetwork Operating System Software
IOS (tm) s72033_rp Software (s72033_rp-PSV-M), Version 12.2(18)SXD6, RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2005 by cisco Systems, Inc.
Compiled Wed 17-Aug-05 17:34 by evmiller
Image text-base: 0x4002100C, data-base: 0x42040000
ROM: System Bootstrap, Version 12.2(14r)S9, RELEASE SOFTWARE (fc1)
BOOTLDR: s72033_rp Software (s72033_rp-PSV-M), Version 12.2(18)SXD6, RELEASE SOFTWARE (fc1)
Denver_6513 uptime is 12 weeks, 4 days, 10 hours, 12 minutes
Time since Denver_6513 switched to active is 12 weeks, 4 days, 13 hours, 35 minutes
System returned to ROM by power-on (SP by power-on)
System restarted at 00:45:37 MST Sun Feb 24 2008
System image file is "disk0:s72033-psv-mz.122-18.SXD6.bin"
cisco WS-C6513 (R7000) processor (revision 1.0) with 458720K/65536K bytes of memory.
Processor board ID SAL0749QAUW
SR71000 CPU at 600Mhz, Implementation 0x504, Rev 1.2, 512KB L2 Cache
Last reset from power-on
X.25 software, Version 3.0.0.
Bridging software.
27 Virtual Ethernet/IEEE 802.3 interface(s)
484 Gigabit Ethernet/IEEE 802.3 interface(s)
1917K bytes of non-volatile configuration memory.
8192K bytes of packet buffer memory.
65536K bytes of Flash internal SIMM (Sector size 512K).
Configuration register is 0x2102
05-23-2008 04:46 AM
Chris,
Your code will not let you use the multiple match statements, you need to upgrade to 12.2(18)SXE or later to get this functionality.
I tried this on a lab switch of my own and no errors:
class-map match-any SIGNAL
match access-group name SIGNAL
match ip dscp cs3
match ip dscp af31
!
!
policy-map matchall
class matchall
set dscp cs1
policy-map PHONE+PC
class SIGNAL
police cir 32000 bc 8000 be 8000 conform-action set-dscp-transmit cs3 exceed-action drop violate-action drop
6500(config)#int gi 5/1
6500(config-if)#service-policy input PHONE+PC
6500#sh policy-map int
GigabitEthernet5/1
Service-policy input: PHONE+PC
class-map: SIGNAL (match-any)
Match: access-group name SIGNAL
Match: ip dscp cs3
Match: ip dscp af31
police :
32000 bps 8000 limit 8000 extended limit
Earl in slot 5 :
0 bytes
5 minute offered rate 0 bps
aggregate-forwarded 0 bytes action: set-dscp-transmit
exceeded 0 bytes action: drop
aggregate-forward 0 bps exceed 0 bps
Class-map: class-default (match-any)
0 packets, 0 bytes
5 minute offered rate 0 bps, drop rate 0 bps
Match: any
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: