cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
networknewbie
New Contributor

VLan using LLDP

As my name suggests, I am new to this VLAN configuration. I currently have 2 networks in my place of business. I am needing to connect both of them to one switch. and have the Switch handle DHCP. The Switch has to determine if it is VOIP or another device and assign the IP Address appropriately.

My Current Configuration looks as follows

Building configuration...
!
!
! ADTRAN, Inc. OS version BVS1.0
! Boot ROM version BVS1.0
! Platform: NetVanta 1550-48P, part number 17101548PF1
! Serial number LBADTN1835AE091
!
!
hostname "Switch"
!
clock timezone -6-Central-Time
!
ip subnet-zero
ip classless
ip routing
no domain-lookup
name-server BLOCKED BLOCKED
!
!
ip route-cache express
!
no auto-config
!
event-history on
no logging forwarding
no logging email
!
no service password-encryption
!
username "admin" password "password"
!
!
!
!
!
!
no dot11ap access-point-control

no dos-protection

no desktop-auditing dhcp

no network-forensics ip dhcp
!
!
!
!
!
ip dhcp pool "VLAN 10 VOIP"
  network BLOCKED 255.255.255.0
  default-router BLOCKED
!
ip dhcp pool "VLAN 1 (Default)"
  network BLOCKED 255.255.255.0
  default-router BLOCKED
!
qos cos-map 1 0 1
qos cos-map 2 2 4
qos cos-map 3 3 6
qos cos-map 4 5 7
qos queue-type wrr 25 25 25 expedite
!
!
!
!
!
vlan 1
  name "Default"
!
vlan 10
  name "Voice Over IP"
!
interface gigabit-switchport 0/1
  description Data and Voice
  spanning-tree edgeport
  no shutdown
  switchport voice vlan 10
  qos trust cos
  switchport port-security
  switchport port-security maximum 2
!
interface gigabit-switchport 0/2
  description voice
  spanning-tree edgeport
  no shutdown
  switchport voice vlan 10
  qos trust cos
  switchport port-security
  switchport port-security maximum 2
!
interface gigabit-switchport 0/3
  description voice
  spanning-tree edgeport
  no shutdown
  switchport voice vlan 10
  qos trust cos
  switchport port-security
  switchport port-security maximum 2
!
interface gigabit-switchport 0/4
  description voice
  spanning-tree edgeport
  no shutdown
  switchport voice vlan 10
  qos trust cos
  switchport port-security
  switchport port-security maximum 2
!
interface gigabit-switchport 0/5
  description Data & Voice
  spanning-tree edgeport
  no shutdown
  switchport access vlan 10
  qos trust cos
  switchport port-security
!
interface gigabit-switchport 0/6
  description voice
  spanning-tree edgeport
  no shutdown
  switchport voice vlan 10
  qos trust cos
  switchport port-security
  switchport port-security maximum 2
!
interface gigabit-switchport 0/7
  description voice
  spanning-tree edgeport
  no shutdown
  switchport voice vlan 10
  qos trust cos
  switchport port-security
  switchport port-security maximum 2
!
interface gigabit-switchport 0/8
  description voice
  spanning-tree edgeport
  no shutdown
  switchport voice vlan 10
  qos trust cos
  switchport port-security
  switchport port-security maximum 2
!
interface gigabit-switchport 0/9
  description voice
  spanning-tree edgeport
  no shutdown
  switchport voice vlan 10
  qos trust cos
  switchport port-security
  switchport port-security maximum 2
!
interface gigabit-switchport 0/10
  description voice
  spanning-tree edgeport
  no shutdown
  switchport voice vlan 10
  qos trust cos
  switchport port-security
  switchport port-security maximum 2
!
interface gigabit-switchport 0/11
  description voice
  spanning-tree edgeport
  no shutdown
  switchport voice vlan 10
  qos trust cos
  switchport port-security
  switchport port-security maximum 2
!
interface gigabit-switchport 0/12
  description voice
  spanning-tree edgeport
  no shutdown
  switchport voice vlan 10
  qos trust cos
  switchport port-security
  switchport port-security maximum 2
!
interface gigabit-switchport 0/13
  description voice
  spanning-tree edgeport
  no shutdown
  switchport voice vlan 10
  qos trust cos
  switchport port-security
  switchport port-security maximum 2
!
interface gigabit-switchport 0/14
  description voice
  spanning-tree edgeport
  no shutdown
  switchport voice vlan 10
  qos trust cos
  switchport port-security
  switchport port-security maximum 2
!
interface gigabit-switchport 0/15
  description voice
  spanning-tree edgeport
  no shutdown
  switchport voice vlan 10
  qos trust cos
  switchport port-security
  switchport port-security maximum 2
!
interface gigabit-switchport 0/16
  description voice
  spanning-tree edgeport
  no shutdown
  switchport voice vlan 10
  qos trust cos
  switchport port-security
  switchport port-security maximum 2
