I am working on QoS for Polycom HDX video device。
Found some strange with command "match protocol sip"
Config is following:
class-map match-any cm-prec-3-in
match access-group name acl-prec-3
match protocol sip !--->try to catch the sip traffic
match protocol rtcp
match dscp cs3
Router#sh policy-map interface vlan 300 input class cm-prec-3-in
Vlan300
Service-policy input: pm-classify-in
Class-map: cm-prec-3-in (match-any)
789 packets, 294892 bytes
5 minute offered rate 0 bps, drop rate 0 bps
Match: access-group name acl-prec-3
753 packets, 290572 bytes
5 minute rate 0 bps
Match: protocol sip !---> no any sip traffic is matched
0 packets, 0 bytes
5 minute rate 0 bps
Match: protocol rtcp !---> RTCP catched
36 packets, 4320 bytes
5 minute rate 0 bps
Match: dscp cs3 (24)
0 packets, 0 bytes
5 minute rate 0 bps
QoS Set
precedence 3
Packets marked 789
try to show the nbar version:
sh ip nbar version:
27 sip Mv: 2
Iv: cisco-phone - 1
Iv: telepresence-control - 1
42 cisco-phone Mv: 1
Iv: sip - 2
Dose that mean this command "match protocol sip" is only supported for Cisco device?
Try to use ACL to match udp port 5060 for the QoS, and it is working.
Try to use comster "ip nbar custom" to re-write the nbar and it is doesn't accept.
Please help to clarify how to use this command.