Config

Leafs

class Lldp.Interfaces.Interface.Config

Bases: Entity

Class Hierarchy : Lldp Interfaces Interface Config

This class represents configuration data.

Configuration data for LLDP on each interface

name

Reference to the LLDP Ethernet interface

type: str

refers to: name

enabled

Enable or disable the LLDP protocol on the interface

type: bool

default value: true

snooping

If true, LLDP PDUs are only received and processed on the interface, but are not originated by the local agent. The PDUs are not dropped by the interface after processing, but relayed to the downstream link layer neighbors. If false, LLDP PDUs are both received and originated on the interface. The snooping mode is valid only when LLDP is enabled on the interface. The snooping mode is useful when an interface does not want its link layer neighbors to discover itself since, for example, it is a lower-layer interface

type: bool

default value: false