LAN Topology
core-sw1# show lldp
% LLDP is not enabled
# you can enable it like this
core-sw1# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
core-sw1(config)#lldp run
# check LLDP again
core-sw1# show lldp
Global LLDP Information:
Status: ACTIVE
LLDP advertisements are sent every 30 seconds
LLDP hold time advertised is 120 seconds
LLDP interface reinitialisation delay is 2 seconds
Ou tester les valeurs LLDP par SNMP depuis n’importe quel hôte :
snmpwalk -v2c -c public <YOUR_DEVICE> 1.0.8802.1.1.2Adaptez la chaîne de communauté, public par défaut, à votre configuration. Les données LLDP s’affichent-elles ?
Switch# show cdp Switch# show cdp neighborsContrôle en CLI par des commandes snmp
snmpget -v2c -cRésultat :1.3.6.1.4.1.9.9.23.1.3.1.0
Switch# configure terminal Switch(config)# cdp run