Configures LLDP at the interface level/
URI | Description |
---|---|
<base_URI>/config/running/interface/{interface-type}/{interface-name}/lldp | Configures LLDP at the interface level. Valid interface type: Ethernet. |
GET URIs | Description |
---|---|
<base_URI>/config/running/interface/{interface-type}/{interface-name}/lldp/disable | Retrieves LLDP information. Valid interface type: Ethernet. |
<base_URI>/config/running/interface/{interface-type}/{interface-name}/lldp/profile | Retrieves LLDP profile information. Valid interface type: Ethernet. |
PATCH URIs | Payload | Description |
---|---|---|
<base_URI>/config/running/interface/{interface-type}/{interface-name}/lldp | <lldp><disable>{string}</disable></lldp> | Enables or disables LLDP. Valid interface type: Ethernet. |
<base_URI>/config/running/interface/{interface-type}/{interface-name}/lldp | <lldp><profile>{string}</profile></lldp> | Configures LLDP profile. Valid interface type: Ethernet. |
PUT URIs | Payload | Description |
---|---|---|
<base_URI>/config/running/interface/{interface-type}/{interface-name}/lldp | <disable>{string}</disable> | Enables or disables LLDP. Valid interface type: Ethernet. |
<base_URI>/config/running/interface/{interface-type}/{interface-name}/lldp | <profile>{string}</profile> | Configures LLDP profile. Valid interface type: Ethernet. |
DELETE URIs |
---|
<base_URI>/config/running/interface/{interface-type}/{interface-name}/lldp/profile |
GET, PATCH, PUT, DELETE, OPTIONS, and HEAD operations are supported.
The following example uses the GET option to retrieve the configuration details.
http://host:80/rest/config/running/interface/Ethernet/%222/7%22/lldp/profile
None
<profile>profile1</profile>
The following example uses the PATCH option to configure LLDP profile.
http://host:80/rest/config/running/interface/Ethernet/%222/7%22/lldp/profile
<profile>profile1</profile>
None
The following example uses the DELETE option to remove LLDP profile.
http://host:80/rest/config/running/interface/Ethernet/%222/7%22/lldp/profile
None
None