11-06-2013 08:34 AM - edited 03-07-2019 04:27 PM
Hi,
The topology is the following:
PC ------ fa0/1 ---- c3560 ----- interface vlan10 (10.10.10.10)
I would like to mark ICMP packets with dscp 46 so i placed a policy map on interface f0/1 inbound.
The switch doesn't mark the packets. I have tried several configuration, no success at all.
WS-C3560-24PS 12.2(55)SE8 C3560-IPSERVICESK9-M
Can anyone help me out pls?
11-06-2013 09:14 AM
HI Istvan,
There are two cases
1- Does your PC sending marked frame. If so just inform your interface to trust dscp value
mls qos trust dscp
you can verify this via.
show mls qos interface
output should be "trust state: trust dscp"
2- If your pc is not marking and you want to mark it on incoming interface just issue below command
policy-map PC
class class-default
set ip dscp
int
service-policy input PC
Hope It helps.
Regards
11-06-2013 09:25 AM
Thank you for your post.
policy-map PC
class class-default
set ip dscp ef
interface FastEthernet0/10
switchport access vlan 10
switchport mode access
no mdix auto
service-policy input PC
Switch#show policy-map interface fastEthernet 0/10
FastEthernet0/10
Service-policy input: PC
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
That's the problem.
11-06-2013 10:25 AM
HI please check this command:
is this port is in working mode means....no input and output packets shown in output.
Configure this command on your interface fa0/10: mls qos cos 3
Regards
11-16-2013 09:20 PM
hi,
i used wireshark to look deeper into the packets, they are getting marked, however the switch doesn't show
11-17-2013 08:15 AM
Hi Istvan,
The behavior that you are seeing is expected, since fixed unit switches do not display the QoS statistics when using the "show policy-map interface gix/x" command.
On fixed units we can use the "show mls qos interface gix/x statistics" to verify the marking of packets on ingress/egress. Or verify the markings with a sniffer capture as you did.
Hope this information was helpful.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide