is this the full port configuration:
srr-queue bandwidth share 10 10 60 20
srr-queue bandwidth shape 10 0 0 0
mls qos trust device cisco-phone
mls qos trust cos
auto qos voip cisco-phone
According to the guidelines, you can enable auto-QoS on static, dynamic-access, voice VLAN access, and trunk ports. Add either 'switchport mode access' or 'switchport voice vlan' to the port. What is the port used for anyway ?
Thank you so much for your reply. The interface is used for user pc and ip phone. I am trying to test Qos in lab before pushing it to network. so i forgot to add data vlan and voice vlan.
So maybe after adding data vlan and voice vlan, the service-policy will get created? i am going to add these two vlan next day for test. Thank you!
i removed all configuration and add auto qos and vlan for voice and data at interface. the policy-map was not generated
Yes i erased start-config in nvram and reload it. then confirm all are gone. after that, i tested auto qos. all results are same as last time. tomorrow i will test it again