cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1772
Views
0
Helpful
1
Replies

SG300-10PP VLAN setup -- Phone + Desktop

perrymcgrew
Beginner
Beginner

First, I found a 3 year old post on Voice VLAN setup with SG300.   I still can't seem to get it to work.  I am not a fan of these GUI setups!  I need some help to set this switch up correctly -- I have tried the smartports and CLI. 

 

On the SG300 I have a trunk set up on Gi10 that is connected to a 3560G trunk port (which has all the corporate VLANs).  The PC Vlan is VLAN 130 and the Voice Vlan is 270.  I will have Cisco VoIP phones connected to SG300's Gi1 - Gi9.  Some of the Cisco phones will have PCs connected through them as well.  

I am testing with a Cisco 7942 but when I connect it to any of the SG300 Gi1-9 ports it just sits and spins on "Configuring IP".   I have SSH'd into the SG300 and here is the config....  any ideas on what needs to be changed to make this work?   We run VTP in our network -- and I have read somewhere that these SG300's may not support VTP -- so I am wondering if this it the root cause...

Thx --- Perry

IT-SG300-SW1#sh run br
config-file-header
IT-SG300-SW1
v1.4.0.88 / R800_NIK_1_4_194_194
CLI v1.0
set system mode switch

file SSD indicator encrypted
@
ssd-control-start
ssd config
ssd file passphrase control unrestricted
no ssd file integrity control
ssd-control-end cb0a3fdb1f3a1af4e4430033719968c0
!
vlan database
vlan 130,270
exit
voice vlan id 270
voice vlan state auto-enabled
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 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______________
errdisable recovery cause port-security
errdisable recovery cause dot1x-src-address
errdisable recovery cause stp-bpdu-guard
errdisable recovery cause stp-loopback-guard
errdisable recovery cause udld
qos advanced
hostname IT-SG300-SW1
line console
exec-timeout 30
exit
line ssh
exec-timeout 30
exit
line telnet
exec-timeout 30
exit
line console
no autobaud                                          
exit
line console
speed 9600
exit
management access-list SSH
permit service ssh
exit
management access-list SNMP
permit service snmp
exit
management access-list HTTPS
permit service https
exit
logging host 192.168.0.4 severity warnings
logging origin-id hostname
passwords complexity min-length 0
passwords complexity min-classes 0
no passwords complexity not-current
passwords aging 0
username admin password encrypted xxxx privilege 15
username cisco password encrypted xxxx privilege 15
ip ssh server                                        
ip ssh password-auth
snmp-server server
snmp-server engineID local 8000000903346f9031c373
snmp-server location Loretto
snmp-server contact "IT Help DeskL 555-1234"
snmp-server community public ro view Default
snmp-server community abcdef rw view Default
ip http timeout-policy 1800
no ip http server
clock timezone " " -5
clock summer-time web recurring usa
clock source sntp
sntp unicast client enable
sntp unicast client poll
sntp server 192.168.0.254 poll
ip domain name mydomain.org
ip name-server  192.168.8.1 192.168.8.2
ip domain timeout 2
ip domain retry 1
!                                                    
interface vlan 1
 ip address 192.168.0.2 255.255.255.0
 no ip address dhcp
!
interface vlan 130
 name Data
!
interface vlan 270
 name VoIP
!
interface gigabitethernet1
 description Desk+Phone
 storm-control broadcast enable
 storm-control broadcast level 10
 storm-control include-multicast
 port security max 10
 port security mode max-addresses
 port security discard trap 60
 spanning-tree portfast
 qos cos 5
 switchport trunk allowed vlan add 270
 switchport trunk native vlan 130                    
 macro description "ip_phone_desktop    "
 !next command is internal.
 macro auto smartport dynamic_type ip_phone_desktop $max_hosts 10 $native_vlan 130
!
interface gigabitethernet2
 description Desk+Phone
 storm-control broadcast enable
 storm-control broadcast level 10
 storm-control include-multicast
 port security max 10
 port security mode max-addresses
 port security discard trap 60
 spanning-tree portfast
 qos cos 5
 switchport trunk allowed vlan add 270
 switchport trunk native vlan 130
 macro description ip_phone_desktop
 macro auto smartport type ip_phone_desktop $max_hosts 10 $native_vlan 130
!
interface gigabitethernet3
 description Desk+Phone
 qos cos 5                                           
!
interface gigabitethernet4
 description Desk+Phone
 spanning-tree portfast
 qos cos 5
 switchport trunk allowed vlan add 270
 switchport trunk native vlan 130
!
interface gigabitethernet5
 description Desk+Phone
 spanning-tree portfast
 qos cos 5
 switchport trunk allowed vlan add 270
 switchport trunk native vlan 130
!
interface gigabitethernet6
 description Desk+Phone
 spanning-tree portfast
 qos cos 5
 switchport trunk allowed vlan add 270
 switchport trunk native vlan 130
!                                                    
interface gigabitethernet7
 description Desk+Phone
 spanning-tree portfast
 qos cos 5
 switchport trunk allowed vlan add 270
 switchport trunk native vlan 130
!
interface gigabitethernet8
 description Desk+Phone
 spanning-tree portfast
 qos cos 5
 switchport trunk allowed vlan add 270
 switchport trunk native vlan 130
!
interface gigabitethernet9
 description Desk+Phone
 spanning-tree portfast
 qos cos 5
 switchport trunk allowed vlan add 270
 switchport trunk native vlan 130
!
interface gigabitethernet10                          
 description "TRUNK PORT TO SWITCH"
 spanning-tree link-type point-to-point
 switchport trunk allowed vlan add 130,270
 macro description switch
 !next command is internal.
 macro auto smartport dynamic_type switch
!
exit
macro auto built-in parameters printer $native_vlan 130
macro auto built-in parameters desktop $max_hosts 10 $native_vlan 130
macro auto built-in parameters server $max_hosts 10 $native_vlan 130
macro auto built-in parameters host $max_hosts 10 $native_vlan 130
macro auto built-in parameters ip_camera $native_vlan 130
macro auto built-in parameters ip_phone $max_hosts 10 $native_vlan 130
macro auto built-in parameters ip_phone_desktop $max_hosts 10 $native_vlan 130
ip default-gateway 192.168.0.254

1 Reply 1

Aleksandra Dargiel
Cisco Employee
Cisco Employee

Hi Perry,

Indeed Small Business switches do not support VTP however I can see that you have configured trunk with respective VLANs on gi10. 

as the first step I would recommend you to get mac address table and check the phone port as well as uplink port just to verify if phone mac address is in VLAN 270. This way you can exclude one side of the problem. 

The fact is that phone needs to start tagging traffic with VLAN270 and it learns about voice vlan by CDP or LLDP. But if this is the problem we can confirm after seeing mac table of SG300.

Also it is a good practice to ensure you have latest firmware and boot code: 

https://software.cisco.com/download/release.html?mdfid=284852358&softwareid=282463181&release=1.4.1.03&relind=AVAILABLE&rellifecycle=&reltype=latest

Regards,

Aleksandra

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: