NETCONF Configuration Guide
YANG API Reference
loopback-detect
27 min
asternos loopback detect module description asternos model for loopback detect yang tree diagram module asternos loopback detect + rw loopback detect + rw global \| + rw log interval? union \| + rw transmit interval? uint16 + rw interfaces + rw interface \[name] + rw name union + rw status? enumeration + rw recovery interval? uint16 + rw action? loopback detect action rpcs + x show loopback detect status \| + w input \| | + w name? union \| + ro output \| + ro data \| + ro loopback detected interfaces \| + ro loopback detected interface \[name] \| + ro name union \| + ro status? loopback detect action \| + ro vlan? union \| + ro port? union \| + ro time? uint64 + x clear loopback detect status + ro output + ro data? \<anydata> resources resource list path access /loopback detect read write /loopback detect/global read write /loopback detect/global/log interval read write /loopback detect/global/transmit interval read write /loopback detect/interfaces read write /loopback detect/interfaces/interface read write /loopback detect/interfaces/interface/name read write /loopback detect/interfaces/interface/status read write /loopback detect/interfaces/interface/recovery interval read write /loopback detect/interfaces/interface/action read write detailed nodes /loopback detect path /loopback detect node type container description no description available access read write /loopback detect/global path /loopback detect/global node type container description global loop detect configuration access read write /loopback detect/global/log interval path /loopback detect/global/log interval node type leaf description the interface loopback detection alarm message transmission interval specifies the period at which the information of disabled interfaces is printed when the default value is 0, it means that the warning message will not be printed repeatedly access read write data type constraints multiple constraints valid range 10 to 300 valid range 0 /loopback detect/global/transmit interval path /loopback detect/global/transmit interval node type leaf description the interval for periodically sending loopback detection packets users can adjust the loopback detection packet transmission interval based on network conditions a shorter interval results in more loopback detection packets being sent per unit of time, leading to more accurate interface loopback responses, but also consuming more system resources access read write data type constraints valid range 10 to 300 /loopback detect/interfaces path /loopback detect/interfaces node type container description interface specific loopback detection configuration access read write /loopback detect/interfaces/interface path /loopback detect/interfaces/interface node type list description interface entry for loopback configuration access read write /loopback detect/interfaces/interface/name path /loopback detect/interfaces/interface/name node type leaf description the name of the interface to be configured for loopback detection user can configure loopback detection on ethernet interfaces and vlan for example, ethernet1, ethernet2, vlan10, vlan20, etc access read write data type /loopback detect/interfaces/interface/status path /loopback detect/interfaces/interface/status node type leaf description enable or disable loopback detection on the interface when loopback detection is enabled, the system will periodically send loopback detection packets if a loop is detected, the configured action will be applied to the interface if this is applied to a vlan, all ports in the vlan will be affected once a port in this vlan receives a detection packet sending from this vlan's members, it will trigger the configured action if this is applied to an interface, only the specified interface will be affected only when the interface receives a detection packet sending from itself, it will trigger the configured action access read write data type constraints enumeration with options enable disable /loopback detect/interfaces/interface/recovery interval path /loopback detect/interfaces/interface/recovery interval node type leaf description the time for the interface to automatically recover to normal state after detecting a loopback after enabling interface loopback detection, the interface will periodically send loopback detection packets upon detecting a loop, the configured action will be applied to the interface, and a timer will start users can configure the interface recovery time after the specified recovery interval, the system will attempt to recover the interface if the loop is cleared by that time, the interface will be restored to its normal state access read write data type constraints valid range 10 to 65535 /loopback detect/interfaces/interface/action path /loopback detect/interfaces/interface/action node type leaf description policy to apply when loopback is detected, shutdown mode disable interfaces with loop detection configured, block vlan mode blocking vlans where loops occur, default is shutdown access read write data type constraints enumeration with options shutdown logging rpcs show loopback detect status path access /show loopback detect status/input read write /show loopback detect status/input/name read write /show loopback detect status/output read write /show loopback detect status/output/data read write /show loopback detect status/output/data/loopback detected interfaces read write /show loopback detect status/output/data/loopback detected interfaces/loopback detected interface read write /show loopback detect status/output/data/loopback detected interfaces/loopback detected interface/name read write /show loopback detect status/output/data/loopback detected interfaces/loopback detected interface/status read write /show loopback detect status/output/data/loopback detected interfaces/loopback detected interface/vlan read write /show loopback detect status/output/data/loopback detected interfaces/loopback detected interface/port read write /show loopback detect status/output/data/loopback detected interfaces/loopback detected interface/time read write /show loopback detect status/input path /show loopback detect status/input node type container description no description available access read write /show loopback detect status/input/name path /show loopback detect status/input/name node type leaf description the name of the interface to be queried for loopback detection status access read write data type /show loopback detect status/output path /show loopback detect status/output node type container description no description available access read write /show loopback detect status/output/data path /show loopback detect status/output/data node type container description no description available access read write /show loopback detect status/output/data/loopback detected interfaces path /show loopback detect status/output/data/loopback detected interfaces node type container description no description available access read write /show loopback detect status/output/data/loopback detected interfaces/loopback detected interface path /show loopback detect status/output/data/loopback detected interfaces/loopback detected interface node type list description no description available access read write /show loopback detect status/output/data/loopback detected interfaces/loopback detected interface/name path /show loopback detect status/output/data/loopback detected interfaces/loopback detected interface/name node type leaf description the name of the interface to be queried for loopback detection status access read write data type /show loopback detect status/output/data/loopback detected interfaces/loopback detected interface/status path /show loopback detect status/output/data/loopback detected interfaces/loopback detected interface/status node type leaf description indicates whether a loop has been detected on the interface access read write data type constraints enumeration with options shutdown logging /show loopback detect status/output/data/loopback detected interfaces/loopback detected interface/vlan path /show loopback detect status/output/data/loopback detected interfaces/loopback detected interface/vlan node type leaf description the vlan that caused the loop detection on the interface access read write data type /show loopback detect status/output/data/loopback detected interfaces/loopback detected interface/port path /show loopback detect status/output/data/loopback detected interfaces/loopback detected interface/port node type leaf description the port that caused the loop detection on the interface access read write data type /show loopback detect status/output/data/loopback detected interfaces/loopback detected interface/time path /show loopback detect status/output/data/loopback detected interfaces/loopback detected interface/time node type leaf description the time when the loop was detected on the interface access read write data type constraints valid range clear loopback detect status path access /clear loopback detect status/output read write /clear loopback detect status/output/data read write /clear loopback detect status/output path /clear loopback detect status/output node type container description no description available access read write /clear loopback detect status/output/data path /clear loopback detect status/output/data node type anydata description the status of the this operation access read write
