How to Configure Microsoft LLDP Protocol Driver

Gunnar Haslinger 26 Reputation points
2021-04-30T09:00:42.527+00:00

Windows 10 has activated the "MsLldp" Service on Network Adapters. This "MsLldp" Service sends LLDP Ethernet-Frames to managed Switches so that they show up in the LLDP Neighbors Table.

I like to get Information how to Configure this Service.

Default configuration is, that it only sends the MAC-Address of the Ethernet-Adapter as "LLDP Chassis Subtype". How to Configure this Service to send for example "System name" or "Port Description" Information ...?

Windows 10 Network
Windows 10 Network
Windows 10: A Microsoft operating system that runs on personal computers and tablets.Network: A group of devices that communicate either wirelessly or via a physical connection.
2,301 questions
0 comments No comments
{count} vote

Accepted answer
  1. Gary Nebbett 5,846 Reputation points
    2021-05-04T06:53:50.347+00:00

    Hello @Gunnar Haslinger ,

    Unfortunately, using the registry to change the behaviour of Mslldp looks like a dead end.

    This is what I have found: the driver always tries to read a REG_SZ value named ChassisId from the service's Parameters subkey; if this fails, the service reads the ComputerName value from the key HKLM\SYSTEM\CurrentControlSet\Control\ComputerName\ComputerName. The result of this process (i.e. either the ChassId or ComputerName value) is stored in a global variable which appears not to be used (apart from initialization and cleanup).

    It is still possible that Mslldp is capable of more than we suspect (perhaps controlled via IOCTLs) but I doubt it.

    Gary

    0 comments No comments

11 additional answers

Sort by: Most helpful
  1. mr MS 6 Reputation points
    2022-12-01T16:16:33.967+00:00

    hi everyone
    i need to disable the mslldp protocol using a gpo. were you able to centralise the disabling?

    0 comments No comments

  2. Gunnar Haslinger 26 Reputation points
    2022-12-02T06:30:12.2+00:00

    As far as I remember you can just disable the MsLldp Service. So disabling a Service should be possible in "Computer Configuration\Windows Settings\Security Settings\System Services".

    0 comments No comments

  3. Anh Phan 0 Reputation points
    2023-02-16T05:32:27.3166667+00:00

    It's seem lldp work on Windows 2022,

    This is what I get from my Switch after run Enable-NetLldpAgent for my nic. (R7610 is my computer name).

    #show lldp neighbors ethernet 30 detail
    Interface Ethernet30 detected 1 LLDP neighbors:
    
      Neighbor "R7610"/0002.c93a.86e1, age 1 seconds
      Discovered 0:15:13 ago; Last changed 0:15:13 ago
      - Chassis ID type: Locally assigned (7)
        Chassis ID     : "R7610"
      - Port ID type: MAC address(3)
        Port ID     : 0002.c93a.86e1
      - Time To Live: 121 seconds
      - IEEE802.3 MAC/PHY Configuration/Status
        Auto-negotiation       : Supported, Enabled
        Operational MAU Type   : Unknown
      - LLDP-MED Capabilities:
        'Capabilities' capable                 : True
        'Network Policy' capable               : False
        'Location Identification' capable      : False
        'Extended Power via MDI - PSE' capable : False
        'Extended Power via MDI - PD' capable  : False
        'Inventory' capable                    : False
        Device type                            : Endpoint Class1