LLDP

This section describes how to configure Link Layer Discovery Protocol (LLDP).

The LLDP (Link Layer Discovery Protocol) is a vendor-neutral Data Link Layer protocol used by network devices for advertising their identity, capabilities, and interconnections on an IEEE 802 LAN network. The protocol is formally referred to by the IEEE as Station and Media Access Control Connectivity Discovery as specified in standards document 802.1AB.

LLDP performs functions similar to several proprietary protocols, such as Cisco Discovery Protocol, Extreme Discovery Protocol, Nortel Discovery Protocol (also known as SONMP), and Microsoft's LLTD (Link Layer Topology Discovery).

Information gathered with LLDP is stored in the device as a management information database (MIB) and can be queried with the Simple Network Management Protocol (SNMP) as specified in RFC 2922 Physical Topology MIB https://tools.ietf.org/html/rfc2922. “The Physical Topology MIB (PTOPO-MIB) provides a standard way to identify connections between network ports and to discover network addresses of SNMP agents containing management information associated with each port. The scope of the physical topology (PTOPO) mechanism is the identification of connections between two network ports. Network addresses of SNMP agents containing management information associated with each port can also be identified.”

The topology of an LLDP-enabled network can be discovered by crawling the hosts and querying this database.

To access LLDP screens, go to Layer 2 Management > LLDP.

LLDP Global Configurations

By default, the tab Global Settings displays the LLDP Global Configuration screen.

Figure 1. LLDP Global Configurations


Screen Objective This screen allows the user to enable or disable LLDP module globally and set the LLDP version number.
Navigation

Layer 2 Management > LLDP > Global Settings

Fields
  • Global Status—select the administrative system control status of LLDP. The options are:
    • Start—indicates that all resources required by LLDP module should be allocated and LLDP should be supported in the devices on all ports.
    • ShutDown—indicates that LLDP should be shut down in the devices on all ports and all allocated memory must be released.
    Note:

    If the Global Status is set as ShutDown, the Module Status cannot be enabled.

  • Module Status—select the administrative status of LLDP module. The list contains:
    • Enabled—indicates that LLDP is enabled in the device and can be enabled port-wise
    • Disabled—indicates that LLDP is disabled in the device and is also disabled on all ports.
  • Version Status—select the version of LLDP to be used on the system. The default option is v1 (Version 1). The list contains:
    • v1—enables LLDP version 1 (2005) on the port. When v1 is enabled, only one MAC address can be assigned to the port.
    • v2—enables LLDP version 2 (2009) on the port. When v2 is enabled, MAC address can be assigned per port, i.e. the user can have multiple LLDP agents per port.
Buttons
  • Apply—modifies attributes and saves the changes.
  • Configure Trace Options—accesses the Configured Traces screen

Configured Traces

Figure 2. Configured Traces


Screen Objective This screen allows the user to enable the required debug statements which are useful during debug operations.
Navigation

Layer 2 Management > LLDP Global Settings > LLDP Global Configuration

Click Configure Trace Options

Fields
  • Traces Status—select the traces for which debug statements is to be generated. The default option is critical. The options are:
    • Init-Shut—generates debug statements for init and shutdown traces. This trace is generated on failed and successful initialization and shutting down of LLDP related module and memory.
    • Management—generates debug statements for management traces. This trace is generated when any of the LLDP features is configured.
    • Datapath—generates the debug statements for datapath traces. This trace is generated during failure in packet processing.
    • Control—generates debug statements for Control functionality traces. This trace is generated during failure in modification or retrieving of LLDP entries.
