Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

How to enable LLDP in SPS224G4 switch?


I am trying to enable LLDP in sps224g4 switch.

console# sh ver
SW version    1.0.2 ( date  18-Nov-2008 time  12:38:16 )
Boot version    1.0.2 ( date  13-Nov-2007 time  14:11:51 )
HW version    00.03.00

While there is snmp lldp oids, and I can snmpwalk and snmpset them, no matter what I do switch neither send nor recieves LLDP TLVs, and all LLDP related fields for ports stays at 0 LLDP packets send/recieved or empty.

Thanks in advance!

Everyone's tags (4)
New Member

Re: How to enable LLDP in SPS224G4 switch?

To make long story short - I was browsing forums for any possible clue and found cisco small business snmp mibs archive! (there is no link in small business downloads)

Here it is:

and here is link

and that was it! Now I was aware wnat snmp oids to set in order to enable lldp on my SPS224G4:


snmpwalk -v2c -c

CISCOSB-LLDP-MIB::rlLldpEnabled.0 = INTEGER: false(2)

snmpset -v2c -c i 1

CISCOSB-LLDP-MIB::rlLldpEnabled.0 = INTEGER: true(1)

Now, let's check port admin status:

snmpwalk -v2c -c 1.0.8802.

LLDP-MIB::lldpPortConfigAdminStatus.1 = INTEGER: txAndRx(3)
LLDP-MIB::lldpPortConfigAdminStatus.2 = INTEGER: txAndRx(3)
LLDP-MIB::lldpPortConfigAdminStatus.3 = INTEGER: txAndRx(3)

and let's configure switch to send come TLVs

check first:

snmpwalk -v2c -c   1.0.8802.

LLDP-MIB::lldpPortConfigTLVsTxEnable.1 = BITS: 00
LLDP-MIB::lldpPortConfigTLVsTxEnable.2 = BITS: 00
LLDP-MIB::lldpPortConfigTLVsTxEnable.3 = BITS: 00

and now set to some reasonable parameters:

snmpset -v2c -c   1.0.8802. x F0

LLDP-MIB::lldpPortConfigTLVsTxEnable. = BITS: F0 portDesc(0) sysName(1) sysDesc(2) sysCap(3)

Now check other connected devices - they should see some LLDP neighbors!

like this:

snmpwalk -v2c -c   1.0.8802.

LLDP-MIB::lldpRemChassisIdSubtype.41429900.1.1 = INTEGER: macAddress(4)
LLDP-MIB::lldpRemChassisId.41429900.1.1 = Hex-STRING: 00 22 6B 22 68 49
LLDP-MIB::lldpRemPortIdSubtype.41429900.1.1 = INTEGER: interfaceName(5)
LLDP-MIB::lldpRemPortId.41429900.1.1 = STRING: "g2"
LLDP-MIB::lldpRemPortDesc.41429900.1.1 = STRING: Ethernet Interface
LLDP-MIB::lldpRemSysName.41429900.1.1 = STRING:
LLDP-MIB::lldpRemSysDesc.41429900.1.1 = STRING: 24-port 10/100 + 4-Port Gigabit Switch with CLI and WebView
LLDP-MIB::lldpRemSysCapSupported.41429900.1.1 = BITS: 20 00 00 00 bridge(2)
LLDP-MIB::lldpRemSysCapEnabled.41429900.1.1 = BITS: 20 00 00 00 bridge(2)

now you can use your favorite network discovery software to build automatic network topology and make auto network discovery!


Re: How to enable LLDP in SPS224G4 switch?

Awesome post!  Many thanks

Andrew Lissitz

New Member

Re: How to enable LLDP in SPS224G4 switch?

Got interesting side effect - after setting some parameters via SNMP I can "write" configuration, but I can't "show run" it - switch coredumps and reboots, I can see this on serial console. Can this be fixed?


Re: How to enable LLDP in SPS224G4 switch?

I do not know ...but this sounds like a bug.

Can you open a case?

You can reference this posting as well.

New Member

Re: How to enable LLDP in SPS224G4 switch?


Re: How to enable LLDP in SPS224G4 switch?

Thanks.  Yes, lets follow the crash problems in the other posting.

New Member

Re: How to enable LLDP in SPS224G4 switch?

you can get rid of the restart when config is reading by either dropping config or you can configure it once more again.
or you can go by this way :
1. firmware downgrade to 1.0.2
2. drain the configuration switch to tftp server
3. configure downgrade once more again
4. pour config on the switch
5. restart it
after all this stuff your switch will not have problems with enable lldp option

CreatePlease login to create content