cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
5896
Views
0
Helpful
3
Replies

Cisco 3850 port setup for Yealink phones

fsimon
Level 1
Level 1

I have a new 3850 switch and am struggeling with the new auto port macros and qos seettings

 

 I am using Yealink t20P phones which support DSCP and LLDP

 

When I enable LLDP on the switch and phone, the phone is recognised as a cisco_phone and the appropriate macro set on the interface.

 

My confusion is that documentation for the commands

trust device cisco-phone

auto qos voip cisco-phone

service-policy input AutoQos-4.0-CiscoPhone-Input-Policy

which are all applied by the macro, suggest that the phone should be running CDP to work properly.

This phone does not sent CDP packets, so my concern is that the port is not properly set for use.

An alternative view could be that the switch takes LLDP packets as equivalent to CDP and so makes the correct configuration assumptions for QOS

 

Can someone who understands how these things should be set for new IOS-XE switches please comment

 

switch is WS-C3850-48U IOS-XE version 16.6.2

Phone is Yealink T20P

1 Accepted Solution

Accepted Solutions

Thats really up to you i suppose which is easier less time consuming , personally i would just manually configure it the same as the macro just not use the cisco-phone command , change that to the trust dscp so it honours your dscp marking the phone is setting , you can copy it to text pad and then just paste it back into each port or create a custom macro that will work when connected automatically

View solution in original post

3 Replies 3

Mark Malone
VIP Alumni
VIP Alumni
if the phone is marking itself with an EF tag then just set the access port to auto qos trust dscp , I wouldn't use that as its using auto qos cisco-phone on a non cisco device so its looking for CDP packets , if your phone is marking at source like most phones do with an EF tag then the auto qos trust dscp is enough for it to work

look at this doc , depending on what way you set the port depends on the class map that will be generated with your device

https://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst3850/software/release/3se/qos/configuration_guide/b_qos_3se_3850_cg/b_qos_3se_3850_cg_chapter_0100.html#d5298e1455a1635

Thanks for quick reply, The phone is marking traffic as EF

Are you suggesting I don't use auto smartport macros and configure the port by hand  or are you recommending that I edit the default macro to replace the line  auto qos cisco-phone with auto qos trust dscp

 

The current macro that is applied when the phone is detected is

 

 interface  $INTERFACE
  macro description $TRIGGER
  switchport access vlan $ACCESS_VLAN
  switchport mode access
  switchport block unicast
  switchport voice vlan $VOICE_VLAN
  switchport port-security maximum 3
  switchport port-security maximum 2 vlan access
  switchport port-security
  switchport port-security aging time 1
  switchport port-security violation restrict
  switchport port-security aging type inactivity
  load-interval 30
  auto qos voip cisco-phone
  storm-control broadcast level pps 1k
  storm-control multicast level pps 2k
  storm-control action trap
  spanning-tree portfast
  spanning-tree bpduguard enable
  ip dhcp snooping limit rate 15
exit

Thats really up to you i suppose which is easier less time consuming , personally i would just manually configure it the same as the macro just not use the cisco-phone command , change that to the trust dscp so it honours your dscp marking the phone is setting , you can copy it to text pad and then just paste it back into each port or create a custom macro that will work when connected automatically