!
interface gigabit-switchport 0/17
  description voice
  spanning-tree edgeport
  no shutdown
  switchport voice vlan 10
  qos trust cos
  switchport port-security
  switchport port-security maximum 2
!
interface gigabit-switchport 0/18
  description voice
  spanning-tree edgeport
  no shutdown
  switchport voice vlan 10
  qos trust cos
  switchport port-security
  switchport port-security maximum 2
!
interface gigabit-switchport 0/19
  description voice
  spanning-tree edgeport
  no shutdown
  switchport voice vlan 10
  qos trust cos
  switchport port-security
  switchport port-security maximum 2
!
interface gigabit-switchport 0/20
  description voice
  spanning-tree edgeport
  no shutdown
  switchport voice vlan 10
  qos trust cos
  switchport port-security
  switchport port-security maximum 2
!
interface gigabit-switchport 0/21
  description voice
  spanning-tree edgeport
  no shutdown
  switchport voice vlan 10
  qos trust cos
  switchport port-security
  switchport port-security maximum 2
!
interface gigabit-switchport 0/22
  description voice
  spanning-tree edgeport
  no shutdown
  switchport voice vlan 10
  qos trust cos
  switchport port-security
  switchport port-security maximum 2
!
interface gigabit-switchport 0/23
  description voice
  spanning-tree edgeport
  no shutdown
  switchport voice vlan 10
  qos trust cos
  switchport port-security
  switchport port-security maximum 2
!
interface gigabit-switchport 0/24
  description voice
  spanning-tree edgeport
  no shutdown
  switchport voice vlan 10
  qos trust cos
  switchport port-security
  switchport port-security maximum 2
!
interface gigabit-switchport 0/25
  description voice
  spanning-tree edgeport
  no shutdown
  switchport voice vlan 10
  qos trust cos
  switchport port-security
  switchport port-security maximum 2
!
interface gigabit-switchport 0/26
  description voice
  spanning-tree edgeport
  no shutdown
  switchport voice vlan 10
  qos trust cos
  switchport port-security
  switchport port-security maximum 2
!
interface gigabit-switchport 0/27
  description voice
  spanning-tree edgeport
  no shutdown
  switchport voice vlan 10
  qos trust cos
  switchport port-security
  switchport port-security maximum 2
!
interface gigabit-switchport 0/28
  description voice
  spanning-tree edgeport
  no shutdown
  switchport voice vlan 10
  qos trust cos
  switchport port-security
  switchport port-security maximum 2
!
interface gigabit-switchport 0/29
  description voice
  spanning-tree edgeport
  no shutdown
  switchport voice vlan 10
  qos trust cos
  switchport port-security
  switchport port-security maximum 2
!
interface gigabit-switchport 0/30
  description voice
  spanning-tree edgeport
  no shutdown
  switchport voice vlan 10
  qos trust cos
  switchport port-security
  switchport port-security maximum 2
!
interface gigabit-switchport 0/31
  description voice
  spanning-tree edgeport
  no shutdown
  switchport voice vlan 10
  qos trust cos
  switchport port-security
  switchport port-security maximum 2
!
interface gigabit-switchport 0/32
  description voice
  spanning-tree edgeport
  no shutdown
  switchport voice vlan 10
  qos trust cos
  switchport port-security
  switchport port-security maximum 2
!
interface gigabit-switchport 0/33
  description voice
  spanning-tree edgeport
  no shutdown
  switchport voice vlan 10
  qos trust cos
  switchport port-security
  switchport port-security maximum 2
!
interface gigabit-switchport 0/34
  description voice
  spanning-tree edgeport
  no shutdown
  switchport voice vlan 10
  qos trust cos
  switchport port-security
  switchport port-security maximum 2
!
interface gigabit-switchport 0/35
  description voice
  spanning-tree edgeport
  no shutdown
  switchport voice vlan 10
  qos trust cos
  switchport port-security
  switchport port-security maximum 2
!
interface gigabit-switchport 0/36
  description voice
  spanning-tree edgeport
  no shutdown
  switchport voice vlan 10
  qos trust cos
  switchport port-security
  switchport port-security maximum 2
!
interface gigabit-switchport 0/37
  description voice
  spanning-tree edgeport
  no shutdown
  switchport voice vlan 10
  qos trust cos
  switchport port-security
  switchport port-security maximum 2
!
interface gigabit-switchport 0/38
  description voice
  spanning-tree edgeport
  no shutdown
  switchport voice vlan 10
  qos trust cos
  switchport port-security
  switchport port-security maximum 2
!
interface gigabit-switchport 0/39
  description voice
  spanning-tree edgeport
  no shutdown
  switchport voice vlan 10
  qos trust cos
  switchport port-security
  switchport port-security maximum 2
