dell / iDRAC-Redfish-Scripting

Python and PowerShell scripting for Dell EMC PowerEdge iDRAC REST API with DMTF Redfish
GNU General Public License v2.0
583 stars 273 forks source link

LLDP is not providing the Device ID and the Port ID information. #301

Open arun2arunraj opened 2 months ago

arun2arunraj commented 2 months ago

hi Team,

We woud like to see the NIC interface name as a device ID and the port details as Port ID. But we are getting the following output from the servers which we have configured in the production.

Would like to understand based on how the devices has been mapped like the below. Any update would be much appreciated on this.

IDRAC --> 7.10.30 BIOS --> 1.13.2

 show lldp neig int eth1/10

Capability codes:
  (R) Router, (B) Bridge, (T) Telephone, (C) DOCSIS Cable Device
  (W) WLAN Access Point, (P) Repeater, (S) Station, (O) Other
Device ID            Local Intf      Hold-time  Capability  Port ID

PowerEdge R750       Eth1/10         480        S           DSMPMM3 Dedicated
Total entries displayed: 1
texroemer commented 2 months ago

Hi @arun2arunraj

Not familiar with the command you shared but it looks to be a CLI command you run on the switch itself. For the device/port ID details, it seems to be coming from the switch that the iDRAC is attached to and not something iDRAC is reporting.

Here's some details i found online about this command/output:

Device ID not shown as the NIC interface: It's common for LLDP implementations to display the system name or hostname of the neighboring device as the "Device ID" rather than the specific network interface card (NIC) interface. This is because LLDP aims to provide information about the neighboring device as a whole, including its identity, rather than just details about its network interfaces. However, some devices or software versions may offer options to display more granular information about the NIC interfaces if needed.

Port ID not showing port details: The "Port ID" field typically identifies the specific port or interface on the neighboring device that is connected to the local interface where LLDP is being queried. In the output you provided, "DSMPMM3 Dedicated" seems to be a specific identifier for the port. It's possible that the LLDP implementation on your device or software version doesn't provide detailed port information in the output or uses custom naming conventions for port identification. The display of "Port ID: DSMPMM3 Dedicated" in iDRAC's LLDP information indicates that the neighboring device (in this case, likely a switch or another network device) has identified the port connected to the server's iDRAC interface as "DSMPMM3 Dedicated."

Thanks Tex