Tuesday, June 4, 2019

ShoreTel telephony woes...

Hi,

I have a Cisco 250 series switch (8 port), and it basically sits on my desk, connected into an access switch, and the port it's connected to is configured as a trunk port. It contains Vlan 45 (data), VLan 61 (Voice), and VLAN 30 (Mgmt - Also required because the management IP is on VL30)

Initially I thought "Oh I can just enable switchport voice vlan 61" and be done with it, but it appears you can't actually do that on this switch... I then messed about with the cables, and found that the phone said "vlan hopping to option 156 vlan" ...

I then looked here:

https://community.spiceworks.com/topic/387718-using-shoretel-phones-on-dhcp-and-vlan

This looked promising except for the fact that you can't enable dot1q ports in the "normal" Cisco way. I configured ports as "general" ports which appear to give a similar feature

Now what I have is essentially three ports for voice, and four for data, with one as the uplink. This isn't ideal as really we'd like to use the ShoreTel phones (IP 420, and IP 420) and free up a port too given that they too have their own network ports... What I'd like to do is make ALL ports useful for voice/data really...

If I changed the vlan autostate triggered event then the switch completely crashes..

My config is as follows:

sh run config-file-header redacted v2.4.0.94 / RTESLA2.4_930_181_045 CLI v1.0 file SSD indicator encrypted @ ssd-control-start ssd config ssd file passphrase control unrestricted no ssd file integrity control ssd-control-end cb0a3fdb1f3a1af4e4430033719968c0 ! ! unit-type-control-start unit-type unit 1 network gi uplink none unit-type-control-end ! spanning-tree loopback-guard vlan database vlan 30,45,61 exit voice vlan id 61 voice vlan state disabled voice vlan oui-table add 0001e3 Siemens_AG_phone________ voice vlan oui-table add 00036b Cisco_phone_____________ voice vlan oui-table add 00096e Avaya___________________ voice vlan oui-table add 000fe2 H3C_Aolynk______________ voice vlan oui-table add 001049 Mitel_phone_____________ voice vlan oui-table add 0060b9 Philips_and_NEC_AG_phone voice vlan oui-table add 00d01e Pingtel_phone___________ voice vlan oui-table add 00e075 Polycom/Veritel_phone___ voice vlan oui-table add 00e0bb 3Com_phone______________ loopback-detection enable green-ethernet energy-detect green-ethernet short-reach ip dhcp relay enable bonjour interface range vlan 1 ip access-list extended "IT-Infrastructure Access" exit hostname redacted ip ssh server clock timezone UTC 0 minutes 0 clock summer-time BST recurring last sun mar 02:00 last sun oct 02:00 sntp server 172.16.30.41 sntp server 172.16.30.42 sntp server 172.16.100.43 ip domain name redacted ! interface vlan 1 no ip address dhcp ! interface vlan 30 name Management ip address 172.16.108.52 255.255.255.0 ! interface vlan 45 name "IT Infrastructure" ! interface vlan 61 name "Voice VLAN" ip dhcp relay enable ! interface GigabitEthernet1 spanning-tree portfast spanning-tree port-priority 240 switchport mode general switchport general allowed vlan add 45,61 tagged green-ethernet energy-detect ! interface GigabitEthernet2 spanning-tree portfast spanning-tree port-priority 240 switchport mode general switchport general allowed vlan add 45,61 tagged green-ethernet energy-detect ! interface GigabitEthernet3 spanning-tree portfast spanning-tree port-priority 240 switchport mode general switchport general allowed vlan add 45,61 tagged green-ethernet energy-detect ! interface GigabitEthernet4 spanning-tree portfast spanning-tree port-priority 240 switchport access vlan 45 green-ethernet energy-detect ! interface GigabitEthernet5 spanning-tree portfast spanning-tree port-priority 240 switchport access vlan 45 green-ethernet energy-detect ! interface GigabitEthernet6 spanning-tree portfast spanning-tree port-priority 240 switchport access vlan 45 green-ethernet energy-detect ! interface GigabitEthernet7 spanning-tree portfast spanning-tree port-priority 240 switchport access vlan 45 green-ethernet energy-detect ! interface GigabitEthernet8 switchport mode trunk switchport access vlan 30 switchport trunk native vlan 30 switchport trunk allowed vlan remove 1 ! interface Port-Channel1 shutdown switchport access vlan 45 ! interface Port-Channel2 shutdown switchport access vlan 45 ! interface Port-Channel3 shutdown switchport access vlan 45 ! interface Port-Channel4 shutdown switchport access vlan 45 ! exit banner login ^C ****************************************************************************** * WARNING * IF YOU ARE NOT AUTHORISED TO ACCESS THIS SYSTEM EXIT IMMEDIATELY Unauthorised users are subject to criminal and civil penalties as well as company initiated disciplinary proceedings. By entry into this system you acknowledge that you are authorised to access it and have the level of privilege at which you subsequently operate on this system. You consent by entry into this system to the monitoring of your activities. ****************************************************************************** Access to this device is centrally managed. All access and changes to this device are logged. ^C banner exec ^C ############################################################################## This is a private system. If you have not been specifically authorised to access this system you must disconnect immediately. ^C macro auto built-in parameters desktop $max_hosts 10 $native_vlan 45 macro auto built-in parameters host $max_hosts 10 $native_vlan 45 macro auto built-in parameters ip_phone $max_hosts 10 $native_vlan 61 macro auto built-in parameters ip_phone_desktop $max_hosts 10 $native_vlan 61 ip default-gateway 172.16.108.254 


No comments:

Post a Comment