LLDP Objects

This page contains descriptions of the Link Layer Discovery Protocol Daemon (LLDPD) related objects in the FlexSwitch object models.

Attention

Attributes without default values listed are required in API calls.

Configuration Objects

LDPGlobal

config/LDPGlobal

Attribute Data Type Description Permitted Values
Vrf [Key] string LLDP Global Config For Default VRF DEFAULT:default
Enable bool Enable/Disable LLDP Globally DEFAULT:false
TransmitInterval int32 LLDP Re-Transmit Interval in seconds DEFAULT:30
TxRxMode string Transmit/Receive mode configruration for the LLDP agent SELECTION: TxOnly/RxOnly/TxRx
DEFAULT: TxRx
SnoopAndDrop bool Operational mode to determine whether LLDP traffic is bi-directionally forwarded. This configuration is only available on select platforms DEFAULT:false

LLDPIntf

config/LLDPIntf

Attribute Data Type Description Permitted Values
IntfRef [Key] string IfIndex where lldp needs is enabled/disabled DEFAULT: None
Enable bool Enable/Disable lldp config Per Port DEFAULT:true
TxRxMode string Transmit/Receive mode configruration for the LLDP agent specific to an interface SELECTION: TxOnly/RxOnly/TxRx
DEFAULT: TxRx

State Objects

LLDPGlobalState

state/LLDPGlobal

Attribute Data Type Description Permitted Values
Vrf [Key] string Vrf where LLDP Global Config is running
Enable bool Enable/Disable LLDP Globally
TransmitInterval int32 LLDP Re-Transmit Interval in seconds
Neighbors int32 Total lldp Neighbors learned on the system
TotalTxFrames int32 Total no. of lldp frames send out by the system
TotalRxFrames int32 Total no. of lldp frames received by the system

LLDPIntfState

state/LLDPIntf

Attribute Data Type Description Permitted Values
IntfRef [Key] string IntfRef where lldp is configured
IfIndex int32 IfIndex where lldp needs to be configured
SendFrames int32 Total Frames send to the neighbor
ReceivedFrames int32 Total Frames received from neighbor
Enable bool Enable/Disable lldp config
LocalPort string Local interface
PeerMac string Mac address of direct connection
PeerPort string Name of directtly connected pors
PeerHostName string Name of the peer host
PortDescription string peer port description
VlanId int32 Port Vlan Identifier
HoldTime string Validity of the peer information
SystemDescription string System Description of the peer port
SystemCapabilities string System Capabilities of the peer port
EnabledCapabilities string Enabled Capabilities of the peer port