09-15-2016 08:44 AM - edited 03-08-2019 07:26 AM
I'm setting up for the first time an SG300. This switch, so far, has been quite different from my 2960s and other catalyst switches.
I wasn't able to copy parts of the config that I normally would for programming the switch ports.
I've setup the trunk port:
interface gigabitethernet9
spanning-tree link-type point-to-point
macro description switch
switchport trunk allowed vlan add 10,30,110
!next command is internal.
macro auto smartport dynamic_type switch
VLAN10 is where most of my computers sit, and that is functioning properly.
VLAN30 is where I have security cameras, and that functions correctly.
VLAN110 is my phone network, and the phone will not get an address from DHCP
This is my show voice vlan settings.
RV-Putsch-SG300-45#show voice vlan
Administrate Voice VLAN state is auto-enabled
Operational Voice VLAN state is auto-enabled
Best Local Voice VLAN-ID is 110
Best Local VPT is 5 (default)
Best Local DSCP is 46 (default)
Agreed Voice VLAN is received from switch 04:2a:e2:5c:98:5a
Agreed Voice VLAN priority is 0 (active static source)
Agreed Voice VLAN-ID is 110
Agreed VPT is 5
Agreed DSCP is 46
Agreed Voice VLAN Last Change is 06-Aug-14 11:56:51
This is what the port for the phone looks like.
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
spanning-tree bpduguard enable
macro description "ip_phone_desktop "
switchport mode access
switchport access vlan 10
!next command is internal.
macro auto smartport dynamic_type unknown
Most of that was automatically put there with portsmart.
I get this message from the interface where the phone is.
RV-Putsch-SG300-45#06-Aug-2014 12:19:19 %NT_GREEN-W-EeeLldpMultiNeighbours: Multiple LLDP neighbours on port gi8 - EEE operational state is FALSE
06-Aug-2014 12:19:24 %NT_GREEN-W-EeeLldpSingleNeighbour: Single LLDP neighbour on port gi8 - EEE operational state can be TRUE
09-15-2016 10:30 AM
Hello,
Is there anything else connected to the Phone ?
For example, few IP Phones have the ability to act as a Switch.
If you only have 1 Data Port in the cubicle, then you can connect your phone to the data port and then connect a laptop to the Phone.
If this is the case, since LLDP is turned on, you might be seeing the multiple Neighbors connected to 1 single port.
Restrictions for EEE
EEE has the following restrictions:
Changing the EEE configuration resets the interface because the device has to restart Layer 1 autonegotiation.
You might want to enable the Link Layer Discovery Protocol (LLDP) for devices that require longer wakeup times before they are able to accept data on their receive paths. Doing so enables the device to negotiate for extended system wakeup times from the transmitting link partner.
Seems like if LLDP is enabled, then the device can negotiate longer wakeup times and that could be the one of the reason why EEE operational status is going FALSE.
Regards,
Harsha
09-15-2016 12:36 PM
This particular phone does not have anything else connected to it. Though, we do commonly have a computer connected through the phone.
If I open the web gui for this switch and view the LLDP Neighbor Information I see that the phone is getting an address from my vlan10. I need it to get an address from vlan110. I'm not sure what I need to change to get this accomplished.
Edit: Phone gets stuck in DHCP Discovery Using Option 128+.
09-15-2016 12:59 PM
I put the SG300 into L3 mode, it wiped my configuration.
I reloaded my saved configured.
Then I noticed my phone started working. The PC didn't, I went into smart port type settings and changed the ip phone + desk to use vlan 10 as native (was setup to 1.) then it started working.
GI8 now looks like this
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
spanning-tree bpduguard enable
macro description ip_phone_desktop
switchport trunk allowed vlan add 110
switchport trunk native vlan 10
!next command is internal.
macro auto smartport dynamic_type ip_phone_desktop
09-15-2016 02:30 PM
Everything has been resolved from the above post.
Thanks for taking the time to assist me.
09-15-2016 02:27 PM
Your Phone is getting IP Address from VLAN 10 because the interface is configured as an access port for VLAN 10. If you want it to belong to VLAN 110, then you need to add the following under interface gi 8
no switchport access vlan 10
switchport access vlan 110
Regards,
Harsha
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