Fields (cont)
  • Traces Status—the options are:
    • Packet Dump—generates debug statements for packets handling traces. This trace is generated when there is an error condition in transmission or reception of packets.
    • Resource—generates debug statements for traces with respect to allocation and freeing of all resource expect the buffers.
    • All Fail—generates debug statements for all failure traces.
    • Buffer—generates debug statements for traces with respect to allocation and freeing of Buffer.
    • neigh-trace—generates debug statements for neighbour traces.
    • vid-digest—generates debug statements for VLAN identifier (Vid) digest type, length, and value (TLV) traces
    • mgmt-vid—generates debug statements for management vid tlv traces.
    • critical—generates debug statements for critical state machine (SEM).
    • redundancy—generates the debug statements for the LLDP redundancy module.
    • chassis-id—generates debug statements for chassis-id TLV traces.
    • port-id—generates debug statements for port-id TLV trace
    • ttl—generates debug statements for Time To Live (TTL) TLV trace.
    • port-descr—generates debug statements for the port description TLV traces.
    • sys-name—generates debug statements for the system name TLV traces.
    • sys-descr—generates debug statements for system description TLV traces.
    • sys-capab—generates debug statements for system capabilities TLV traces.
    • mgmt-addr—generates debug statements for management address TLV traces.
    • port-vlan—generates debug statements for port-vlan TLV traces.
    • ppvlan—generates debug statements for port-protocol-vlan TLV traces.
    • vlan-name—generates debug statements for vlan-name TLV traces.
    • proto-id—generates debug statements for protocol-id TLV traces.
    • mac-phy—generates debug statements for MAC or physical (PHY) TLV traces.
    • pwr-mdi—generates debug statements for power-through Media Dependent Interface (MDI TLV) traces.
    • lagg—generates debug statements for link aggregation TLV traces.
    • max-frame—generates debug statements for maximum frame size TLV traces.
Buttons
  • Apply—modifies attributes and saves the changes.
  • Configure Global Options—accesses the LLDP Global Configuration screen.

LLDP Basic Settings

Figure 3. LLDP Basic Settings


Screen Objective This screen allows the user to configure the LLDP basic parameters.
Navigation

Layer 2 Management > LLDP > Basic Settings

Fields
  • Transmit Interval—enter the time interval at which the LLDP frames are transmitted on behalf of this LLDP agent. The value should be restored from non-volatile storage after a re-initialization of the management system. The value ranges from 5 to 32768 seconds. The default value is 30.
  • Holdtime Multiplier—enter the Holdtime Multiplier value, which is the amount of time for which the server should hold the LLDP. This value ranges from 2 to 10 seconds. The default value is 4. The actual time-to-live value used in LLDP frames, as transmitted on behalf of this LLDP agent, can be expressed by the following formula:

    TTL = min (65535, Transmit Interval * Holdtime Multiplier).

    • For example, if the value of Transmit Intervalis 30 and value of Holdtime Multiplieris 4, then value ‘120’ is encoded in TTL field of LLDP header. The value of this object must be restored from non-volatile storage after a re-initialization of the management system.
  • Reinitialization Delay—enter the delay from when the port admin status becomes 'disabled' until re-initialization will be attempted. The value of this object must be restored from non-volatile storage after a re-initialization of the management system. This value ranges from 1 to 10 seconds. The default value is 2.
Fields (cont)
  • Tx Delay—enter the delay between successive LLDP frame transmissions initiated by value / status changes in the LLDP local systems objects. This value ranges from 1 to 8192 seconds. The value should be lesser than or equal to (0.25 * Transmit Interval). The default value is 2.
  • Notification Interval—enter the time interval during which the local system generates a notification event. In this specific interval, generating more than one notification event is not possible. If additional changes in lldpRemoteSystemsData object groups occur within the indicated throttling period, then these trap events must be suppressed by the agent. The value of this object must be restored from non-volatile storage after a re-initialization of the management system. This value ranges from 5 to 3600 seconds. The default value is 5.
  • Chassis ID Subtype—select the source of a chassis identifier. The default is Mac Address. The options are:
    • Chassis Component— represents a chassis identifier based on the value of entPhysicalAlias object for a chassis component
    • Interface Alias—represents a chassis identifier based on the value of ifAlias for an interface on the containing chassis.
    • Port Component—represents a chassis identifier based on the value of entPhysicalAlias object for a port or backplane within the chassis.
    • MAC Address—represents a chassis identifier based on the value of a unicast source address, of a port on the containing chassis.
    • Network Address—represents a chassis identifier based on a network address, associated with a particular chassis. The encoded address is actually composed of two fields. The first field is a single octet, representing the IANA AddressFamilyNumbers value for the specific address type, and the second field is the network address value.
    • Interface Name—represents a chassis identifier based on the value of ifName object for an interface on the containing chassis.
    • Local—represents a chassis identifier based on a locally defined value.
  • Chassis ID—enter the chassis identifier string. This field is enabled only if the Chassis ID subtype is selected as anyone of the following:
    • Chassis Component—the octet string identifies a particular instance of the entPhysicalAlias object for a chassis component
    • Port Component—the octet string identifies an instance of the entPhysicalAlias object for a port or backplane component within the chassis.
    • Local—the Octet string identifies a locally assigned chassis ID.
  • txCreditMax—enter the maximum number of consecutive LLDP PDUs that can be transmitted any time by the port. This value ranges from 1 to 10. The default value is 1 for LLDP v1 and 5 for LLDP v2.
  • MessageFastTx—enter the interval at which LLDP frames are transmitted on behalf of LLDP agent during fast transmission period. This value ranges from 1 to 3600 seconds. The default value is 30 for LLDP v1 and 1 for LLDP v2.
Fields (cont)
  • TxFastInit—this command configures the value used to initialize the txFast variable which determines the number of transmissions that are made in fast transmission mode. This value ranges from 1 to 8. The default value is 1 for LLDP v1 and 4 for LLDP v2.
Buttons
  • Apply—modifies attributes and saves the changes.

Interface Settings

Figure 4. Interface Settings


Screen Objective This screen allows the user to configure every port of the LLDP.
Note: The parameters in the screen are not populated with values (the screen is blank) if the LLDP Global Sates is set as Shutdown.
Navigation

Layer 2 Management > LLDP > Interface

Fields
  • Select—click the port for which the LLDP parameters need to be configured.
  • Port—displays the port, which is a combination of interface type and interface ID. The interface ID is a combination of slot number and the port number (slot number/port number).
  • Tx State—select the status of the LLDP PDU transmitter. The default option is Enabled. The options are:
    • Enabled—enables transmission of LLDP PDU from one of the ports of the server to the LLDP module
    • Disabled—disables transmission of LLDP PDU from one of the ports of the server to the LLDP module.
  • Rx State—select the status of the LLDP PDU receiver. The default option is Enabled. The options are:
    • Enabled—enables reception of LLDP PDU from one of the ports of the server to the LLDP module.
    • Disabled—enables reception of LLDP PDU from one of the ports of the server to the LLDP module.
  • Tx SEM State—displays current status of the Tx state event machine (SEM).
  • Rx SEM State—displays current status of the Rx SEM.
  • Notification Status—select the notification status to be set. The default option is Disabled. The options are:
    • Enabled—enables the notification status.
    • Disabled—disables the notification status.
  • Notification Type—select the notification type. The default option is Mis-config. The options are:
    • Remote-Table-Change—LLDP agent sends trap notification to NMS when a remote table change occurs.
    • Mis-Config—LLDP agent sends trap notification to NMS when mis-configuration is identified.
    • Both—LLDP agent sends trap notification to NMS when a remote table change occurs or/and whenever mis-configuration is identified.
  • Destination MAC—displays the destination MAC address to be used by the LLDP agent for transmission on this port.
Buttons
  • Apply—modifies attributes and saves the changes.

Neighbor Information

Figure 5. Neighbor Information


Screen Objective This screen allows the user to obtain the information of the adjacent server connected to the LLDP.
Navigation

Layer 2 Management > LLDP > Neighbors

Fields
  • Chassis ID—displays the Chassis ID of the peer. This value is a string value with a maximum size of 255.
  • Local Interface—displays the local port on which the peer information is learnt. This value is a string with maximum size 255.
  • Hold Time—displays the destination MAC address to be used by the LLDP agent for transmission on this port.
  • Capability—displays the Hold Time advertised by the peer.
  • Port ID—displays the Port ID advertised by the peer.
Buttons
  • Clear LLDP Neighbors—clears the Neighbor information

LLDP Agent Information

Figure 6. LLDP Agent Information


Screen Objective This screen allows the user to configure the destination MAC address to be used by the LLDP agent for transmission on this port.
Navigation

Layer 2 Management > LLDP > Agent Info

Fields
  • Interface ID—enter the Interface ID for which the LLDP Agent info is to be configured. The Interface Id value ranges between 1 and 24.
  • MAC Address—enter the MAC address to be used as LLDP agent MAC address by the LLDP agent on the specified port.
Fields (cont)
Note: When LLDP Version is set as V1, only one MAC address can be assigned for a port.
Note: When LLDP Version is set as V2, multiple MAC addresses can be assigned per port, i.e. the user can have multiple LLDP agents per port.
Buttons
  • Apply—modifies attributes and saves the changes.

LLDP Agent Details

Figure 7. LLDP Agent Details


Screen Objective This screen allows the user to configure the LLDP Agent details.
Navigation

Layer 2 Management > LLDP > Agent Details

