SetLldpConfig

Contributors netapp-mwallis ntap-bmegan Download PDF of this page

You can use the SetLldpConfig method to configure the Link Layer Discovery Protocol (LLDP) settings for a storage cluster.

Parameters

This method has the following input parameters:

Name Description Type Default value Required

enableOtherProtocols

Enable automatic use of other discovery protocols - CDP, FDP, EDP, and SONMP.

boolean

true

No

enableMed

Enable Media Endpoint Discovery (LLDP-MED).

boolean

false

No

enableLldp

Enable or disable LLDP.

boolean

true

No

Return values

This method has the following return value:

Name Description Type

lldpConfig

Information about the current storage cluster LLDP configuration, including newly changed settings.

JSON object

Request example

Requests for this method are similar to the following example:

{
  "id": 3920,
  "method":"SetLldpConfig",
    "params": {
        "lldpConfig": {
            "enableMed": true
        }
    }
  }

Response example

This method returns a response similar to the following example:

{
  "id": 3920,
  "result": {
    "lldpConfig": {
        "enableLldp": true,
        "enableMed": true,
        "enableOtherProtocols": true
     }
  }
}