OiO.lk Blog C# Could the LLDPDUs constructed by the 1905.1 to be disable?
C#

Could the LLDPDUs constructed by the 1905.1 to be disable?


I am fairly new to network programming.
I am working on an implementation of IEEE1905.1 in C.
I understand that it would also construct the LLDPDUs.

But it would happen that the neighbor would receive two LLDPDU with the same Chassis ID and Port ID.
So that the LLDP remote table would be changed while receive LLDPDUs in neighbor device.

Is this normally or I can disable LLDPDUs constructed by the 1905.1?

int iLLDPStatus = GetLLDPModuleStatus();
int i1905Status = Get1905ModuleStatus();
if (LLDPStatus) /* LLDP is enabled */
{
    SendLLDP(); /* Mandatory TLVs and Other TLVs(Dot1, DOt3, MED) */
}
else if (i1905Status) /* LLDP is disabled, IEEE1905 is enabled */
{
    SendLLDPfrom1905(); /* Mandatory TLVs only */
}



You need to sign in to view this answers

Exit mobile version