Reference Guide

Table Of Contents
}]
}
Parameters
ethernet-interface Enter the physical Ethernet interface in the format ethernetnode/
slot/port.
name string Enter ethernetnode/slot/port to configure the interface that sends
LLDPDUs with the specified TLVs.
sys-name-enable bool Enter true to enable system TLV advertisement on the interface;
enter false to disable system TLV advertisement.
Example
curl -X PATCH -u admin:admin
-k "https://10.11.86.113/restconf/data/interfaces/interface/
ethernet1%2F1%2F1"
-H "accept:application/json" -H "Content-Type:application/json"
-d '{"interface":[{"name":"ethernet1/1/1", "lldp":[{"basic-tlvs":
[{"sys-name-enable":"true"}]}]}]}'
Configure dot3 TLV advertisement
RESTCONF
endpoint
/restconf/data/interfaces/interface/ethernet1/1/1
JSON content
{
"interface": [{
"name": "ethernet1/1/1",
"lldp": [{
"dot3-tlvs": [{
"mac-phy-config-enable": "true",
"max-frame-size-enable": "true"
}]
}]
}]
}
Parameters
ethernet-interface Enter the physical Ethernet interface in the format ethernetnode/
slot/port.
name string Enter ethernetnode/slot/port to identify the interface that sends LLDPDUs
with the specified TLVs.
mac-phy-config-enable bool Enter true to enable MAC/PHY configuration/status TLV
advertisement on the interface; enter false to disable VLAN ID TLV advertisement.
max-frame-size-enable bool Enter true to enable maximum-frame-size TLV
advertisement on the interface; enter false to disable maximum-frame-size TLV advertisement.
linkagg-enable bool Enter true to enable link-aggregation TLV advertisement on the
interface; enter false to disable link-aggregation TLV advertisement.
Example
curl -X PATCH -u admin:admin
-k "https://10.11.86.113/restconf/data/interfaces/interface/
ethernet1%2F1%2F1"
-H "accept: application/json"
-H "Content-Type: application/json"
-d '{"interface": [{"name":"ethernet1/1/1", "lldp":[{"dot3-tlvs":
[{"mac-phy-config-enable":"true","max-frame-size-enable":"true"}]}]}]}'
curl -X PATCH -u admin:admin
-k "https://10.11.86.113/restconf/data/interfaces/interface/
ethernet1%2F1%2F1"
-H "accept: application/json"
-H "Content-Type: application/json"
-d '{"interface":[{"name":"ethernet1/1/1", "lldp":[{"dot3-tlvs":
[{"linkagg-enable":"true"}]}]}]}'
Enable LLDP-MED network policy advertisement
RESTCONF API
755