!
interface gigabit-switchport 0/40
  description voice
  spanning-tree edgeport
  no shutdown
  switchport voice vlan 10
  qos trust cos
  switchport port-security
  switchport port-security maximum 2
!
interface gigabit-switchport 0/41
  description voice
  spanning-tree edgeport
  no shutdown
  switchport voice vlan 10
  qos trust cos
  switchport port-security
  switchport port-security maximum 2
!
interface gigabit-switchport 0/42
  description voice
  spanning-tree edgeport
  no shutdown
  switchport voice vlan 10
  qos trust cos
  switchport port-security
  switchport port-security maximum 2
!
interface gigabit-switchport 0/43
  description voice
  spanning-tree edgeport
  no shutdown
  switchport voice vlan 10
  qos trust cos
  switchport port-security
  switchport port-security maximum 2
!
interface gigabit-switchport 0/44
  description voice
  spanning-tree edgeport
  no shutdown
  switchport voice vlan 10
  qos trust cos
  switchport port-security
  switchport port-security maximum 2
!
interface gigabit-switchport 0/45
  description voice
  spanning-tree edgeport
  no shutdown
  switchport voice vlan 10
  qos trust cos
  switchport port-security
  switchport port-security maximum 2
!
interface gigabit-switchport 0/46
  description voice
  spanning-tree edgeport
  no shutdown
  switchport voice vlan 10
  qos trust cos
  switchport port-security
  switchport port-security maximum 2
!
interface gigabit-switchport 0/47
  description uplink
  spanning-tree edgeport
  no shutdown
  switchport access vlan 10
  switchport trunk native vlan 10
  switchport trunk allowed vlan 10-19
  switchport voice vlan 10
  switchport trunk fixed vlan 10-19
  qos trust cos
!
interface gigabit-switchport 0/48
  description CradlePoint
  spanning-tree edgeport
  no shutdown
  switchport trunk allowed vlan 1-9
  switchport trunk fixed vlan 1-9
  qos trust cos
!
!
interface xgigabit-switchport 0/1
  no shutdown
  switchport mode trunk
  speed auto
!
interface xgigabit-switchport 0/2
  no shutdown
  switchport mode trunk
  speed auto
!
interface xgigabit-switchport 0/3
  description uplink
  no shutdown
  switchport mode trunk
  qos trust cos
  speed auto
!
interface xgigabit-switchport 0/4
  description uplink
  no shutdown
  switchport mode trunk
  qos trust cos
  speed auto
!
!
!
interface vlan 1
  ip address  BLOCKED  255.255.255.0
  ip route-cache express
  no shutdown
!
interface vlan 10
  ip address  BLOCKED  255.255.255.0
  no awcp
  ip route-cache express
  no shutdown
!
!
!
!
!
no tftp server
no tftp server overwrite
http server
http secure-server
no snmp agent
no ip ftp server
no ip scp server
no ip sntp server
!
!
!
!
!
snmp-server engine local 8000029803000000000000
!
!
!
!
line con 0
  no login
!
line telnet 0 4
  login
  no shutdown
line ssh 0 4
  login local-userlist
  no shutdown
!
!
!
!
end

Tell me what I am missing, why it is not working to assign phones to VLAN 10 and Other Devices to VLAN1? How do I fix it? Why is the DHCP Service not assigned the correct IP Address to devices?

Thanks in advance for the assistance.

Tags (3)
0 Kudos
3 Replies
networknewbie
New Contributor

Re: VLan using LLDP

I forgot to mention that the Phones and computers are getting the same IP address even when I program he phones with a different VLAN. they appear to be taking on what ever IP is Plugged into Port 48 on the switch.

vmaxdawg05
Contributor III
Contributor III

Re: VLan using LLDP

In my experience, this is a LLDP issue.   You may have to enable LLDP on the phones.  The phones rely on LLDP in order to get VLAN, CoS/DSCP information from the switch.  It should still work with manual VLAN configured provide that VLAN configured on the phone is available on the switch port.  On many IP phones, if it does not received a DHCP address from the tagged VLAN, it will fall back to untagged and send out another DHCP request.  This lands the phone on the native VLAN of the switchport.  That sounds more like what's going on in your situation.

Referencing interface gigabit-switchport 0/38 (randomly picked):

This looks correct here, however, I would include cos and dscp values in the statement, unless you are good with a CoS value of 5 and DSCP value of 46.  Those are the defaults for a voice port on the NetVanta line.

Being that this is correct (Not 100% sure about port-security), it must be that LLDP-MED is not happening, or the phones are not capable of it.  My first step would be to verify that LLDP is enabled on the phone.  I've run into many cases with Polycomm phones where it is not enabled.

networknewbie
New Contributor

Re: VLan using LLDP

Thank you for your timely and kind reply.

While setting up the devices, in the settings, In the Ethernet menu, I see in the phone LLDP: Enabled. By default. Is this not what should be enabled to allow LLDP?