10-29-2016 10:52 AM - last edited on 03-25-2019 03:10 PM by ciscomoderator
When I connect voice and data, running DHCP from the SG300, the VoIP phones keep their IP's but the PC cannot obtain DHCP IP's, error I get is duplicate IP's on the data vlan, which I also use for managing the switch. Any ideas?
Current setup: SG300-52MP connected via fiber to 6500 Cisco switch
Switch Config: updated with latest IOS
set system mode router
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 344-345
exit
voice vlan id 345
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______________
ip dhcp snooping
errdisable recovery cause port-security
ip dhcp server
ip dhcp excluded-address 192.168.234.129 192.168.234.140
ip dhcp excluded-address 192.168.234.193 192.168.234.200
ip dhcp pool network DATA
address low 192.168.234.129 high 192.168.234.190 255.255.255.192
domain-name cisco.com
default-router 192.168.234.129
dns-server >>>>>>>>>>>>>>>>>...
netbios-name-server >>>>>>>>>>>>>>>>>>>>
exit
ip dhcp pool network VOICE
address low 192.168.234.193 high 192.168.234.254 255.255.255.192
domain-name 192.168.250.54
default-router 192.168.234.193
dns-server 192.168.250.34
exit
ip dhcp relay address 192.168.234.129
ip dhcp information option
bonjour interface range vlan 1
ip access-list extended 1
exit
hostname COSW
management access-list All-Access
permit
exit
username cisco password encrypted abcdef123 privilege 15
ip ssh server
clock timezone " " 1
clock source sntp
clock source browser
sntp unicast client enable
sntp unicast client poll
ip domain name cisco.com
ip domain timeout 2
ip domain retry 1
ip telnet server
security-suite enable
security-suite dos protect add stacheldraht
security-suite dos protect add invasor-trojan
security-suite dos protect add back-orifice-trojan
!
interface vlan 1
no ip address dhcp
!
interface vlan 344
name DATA
ip address 192.168.234.129 255.255.255.192
!
interface vlan 345
name VOICE
ip address 192.168.234.193 255.255.255.192
!
interface gigabitethernet1
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
switchport trunk allowed vlan add 345
switchport trunk native vlan 344
macro description ip_phone_desktop
macro auto smartport type ip_phone_desktop $max_hosts 10 $native_vlan 344
!
interface gigabitethernet2
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
switchport trunk allowed vlan add 345
switchport trunk native vlan 344
macro description ip_phone_desktop
macro auto smartport type ip_phone_desktop $max_hosts 10 $native_vlan 344
!
interface gigabitethernet3
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
switchport trunk allowed vlan add 345
switchport trunk native vlan 344
macro description ip_phone_desktop
macro auto smartport type ip_phone_desktop $max_hosts 10 $native_vlan 344
!
interface gigabitethernet4
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
switchport trunk allowed vlan add 345
switchport trunk native vlan 344
macro description ip_phone_desktop
macro auto smartport type ip_phone_desktop $max_hosts 10 $native_vlan 344
!
interface gigabitethernet5
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
switchport trunk allowed vlan add 345
switchport trunk native vlan 344
macro description ip_phone_desktop
macro auto smartport type ip_phone_desktop $max_hosts 10 $native_vlan 344
!
interface gigabitethernet6
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
switchport trunk allowed vlan add 345
switchport trunk native vlan 344
macro description ip_phone_desktop
macro auto smartport type ip_phone_desktop $max_hosts 10 $native_vlan 344
!
interface gigabitethernet7
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
switchport trunk allowed vlan add 345
switchport trunk native vlan 344
macro description ip_phone_desktop
macro auto smartport type ip_phone_desktop $max_hosts 10 $native_vlan 344
!
interface gigabitethernet8
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
switchport trunk allowed vlan add 345
switchport trunk native vlan 344
macro description ip_phone_desktop
macro auto smartport type ip_phone_desktop $max_hosts 10 $native_vlan 344
!
interface gigabitethernet9
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
switchport trunk allowed vlan add 345
switchport trunk native vlan 344
macro description ip_phone_desktop
macro auto smartport type ip_phone_desktop $max_hosts 10 $native_vlan 344
!
interface gigabitethernet10
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
switchport trunk allowed vlan add 345
switchport trunk native vlan 344
macro description ip_phone_desktop
macro auto smartport type ip_phone_desktop $max_hosts 10 $native_vlan 344
!
interface gigabitethernet11
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
switchport trunk allowed vlan add 345
switchport trunk native vlan 344
macro description ip_phone_desktop
macro auto smartport type ip_phone_desktop $max_hosts 10 $native_vlan 344
!
interface gigabitethernet12
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
switchport trunk allowed vlan add 345
switchport trunk native vlan 344
macro description ip_phone_desktop
macro auto smartport type ip_phone_desktop $max_hosts 10 $native_vlan 344
!
interface gigabitethernet13
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
switchport trunk allowed vlan add 345
switchport trunk native vlan 344
macro description ip_phone_desktop
macro auto smartport type ip_phone_desktop $max_hosts 10 $native_vlan 344
!
interface gigabitethernet14
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
switchport trunk allowed vlan add 345
switchport trunk native vlan 344
macro description ip_phone_desktop
macro auto smartport type ip_phone_desktop $max_hosts 10 $native_vlan 344
!
interface gigabitethernet15
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
switchport trunk allowed vlan add 345
switchport trunk native vlan 344
macro description ip_phone_desktop
macro auto smartport type ip_phone_desktop $max_hosts 10 $native_vlan 344
!
interface gigabitethernet16
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
switchport trunk allowed vlan add 345
switchport trunk native vlan 344
macro description ip_phone_desktop
macro auto smartport type ip_phone_desktop $max_hosts 10 $native_vlan 344
!
interface gigabitethernet17
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
switchport trunk allowed vlan add 345
switchport trunk native vlan 344
macro description ip_phone_desktop
macro auto smartport type ip_phone_desktop $max_hosts 10 $native_vlan 344
!
interface gigabitethernet18
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
switchport trunk allowed vlan add 345
switchport trunk native vlan 344
macro description ip_phone_desktop
macro auto smartport type ip_phone_desktop $max_hosts 10 $native_vlan 344
!
interface gigabitethernet19
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
switchport trunk allowed vlan add 345
switchport trunk native vlan 344
macro description ip_phone_desktop
macro auto smartport type ip_phone_desktop $max_hosts 10 $native_vlan 344
!
interface gigabitethernet20
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
switchport trunk allowed vlan add 345
switchport trunk native vlan 344
macro description ip_phone_desktop
macro auto smartport type ip_phone_desktop $max_hosts 10 $native_vlan 344
!
interface gigabitethernet21
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
switchport trunk allowed vlan add 345
switchport trunk native vlan 344
macro description ip_phone_desktop
macro auto smartport type ip_phone_desktop $max_hosts 10 $native_vlan 344
!
interface gigabitethernet22
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
switchport trunk allowed vlan add 345
switchport trunk native vlan 344
macro description ip_phone_desktop
macro auto smartport type ip_phone_desktop $max_hosts 10 $native_vlan 344
!
interface gigabitethernet23
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
switchport trunk allowed vlan add 345
switchport trunk native vlan 344
macro description ip_phone_desktop
macro auto smartport type ip_phone_desktop $max_hosts 10 $native_vlan 344
!
interface gigabitethernet24
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
switchport trunk allowed vlan add 345
switchport trunk native vlan 344
macro description ip_phone_desktop
macro auto smartport type ip_phone_desktop $max_hosts 10 $native_vlan 344
!
interface gigabitethernet25
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
switchport trunk allowed vlan add 345
switchport trunk native vlan 344
macro description ip_phone_desktop
macro auto smartport type ip_phone_desktop $max_hosts 10 $native_vlan 344
!
interface gigabitethernet26
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
switchport trunk allowed vlan add 345
switchport trunk native vlan 344
macro description ip_phone_desktop
macro auto smartport type ip_phone_desktop $max_hosts 10 $native_vlan 344
!
interface gigabitethernet27
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
switchport trunk allowed vlan add 345
switchport trunk native vlan 344
macro description ip_phone_desktop
macro auto smartport type ip_phone_desktop $max_hosts 10 $native_vlan 344
!
interface gigabitethernet28
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
switchport trunk allowed vlan add 345
switchport trunk native vlan 344
macro description ip_phone_desktop
macro auto smartport type ip_phone_desktop $max_hosts 10 $native_vlan 344
!
interface gigabitethernet29
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
switchport trunk allowed vlan add 345
switchport trunk native vlan 344
macro description ip_phone_desktop
macro auto smartport type ip_phone_desktop $max_hosts 10 $native_vlan 344
!
interface gigabitethernet30
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
switchport trunk allowed vlan add 345
switchport trunk native vlan 344
macro description ip_phone_desktop
macro auto smartport type ip_phone_desktop $max_hosts 10 $native_vlan 344
!
interface gigabitethernet31
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
switchport trunk allowed vlan add 345
switchport trunk native vlan 344
macro description ip_phone_desktop
macro auto smartport type ip_phone_desktop $max_hosts 10 $native_vlan 344
!
interface gigabitethernet32
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
switchport trunk allowed vlan add 345
switchport trunk native vlan 344
macro description ip_phone_desktop
macro auto smartport type ip_phone_desktop $max_hosts 10 $native_vlan 344
!
interface gigabitethernet33
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
switchport trunk allowed vlan add 345
switchport trunk native vlan 344
macro description ip_phone_desktop
macro auto smartport type ip_phone_desktop $max_hosts 10 $native_vlan 344
!
interface gigabitethernet34
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
switchport trunk allowed vlan add 345
switchport trunk native vlan 344
macro description ip_phone_desktop
macro auto smartport type ip_phone_desktop $max_hosts 10 $native_vlan 344
!
interface gigabitethernet35
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
switchport trunk allowed vlan add 345
switchport trunk native vlan 344
macro description ip_phone_desktop
macro auto smartport type ip_phone_desktop $max_hosts 10 $native_vlan 344
!
interface gigabitethernet36
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
switchport trunk allowed vlan add 345
switchport trunk native vlan 344
macro description ip_phone_desktop
macro auto smartport type ip_phone_desktop $max_hosts 10 $native_vlan 344
!
interface gigabitethernet37
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
switchport trunk allowed vlan add 345
switchport trunk native vlan 344
macro description ip_phone_desktop
macro auto smartport type ip_phone_desktop $max_hosts 10 $native_vlan 344
!
interface gigabitethernet38
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
switchport trunk allowed vlan add 345
switchport trunk native vlan 344
macro description ip_phone_desktop
macro auto smartport type ip_phone_desktop $max_hosts 10 $native_vlan 344
!
interface gigabitethernet39
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
switchport trunk allowed vlan add 345
switchport trunk native vlan 344
macro description ip_phone_desktop
macro auto smartport type ip_phone_desktop $max_hosts 10 $native_vlan 344
!
interface gigabitethernet40
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
switchport trunk allowed vlan add 345
switchport trunk native vlan 344
macro description ip_phone_desktop
macro auto smartport type ip_phone_desktop $max_hosts 10 $native_vlan 344
!
interface gigabitethernet41
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
switchport trunk allowed vlan add 345
switchport trunk native vlan 344
macro description ip_phone_desktop
macro auto smartport type ip_phone_desktop $max_hosts 10 $native_vlan 344
!
interface gigabitethernet42
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
switchport trunk allowed vlan add 345
switchport trunk native vlan 344
macro description ip_phone_desktop
macro auto smartport type ip_phone_desktop $max_hosts 10 $native_vlan 344
!
interface gigabitethernet43
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
switchport trunk allowed vlan add 345
switchport trunk native vlan 344
macro description ip_phone_desktop
macro auto smartport type ip_phone_desktop $max_hosts 10 $native_vlan 344
!
interface gigabitethernet44
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
switchport trunk allowed vlan add 345
switchport trunk native vlan 344
macro description ip_phone_desktop
macro auto smartport type ip_phone_desktop $max_hosts 10 $native_vlan 344
!
interface gigabitethernet45
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
switchport trunk allowed vlan add 345
switchport trunk native vlan 344
macro description ip_phone_desktop
macro auto smartport type ip_phone_desktop $max_hosts 10 $native_vlan 344
!
interface gigabitethernet46
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
switchport trunk allowed vlan add 345
switchport trunk native vlan 344
macro description ip_phone_desktop
macro auto smartport type ip_phone_desktop $max_hosts 10 $native_vlan 344
!
interface gigabitethernet47
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
switchport trunk allowed vlan add 345
switchport trunk native vlan 344
macro description ip_phone_desktop
macro auto smartport type ip_phone_desktop $max_hosts 10 $native_vlan 344
!
interface gigabitethernet48
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
switchport trunk allowed vlan add 345
switchport trunk native vlan 344
macro description ip_phone_desktop
macro auto smartport type ip_phone_desktop $max_hosts 10 $native_vlan 344
!
interface gigabitethernet51
spanning-tree link-type point-to-point
switchport forbidden vlan add 345
macro description switch
!next command is internal.
macro auto smartport dynamic_type unknown
!
interface gigabitethernet52
description LINK-TO-HQ
spanning-tree link-type point-to-point
switchport trunk allowed vlan add 344-345
macro description "no_switch | switch"
!next command is internal.
macro auto smartport dynamic_type switch
!
exit
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