ZXR102900ESeriesCongurationGuide
3.TheMIBofthelocaldevicestoresthenetworkmanagementinformationofall
neighbordevices,andanetworkmanagementprogramcanquerylayer-2connection
informationintheMIB.
TheLLDPisnotacongurationprotocoloftheremotesystemorasignalingcontrol
protocolusedbetweentwoports.TheLLDPdiscoverslayer-2protocolconguration
conictsbetweenneighbordevices,butitonlyreportstheproblemtoanupper-layer
networkmanagementdevice,withoutprovidinganymechanismtosolvetheproblem.
TheLLDPissimplyaneighbordiscoveryprotocolthatdenesastandardfornetwork
devices(suchasswitches,routers,andWLANaccesspoints)intheEthernettoadvertise
theiridentitiestoothernodesinthenetworkandstorediscoveryinformationofallneighbor
devices.Forexample,devicecongurationanddeviceIDscanbeadvertisedbytheLLDP .
TheLLDPdenesauniversaladvertisementinformationset,aprotocolforsending
theadvertisementinformation,andamethodforstoringthereceivedadvertisement
information.Thedevicethatwantstoadvertiseitsinformationcanplacemultiplepieces
ofadvertisementinformationintoaLinkLayerDiscoveryProtocolDataUnit(LLDPDU).
TheLLDPDUcontainsavariable-lengthmessageunit(calledTLVs),whicharedescribed
below:
lType:indicatesthetypeofthemessagetobesent.
lLength:indicatesthenumberofbytesinthemessage.
lValue:indicatesthecontentstobesent.
EachLLDPDUcontainsfourmandatoryTLVsandoneoptionalTLV:
lChassisIDTLVandPortIDTLV:identifythesender.
lTLLTLV:notiesthereceiverofthestorageperiodofamessage.Ifthereceiverdoes
notreceiveanyupdatemessagewithinthespeciedperiod,thereceiverdiscardsall
therelatedmessages.ArecommendedupdatefrequencyisdenedbytheIEEE,that
is,tosendmessagesat30-secondintervals.
lOptionalTLVs:includeabasicmanagementTLVset(suchasportdescriptionTLV),a
specialTLVsetdenedbyIEEE802.1,andaspecialTLVsetdenedbyIEEE802.3.
lEndofLLDPDUTLV:indicatestheendofanLLDPDU.
ConguringLLDP
TheLLDPcongurationincludesthefollowingcommands:
CommandFunction
zte(cfg)#lldphellotime<5-32768>
SetstheintervalforsendingLLDP
neighbordiscoverymessages.
zte(cfg)#lldpholdtime<2-10>SetstheLLDPneighborholdingtime.
zte(cfg)#lldpmax-neighbor<1-31>
Setsthemaximumnumberofneighbors
thatcanbediscoveredbyLLDP .
zte(cfg)#lldp{port<portlist>|trunk<trunklist>}{enable|disable}
EnablesordisablesallLLDPfunctions
onaspecicport.
4-126
SJ-20120409144109-002|2012-07-02(R1.0)ZTEProprietaryandCondential