01-08-2022 03:43 AM
hello guys,
i have a cisco cbs250 managed switch and i want to configure the ports for both access and voice. i have a vlan 10 for data and i have set up a dhcp server on the core switch to give the pc an ip address. i have another vlan 50 for voice and whenever i plugged them both on the port one of them got disconnected, i tried this method https://www.cisco.com/c/en/us/support/docs/smb/switches/Cisco-Business-Switching/kmgmt-2258-voice-vlan-configuration-on-the-cbs250-350-series-switches.html and it worked just fined, however, the vlan 10 not working anymore! i start getting ip from the default vlan 1 subnet.
01-08-2022 03:55 AM
i will advise disabling smart port globally :
Save and commit and reboot the device, and configure voice and data VLAN and test it
still issue post-show run config from the command line.
01-08-2022 11:03 PM
i still have same issue,
whenever i try to add both ports (10) for data and (50) for voice i got the vlan 10 disconnected with (UI) tag next to the vlan meaning untagged, inactive.
below are screenshot and running config. (im running my config on port gi8 and do my testing on this specific port.
switch1-m
v3.0.0.69 / RCBS3.0_930_770_008
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 10,50
exit
voice vlan id 50
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 switch1-m
username admin password encrypted $15$14ooujlavj3FuhYF$4gWJbm/6VDOK7KIZ5UmVwh4JanmcaZHFZL90bOpkh9EgwyQj/pd/x/IntWdziIRONxbOf7hkNydHflXIlXA31A== privilege 15
ip telnet server
!
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
switchport mode trunk
switchport trunk allowed vlan 1,50
macro description ip_phone_desktop
!next command is internal.
macro auto smartport dynamic_type ip_phone_desktop
!
interface GigabitEthernet6
spanning-tree link-type point-to-point
switchport mode trunk
macro description switch
!next command is internal.
macro auto smartport dynamic_type switch
!
interface GigabitEthernet7
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
switchport mode trunk
switchport trunk allowed vlan 1,50
macro description ip_phone_desktop
!next command is internal.
macro auto smartport dynamic_type ip_phone_desktop
!
interface GigabitEthernet8
spanning-tree link-type point-to-point
switchport mode trunk
switchport general allowed vlan add 10 untagged
switchport access vlan 10
switchport general pvid 10
switchport trunk native vlan 10
switchport trunk allowed vlan 50
macro description switch
!next command is internal.
macro auto smartport dynamic_type switch
!
interface GigabitEthernet11
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
switchport mode trunk
switchport trunk allowed vlan 1,50
macro description ip_phone_desktop
!next command is internal.
macro auto smartport dynamic_type ip_phone_desktop
!
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
switchport mode trunk
switchport trunk allowed vlan 1,50
macro description ip_phone_desktop
!next command is internal.
macro auto smartport dynamic_type ip_phone_desktop
!
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
switchport mode trunk
switchport trunk allowed vlan 1,50
macro description ip_phone_desktop
!next command is internal.
macro auto smartport dynamic_type ip_phone_desktop
!
interface GigabitEthernet19
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
switchport mode trunk
switchport trunk allowed vlan 1,50
macro description ip_phone_desktop
!next command is internal.
macro auto smartport dynamic_type ip_phone_desktop
!
interface GigabitEthernet25
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
switchport mode trunk
switchport trunk allowed vlan 1,50
macro description ip_phone_desktop
!next command is internal.
macro auto smartport dynamic_type ip_phone_desktop
!
interface GigabitEthernet26
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
switchport mode trunk
switchport trunk allowed vlan 1,50
macro description ip_phone_desktop
!next command is internal.
macro auto smartport dynamic_type ip_phone_desktop
!
interface GigabitEthernet27
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
switchport mode trunk
switchport access vlan 10
switchport trunk allowed vlan 1,50
macro description ip_phone_desktop
!next command is internal.
macro auto smartport dynamic_type ip_phone_desktop
!
interface GigabitEthernet29
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
switchport mode trunk
switchport trunk allowed vlan 1,50
macro description ip_phone_desktop
!next command is internal.
macro auto smartport dynamic_type ip_phone_desktop
!
interface GigabitEthernet30
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
switchport mode trunk
switchport trunk allowed vlan 1,50
macro description ip_phone_desktop
!next command is internal.
macro auto smartport dynamic_type ip_phone_desktop
!
interface GigabitEthernet32
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
switchport mode trunk
switchport trunk allowed vlan 1,50
macro description ip_phone_desktop
!next command is internal.
macro auto smartport dynamic_type ip_phone_desktop
!
interface GigabitEthernet34
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
switchport mode trunk
switchport trunk allowed vlan 1,50
macro description ip_phone_desktop
!next command is internal.
macro auto smartport dynamic_type ip_phone_desktop
!
interface GigabitEthernet35
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
switchport mode trunk
switchport trunk allowed vlan 1,50
macro description ip_phone_desktop
!next command is internal.
macro auto smartport dynamic_type ip_phone_desktop
!
interface GigabitEthernet36
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
switchport mode trunk
switchport trunk allowed vlan 1,50
macro description ip_phone_desktop
!next command is internal.
macro auto smartport dynamic_type ip_phone_desktop
!
interface GigabitEthernet37
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
switchport mode trunk
switchport trunk allowed vlan 1,50
macro description ip_phone_desktop
!next command is internal.
macro auto smartport dynamic_type ip_phone_desktop
!
interface GigabitEthernet42
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
switchport mode trunk
switchport trunk allowed vlan 1,50
macro description ip_phone_desktop
!next command is internal.
macro auto smartport dynamic_type ip_phone_desktop
!
interface GigabitEthernet43
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
switchport mode trunk
switchport trunk allowed vlan 1,50
macro description ip_phone_desktop
!next command is internal.
macro auto smartport dynamic_type ip_phone_desktop
!
interface GigabitEthernet44
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
switchport mode trunk
switchport trunk allowed vlan 1,50
macro description ip_phone_desktop
!next command is internal.
macro auto smartport dynamic_type ip_phone_desktop
!
interface GigabitEthernet45
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
switchport mode trunk
switchport trunk allowed vlan 1,50
macro description ip_phone_desktop
!next command is internal.
macro auto smartport dynamic_type ip_phone_desktop
!
interface GigabitEthernet51
spanning-tree link-type point-to-point
switchport mode trunk
macro description switch
!next command is internal.
macro auto smartport dynamic_type switch
!
exit
10-26-2022 12:13 PM
try this step:
vlan 10 data
vlan 20 voice
remember put the vlan 20 to the phone..let me know..
my email: the_ronal01@hotmail.com
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide