A management interface's LLDP support is a network discovery feature that
-
enables the NCS 1004 to form LLDP neighbor relationships over management interfaces,
-
advertises and learns LLDP neighbor information for Operations, Administration, and Maintenance (OAM), and
-
supports configurable attributes such as holdtime, reinit delay, and timer rate.
LLDP attributes and behavior
Advantages of LLDP
Limitation
Note
By default, LLDP is enabled for NCS 1004. But when you enable and disable LLDP in the global configuration mode, LLDP gets disabled on all the interfaces.
Workaround: You must enable LLDP globally or reload the Router.
Cisco Discovery Protocol (CDP) vs LLDP
The CDP is a device discovery protocol that runs over Layer 2. Layer 2 is also known as the data link layer that runs on all Cisco devices, such as routers, bridges, access servers, and switches. This protocol allows the network management applications to automatically discover and learn about other Cisco devices that connect to the network.
The LLDP is also a device discovery protocol that runs over Layer 2. This protocol allows the network management applications to automatically discover and learn about other non-Cisco devices that connect to the network.
Interoperability between non-Cisco devices using LLDP
LLDP is also a neighbor discovery protocol that is used by network devices to advertise information about themselves to other devices on the network. This protocol runs over the data link layer, which allows two systems running different network layer protocols to learn about each other.
With LLDP, the user can also access the information about a particular physical network connection. If the user uses a non-Cisco monitoring tool (through SNMP), LLDP helps you identify the Object Identifiers (OIDs) that the system supports.
These OIDs are supported:
-
1.0.8802.1.1.2.1.4.1.1.4
-
1.0.8802.1.1.2.1.4.1.1.5
-
1.0.8802.1.1.2.1.4.1.1.6
-
1.0.8802.1.1.2.1.4.1.1.7
-
1.0.8802.1.1.2.1.4.1.1.8
-
1.0.8802.1.1.2.1.4.1.1.9
-
1.0.8802.1.1.2.1.4.1.1.10
-
1.0.8802.1.1.2.1.4.1.1.11
-
1.0.8802.1.1.2.1.4.1.1.12
Neighbor discovery
System advertises the LLDP TLV (Type Length Value) details over the management network using which other devices in the management network can learn about this device.
Configuring LLDP
-
LLDP full stack functionality is supported on all three management interfaces supported in NCS 1004.
-
You can selectively enable or disable LLDP on any of the management interfaces on demand.
-
You can selectively enable or disable LLDP transmit or receive functionality at the management interface level.
-
Information gathered using LLDP can be stored in the device Management Information Database (MIB) and queried with the Simple Network Management protocol (SNMP).
-
LLDP operational data are available in both Command Line Interface and netconf-yang interface.
Enabling LLDP globally
When you enable LLDP globally, all interfaces that support LLDP are automatically enabled for both transmit and receive operations.
Note
You can override this default operation at the interface to disable receive or transmit operations.
This table describes the global LLDP attributes that the user can configure:
Table 1.
| Attribute |
Default |
Range |
Description |
| Holdtime |
120 |
0–65535 |
Specifies the hold time (in sec). Hold time refers to the time or duration that an LLDP device maintains the neighbor information before discarding. |
| Reinit |
2 |
2–5 |
Delay (in sec) for LLDP initialization on any interface |
| Timer |
30 |
5-65534 |
Specifies the rate at which LLDP packets are sent (in sec) |
Debugging LLDP issues
These commands are used for debugging issues in the LLDP functionality.
-
show lldp traffic
-
debug lldp all
-
debug lldp errors
-
debug lldp events
-
debug lldp packets
-
debug lldp tlvs
-
debug lldp trace
-
debug lldp verbose