Connectivity Guide

Table Of Contents
"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
specied TLVs.
mac-phy-config-enable bool — Enter true to enable MAC/PHY conguration/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
endpoint
/restconf/data/interfaces/interface/ethernet1/1/1
JSON content
{
"interface": [{
"name": "ethernet1/1/1",
"lldp-med-cfg": [{
"policy-id": 1
}]
}]
}
Parameters
ethernet-interface — Enter the physical Ethernet interface in the format ethernetnode/slot/
port.
name string — Enter ethernetnode/slot/port to congure the interface that sends LLDP-MED
policy TLVs.
policy-id int — Enter the LLDP-MED network policy number, from 1 to 32.
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"
RESTCONF API 923