cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
7668
Views
5
Helpful
4
Replies

SG350 Switch Voice Vlan Configuration Issues

amalmichaelvj
Level 1
Level 1

Hello ,

Someone please help me to completed the Voice Vlan Configuration in Cisco Sg350 Switch..

MY Scenario,I need Two Vlan, Vlan2  For data and Vlan3 For Voice Traffic..I created Two Vlans in my Fortigate 60e Firewall as subinterface vlan tag..Configured two diffenet dhcp pools also.Connected the interface to Cisco SG350 Switch,configured trunk interface allowed vlan 2,3...At this point All configurations are correct..

 

Problems is that my machines which are in VLAN2 not getting Ip address,but Phones are getting ip Adresss..Port 4,8,13 17,21 etc which works for both phones aswell as data have this issue..I tried to find out Isuue,But Couldnot able to resolve..

 

 

 

switch282d59#show running-config
config-file-header
switch282d59
v2.2.8.4 / RTESLA2.2.8_810_225_003
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
!
vlan database
vlan 2-3
exit
voice vlan id 3
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______________
bonjour interface range vlan 1
hostname switch282d59
ip telnet server
!
interface vlan 2
name Data
ip address 192.168.2.2 255.255.255.0
!
interface vlan 3
name Voice
ip address 192.168.3.2 255.255.255.0
!
interface GigabitEthernet1
switchport access vlan 2
!
interface GigabitEthernet2
switchport access vlan 2
!
interface GigabitEthernet3
switchport access vlan 2
!
interface GigabitEthernet4
storm-control broadcast level 10
storm-control multicast level 10
port security max 10
port security mode max-addresses
port security discard trap 60
spanning-tree portfast
spanning-tree bpduguard enable
switchport mode trunk
switchport access vlan 2
macro description ip_phone
!next command is internal.
macro auto smartport dynamic_type ip_phone
!
interface GigabitEthernet5
switchport access vlan 2
!
interface GigabitEthernet6
switchport access vlan 2
!
interface GigabitEthernet7
switchport access vlan 2
!
interface GigabitEthernet8
storm-control broadcast level 10
storm-control multicast level 10
port security max 10
port security mode max-addresses
port security discard trap 60
spanning-tree portfast
spanning-tree bpduguard enable
switchport mode trunk
switchport access vlan 2
macro description ip_phone
!next command is internal.
macro auto smartport dynamic_type ip_phone
!

interface GigabitEthernet9
switchport access vlan 2
!
interface GigabitEthernet10
switchport access vlan 2
!
interface GigabitEthernet11
switchport access vlan 2
!
interface GigabitEthernet12
switchport access vlan 2
!
interface GigabitEthernet13
storm-control broadcast level 10
storm-control multicast level 10
port security max 10
port security mode max-addresses
port security discard trap 60
spanning-tree portfast
spanning-tree bpduguard enable
switchport mode trunk
switchport access vlan 2
macro description ip_phone
!next command is internal.
macro auto smartport dynamic_type ip_phone
!
interface GigabitEthernet14
switchport access vlan 2
!
interface GigabitEthernet15
switchport access vlan 2
!
interface GigabitEthernet16
switchport access vlan 2
!
interface GigabitEthernet17
storm-control broadcast level 10
storm-control multicast level 10
port security max 10
port security mode max-addresses
port security discard trap 60
spanning-tree portfast
spanning-tree bpduguard enable
switchport mode trunk
switchport access vlan 2
macro description ip_phone
!next command is internal.
macro auto smartport dynamic_type ip_phone
!
interface GigabitEthernet18
switchport access vlan 2
!
interface GigabitEthernet19
switchport access vlan 2
!
interface GigabitEthernet20
switchport access vlan 2
!
interface GigabitEthernet21
storm-control broadcast level 10
storm-control multicast level 10
port security max 10
port security mode max-addresses
port security discard trap 60
spanning-tree portfast
spanning-tree bpduguard enable
switchport mode trunk
switchport access vlan 2
macro description ip_phone
!next command is internal.
macro auto smartport dynamic_type ip_phone
!
interface GigabitEthernet22
storm-control broadcast level 10
storm-control multicast level 10
port security max 10
port security mode max-addresses
port security discard trap 60
spanning-tree portfast
spanning-tree bpduguard enable
switchport mode trunk
switchport access vlan 2
macro description ip_phone
!next command is internal.
macro auto smartport dynamic_type ip_phone
!
interface GigabitEthernet23
storm-control broadcast level 10
storm-control multicast level 10
port security max 10
port security mode max-addresses
port security discard trap 60
spanning-tree portfast
spanning-tree bpduguard enable
switchport mode trunk
switchport access vlan 2
macro description ip_phone
!next command is internal.
macro auto smartport dynamic_type ip_phone
!
interface GigabitEthernet24
switchport access vlan 2
!
interface GigabitEthernet25
switchport mode trunk
!
interface GigabitEthernet26
spanning-tree link-type point-to-point
switchport mode trunk
macro description switch
!next command is internal.
macro auto smartport dynamic_type switch
!
exit

 

 

Port 8,13 etc which works for both phones aswell as data have this issue..

please help me to solve the issue..

 

(config)#voice vlan id 3,enabled auto voice vlan feature also..

this command also given,still not working..

4 Replies 4

Seb Rupik
VIP Alumni
VIP Alumni

Hi there,

This may be as simple as the switchports taking to long to reach a forwarding state and your DHCP clients timing out.

 

On all you user switchports add the following:

!
int range GigabitEthernet 1-24
  spanning-tree portfast
!

cheers,

Seb.

Deepak Kumar
VIP Alumni
VIP Alumni

Hi,

Make changes as shown in the bold:

 

interface GigabitEthernet4
storm-control broadcast level 10
storm-control multicast level 10
port security max 10
port security mode max-addresses
port security discard trap 60
spanning-tree portfast
spanning-tree bpduguard enable
switchport mode trunk

switchport trunk allowed vlan 2,3

switchport trunk native vlan 2
no switchport access vlan 2
macro description ip_phone
!next command is internal.
macro auto smartport dynamic_type ip_phone

 

Regards,

Deepak Kumar

Regards,
Deepak Kumar,
Don't forget to vote and accept the solution if this comment will help you!

CSCO12094806
Level 1
Level 1

Hi amalmichaelvj,

 

Myself also facing this kind of problem, may i know how you resolve the same?

 

sg350 auto config voip port when you connect the ip-phone , you just config interface port on switchport mode access again.

ex: interface gigabitethenet23

switchport mode access

 

try it.