Chapter14LLDPConīæguration
ConīgurationFlow
1.EnterLLDPconīægurationmode.
2.ConīægureLLDPattributes.
ConīgurationCommand
TheconīægurationofR1:
R1(config)#lldp
R1(config-lldp)#maxneighbor3
/*Configurethemaximumnumberofsystemneighbors*/
R1(config-lldp)#hellotime30000
/*ConfiguretheintervalstosendLLDPneighbordiscoverypackets*/
R1(config-lldp)#holdtime8
/*ConfigureLLDPneighborhold-time*/
R1(config-lldp)#lldpenable
/*EnableLLDP*/
R1(config-lldp)#lldp-rxenable
/*EnableLLDPreceiving*/
R1(config-lldp)#lldp-txenable
/*EnableLLDPsending*/
R1(config-lldp)#clearneighbor
/*ClearLLDPneighborrelationshipthathasbeenestablished*/
R1(config-lldp)#clearstatistic
/*ClearLLDPstatisticalinformation*/
R1(config-lldp)#end
ConīgurationVeriīcation
Usetheshowrunning-configlldpcommandtochecktheconīægurationresult.
ZXR10#showrunning-configlldp
!<LLDP>
lldp
hellotime30000
holdtime8
maxneighbor3
!</LLDP>
14-7
SJ-20140504150128-007|2014-05-10(R1.0)ZTEProprietaryandConīædential