As Vik said "show policy-map" command in 3750 won't show stats. Instead use
"show mls qos interface stats" command. Also, make sure that your ACL is
correct.

 

Regards,

Mohammed Al Baqari

 

From: [email protected]
[mailto:[email protected]] On Behalf Of Ken Wyan
Sent: Sunday, March 04, 2012 12:59 AM
To: [email protected]
Subject: [OSL | CCIE_Voice] service-policy on trunk ports

 

I have following scenario (Tested in Proctorlabs Rack).

 

HQ Switch  Fa1/0/1 (trunk port) <-----------connect to---------->  HQ Router
Fa0/0 (with sub-interfaces)

 

I want to apply a service-policy to mgcp packets  going through this link.

 

I configured access-list , class-map , policy-map & applied to switch
interface. But I can't see any mgcp packets matching

 

HQ-3750#show policy-map interface fastEthernet 1/0/1
 FastEthernet1/0/1

  Service-policy input: mgcp

    Class-map: mgcp (match-all)
      0 packets, 0 bytes
      5 minute offered rate 0 bps, drop rate 0 bps
      Match: access-group 100

    Class-map: class-default (match-any)
      0 packets, 0 bytes
      5 minute offered rate 0 bps, drop rate 0 bps
      Match: any
        0 packets, 0 bytes
        5 minute rate 0 bps

interface FastEthernet1/0/1
 switchport trunk encapsulation dot1q
 switchport trunk native vlan 10
 switchport mode trunk
 speed 100
 duplex full
 mls qos trust dscp
 service-policy input mgcp

 

Now  same thing I configured on HQ Router ( Fa0/0 interface)  , then I can
see packets are matching with service policy.

 

What can be the reason?

(Switch accepts service-policy in input direction only , hence I applied
service-policy in output direction on Router port)

 

Can this be a limitation for trunk (multi-vlan) ports on switches ?

 

Ken


 

_______________________________________________
For more information regarding industry leading CCIE Lab training, please visit 
www.ipexpert.com

Are you a CCNP or CCIE and looking for a job? Check out 
www.PlatinumPlacement.com

Reply via email to