cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
396
Views
0
Helpful
1
Replies

Failed to attach a policy to an interface

Hi Mates,

Am not able to attach a QoS policy attached to an interface GigabitEthernet0/3. and getting the error message.

Switch(config)#interface Gi0/3 

Switch(config-if)#service-policy input QoS-SILVER

QoS: Unsupported L4 protocol type match

QoS: Policy attachment failed for policymap QoS-SILVER

 

Switch#sh run int g0/4
Building configuration...

Current configuration : 310 bytes
!
interface GigabitEthernet0/4
 port-type nni
 no switchport
 ip vrf forwarding CustA
 ip address XXXXXXXXXXXXXXXXX
 no ip redirects
 no ip unreachables
 no ip proxy-arp
 speed 100
 duplex full
 service-policy input QoS-DATA
end

Switch#sh run int g0/3
Building configuration...

Current configuration : 269 bytes
!
interface GigabitEthernet0/3
 description ## XXXXXXXXXXX} ##
 port-type nni
 no switchport
 ip vrf forwarding custB
 ip address XXXXXXXXXXX
 no ip redirects
 no ip unreachables
 no ip proxy-arp
 speed 100
 duplex full
end


Switch#sh policy-map
  Policy Map QoS-DATA
    Class XXXXXXXXXXX
     police cir 20000000 bc 625000
       conform-action set-mpls-exp-topmost-transmit 1
       exceed-action drop

  Policy Map QoS-SILVER
    Class XXXXXXXXXxxx
     police cir 5000000 bc 156250
       conform-action set-mpls-exp-topmost-transmit 1
       exceed-action drop

Image: me380x-universalk9-mz.122-52.EY4.bin

1 Reply 1

ghostinthenet
Level 7
Level 7

It looks like you're trying to match high level protocols in your class statements. If you don't think it would be too much, could you post the classes that you're matching in your policy maps?

Review Cisco Networking for a $25 gift card