Fields
  • Interface ID—enter the Interface ID for which the LLDP Agent info is to be configured. The Interface Id value ranges between 1 and 24.
  • MAC Address—enter the MAC address to be used as LLDP agent MAC address by the LLDP agent on the specified port.
    Note:
    • When LLDP Version is set as V1, only one MAC address can be assigned for a port.
    • When LLDP Version is V2, multiple MAC addresses can be assigned per port, i.e. the user can have multiple LLDP agents per port.
    This screen can be configured for a specific MAC address only if an agent is created with a MAC Address using the LLDP Agent Info screen.
  • Port Descriptor TLV—select the transmit status for Port Description TLV (Type, Length, Value). The default option is Disabled. The list contains:
    • Enabled—Indicates that LLDP agent transmits Port Description TLV.
    • Disabled—Indicates that LLDP agent discards Port Description TLV.
  • System Name TLV—select the transmit status for System Name TLV. The default option is Disabled. The list contains:
    • Enabled—Indicates that LLDP agent transmits System Name TLV.
    • Disabled—Indicates that LLDP agent discards System Name TLV.
  • System Description TLV—select the transmit status for System Description TLV. The default option is Disabled. The list contains:
    • Enabled—Indicates that LLDP agent transmits System Description TLV.
    • Disabled—Indicates that LLDP agent discards System Description TLV.
  • System Capability TLV—select the address type for the Management address. This list contains:
    • Enabled—Indicates that LLDP agent transmits System Capability TLV.
    • Disabled—Indicates that LLDP agent discards System Capability TLV.
  • Management Address TLV—select the transmit status for System Description TLV. The default option is Disabled. The list contains:
    • All—selects the address type for the Management address as both IPv4 and IPv6 addresses.
    • IPv4—selects the address type for the Management address as IPv4.
    • IPv6—selects the address type for the Management address as IPv6.
  • Management Address—enter the Management IP address for the TLV as per the address type selected.
  • Port VLAN Id TLV—select the transmit status for Port VLAN ID TLV. The default option is Disabled. The list contains:
Fields
    • Enabled—Indicates that LLDP agent transmits Port VLAN ID TLV.
    • Disabled—Indicates that LLDP agent discards Port VLAN ID TLV.
  • Protocol VLAN Id TLV—select the transmit status for Protocol VLAN Id TLV. The default option is Disabled. The list contains:
    • Enabled—Indicates that LLDP agent transmits Protocol VLAN ID TLV.
    • Disabled—Indicates that LLDP agent discards Protocol VLAN ID TLV.
  • Protocol VLAN Id—select the transmit status for Protocol VLAN ID. It indicates that LLDP agent should transmit Port VLAN ID TLV.
    • all—indicates that LLDP agent transmits all Protocol VLAN ID TLV.
  • VLAN Name TLV—select the VLAN Name TLV for enabling or disabling the transmission of the LLDP agent. The default option is Enabled. The list contains:
    • Enabled—Indicates that LLDP agent transmits VLAN Name TLV.
    • Disabled—Indicates that LLDP agent discards VLAN Name TLV.
  • VLAN Name—enter the specific VLAN ID for which the LLDP agent transmits PDUs. All indicates that LLDP agent transmits all VLANs.
  • Vid Usage Digest TLV—select the transmit status for Vid Usage Digest TLV. The default option is Disabled. The list contains:
    • Enabled—specifies that LLDP agent transmits Vid Usage Digest TLV.
    • Disabled—specifies that LLDP agent discards Vid Usage Digest TLV.
  • Management Vid TLV—select the transmit status for Management Vid TLV. The default option is Disabled. The list contains:
    • Enabled—specifies that LLDP agent transmits Management Vid TLV.
    • Disabled—specifies that LLDP agent discards Management Vit TLV.
  • Link Aggregation TLV—select the transmit status for Link Aggregation TLV. The default option is Disabled. The list contains:
    • Enabled—specifies that LLDP agent transmits Link Aggregation TLV.
    • Disabled—specifies that LLDP agent discards Link Aggregation TLV.
  • MacPhy Config TLV—select the transmit status for MacPhy Config TLV. The default option is Disabled. The list contains:
    • Enabled—specifies that LLDP agent transmits MacPhy Config TLV.
    • Disabled—specifies that LLDP agent discards MacPhy Config TLV.
  • Max Frame Size TLV—select the transmit status for Max Frame Size TLV. The default option is Disabled. The list contains:
    • Enabled—specifies that LLDP agent transmits Max Frame Size TLV.
    • Disabled—specifies that LLDP agent discards Max Frame Size TLV.
Buttons
  • Apply—modifies attributes and saves the changes.
  • Delete—deletes the selected entry.