NETCONF Configuration Guide
YANG API Reference
lldp
26 min
asternos lldp module description asternos yang model for lldp(link layer discovery protocol) yang tree diagram module asternos lldp + rw lldp ports \| + rw lldp port \[ifname] \| + rw ifname cmn\ ethernet port name \| + rw vid? uint32 \| + rw vlan type? enumeration \| + rw priority? uint32 \| + rw dscp? uint32 + rw lldp global + rw global portid subtype? enumeration + rw management address? management ip + rw dot3 power? boolean + rw med power? boolean + rw admin status? boolean rpcs + x show lldp table \| + ro output \| + ro data? \<anydata> + x show lldp ports med policy \| + ro output \| + ro data? \<anydata> + x show lldp neighbor + w input \| + w port? cmn\ ethernet port name + ro output + ro data? \<anydata> resources resource list path access /lldp ports read write /lldp ports/lldp port read write /lldp ports/lldp port/ifname read write /lldp ports/lldp port/vid read write /lldp ports/lldp port/vlan type read write /lldp ports/lldp port/priority read write /lldp ports/lldp port/dscp read write /lldp global read write /lldp global/global portid subtype read write /lldp global/management address read write /lldp global/dot3 power read write /lldp global/med power read write /lldp global/admin status read write detailed nodes /lldp ports path /lldp ports node type container description lldp port med policy configuration access read write /lldp ports/lldp port path /lldp ports/lldp port node type list description the list of port on the device access read write /lldp ports/lldp port/ifname path /lldp ports/lldp port/ifname node type leaf description port name of current port access read write data type /lldp ports/lldp port/vid path /lldp ports/lldp port/vid node type leaf description vlan id to advertise access read write data type constraints valid range /lldp ports/lldp port/vlan type path /lldp ports/lldp port/vlan type node type leaf description set tagged/untagged flag access read write data type constraints enumeration with options tagged untagged /lldp ports/lldp port/priority path /lldp ports/lldp port/priority node type leaf description med policy priority access read write data type constraints valid range 0 to 7 /lldp ports/lldp port/dscp path /lldp ports/lldp port/dscp node type leaf description dscp value to advertise access read write data type constraints valid range 0 to 63 /lldp global path /lldp global node type container description lldp global parameters access read write /lldp global/global portid subtype path /lldp global/global portid subtype node type leaf description type of portid access read write data type constraints enumeration with options ifname macaddress /lldp global/management address path /lldp global/management address node type leaf description lldp management address configuration access read write data type constraints multiple constraints the ipv6 address type represents an ipv6 address in full, mixed, shortened, and shortened mixed notation the ipv6 address may include a zone index, separated by a % sign if a system uses zone names that are not represented in utf 8, then an implementation needs to use some mechanism to transform the local name into utf 8 the definition of such a mechanism is outside the scope of this document the zone index is used to disambiguate identical address values for link local addresses, the zone index will typically be the interface index number or the name of an interface if the zone index is not present, the default zone of the device will be used the canonical format of ipv6 addresses uses the textual representation defined in section 4 of rfc 5952 the canonical format for the zone index is the numerical format as described in section 11 2 of rfc 4007 the ipv4 address type represents an ipv4 address in dotted quad notation the ipv4 address may include a zone index, separated by a % sign if a system uses zone names that are not represented in utf 8, then an implementation needs to use some mechanism to transform the local name into utf 8 the definition of such a mechanism is outside the scope of this document the zone index is used to disambiguate identical address values for link local addresses, the zone index will typically be the interface index number or the name of an interface if the zone index is not present, the default zone of the device will be used the canonical format for the zone index is the numerical format /lldp global/dot3 power path /lldp global/dot3 power node type leaf description lldp management dot3 power configuration access read write data type constraints valid in \[true, false] /lldp global/med power path /lldp global/med power node type leaf description lldp management med power configuration access read write data type constraints valid in \[true, false] /lldp global/admin status path /lldp global/admin status node type leaf description administrative status of all port access read write data type constraints valid in \[true, false] rpcs show lldp table path access /show lldp table/output read write /show lldp table/output/data read write /show lldp table/output path /show lldp table/output node type container description no description available access read write /show lldp table/output/data path /show lldp table/output/data node type anydata description show lldp neighbors in tabular format access read write show lldp ports med policy path access /show lldp ports med policy/output read write /show lldp ports med policy/output/data read write /show lldp ports med policy/output path /show lldp ports med policy/output node type container description no description available access read write /show lldp ports med policy/output/data path /show lldp ports med policy/output/data node type anydata description show lldp ports med pollicy configuration access read write show lldp neighbor path access /show lldp neighbor/input read write /show lldp neighbor/input/port read write /show lldp neighbor/output read write /show lldp neighbor/output/data read write /show lldp neighbor/input path /show lldp neighbor/input node type container description no description available access read write /show lldp neighbor/input/port path /show lldp neighbor/input/port node type leaf description the name of the port access read write data type /show lldp neighbor/output path /show lldp neighbor/output node type container description no description available access read write /show lldp neighbor/output/data path /show lldp neighbor/output/data node type anydata description show lldp neighbor summary or specified port information access read write
