NETCONF Configuration Guide
YANG API Reference
stp
59 min
module description asternos model for multiple spanning tree protocol yang tree diagram module asternos stp + rw stp + rw global \| + rw enabled? boolean \| + rw protocol? stp types\ stp protocol enumeration + rw stp \| + rw config \| | + rw forward delay? uint16 \| | + rw hello time? uint16 \| | + rw max age? uint32 \| | + rw priority? uint8 \| + rw interfaces \| + rw interface \[name] \| + rw name union \| + rw priority? uint8 \| + ro state \| + ro role? stp types\ stp port role enumeration \| + ro port state? stp types\ stp port state enumeration + rw rstp \| + rw config \| | + rw forward delay? uint16 \| | + rw hello time? uint16 \| | + rw max age? uint32 \| | + rw priority? uint8 \| + rw interfaces \| + rw interface \[name] \| + rw name union \| + rw priority? uint8 \| + ro state \| + ro role? stp types\ stp port role enumeration \| + ro port state? stp types\ stp port state enumeration + rw mstp \| + rw config \| | + rw name? string \| | + rw forward delay? uint16 \| | + rw hello time? uint16 \| | + rw max age? uint32 \| + rw instances \| + rw instance \[id] \| + rw id uint16 \| + rw priority? uint8 \| + rw vlans cmn\ vlan id \| + rw interfaces \| + rw interface \[name] \| + rw name union \| + rw priority? uint8 \| + ro state \| + ro role? stp types\ stp port role enumeration \| + ro port state? stp types\ stp port state enumeration + rw interfaces + rw interface \[name] + rw name union + rw bpdu filter? boolean + rw bpdu guard? boolean rpcs + x show stp + w input \| + w status? empty \| + w stp info \| | + w stpid uint16 \| | + w interface name? union \| + w bind? empty + ro output + ro data? \<anydata> resources resource list path access /stp read write /stp/global read write /stp/global/enabled read write /stp/global/protocol read write /stp/stp read write /stp/stp/config read write /stp/stp/config/forward delay read write /stp/stp/config/hello time read write /stp/stp/config/max age read write /stp/stp/config/priority read write /stp/stp/interfaces read write /stp/stp/interfaces/interface read write /stp/stp/interfaces/interface/name read write /stp/stp/interfaces/interface/priority read write /stp/stp/interfaces/interface/state read only /stp/stp/interfaces/interface/state/role read only /stp/stp/interfaces/interface/state/port state read only /stp/rstp read write /stp/rstp/config read write /stp/rstp/config/forward delay read write /stp/rstp/config/hello time read write /stp/rstp/config/max age read write /stp/rstp/config/priority read write /stp/rstp/interfaces read write /stp/rstp/interfaces/interface read write /stp/rstp/interfaces/interface/name read write /stp/rstp/interfaces/interface/priority read write /stp/rstp/interfaces/interface/state read only /stp/rstp/interfaces/interface/state/role read only /stp/rstp/interfaces/interface/state/port state read only /stp/mstp read write /stp/mstp/config read write /stp/mstp/config/name read write /stp/mstp/config/forward delay read write /stp/mstp/config/hello time read write /stp/mstp/config/max age read write /stp/mstp/instances read write /stp/mstp/instances/instance read write /stp/mstp/instances/instance/id read write /stp/mstp/instances/instance/priority read write /stp/mstp/instances/instance/vlans read write /stp/mstp/instances/instance/interfaces read write /stp/mstp/instances/instance/interfaces/interface read write /stp/mstp/instances/instance/interfaces/interface/name read write /stp/mstp/instances/instance/interfaces/interface/priority read write /stp/mstp/instances/instance/interfaces/interface/state read only /stp/mstp/instances/instance/interfaces/interface/state/role read only /stp/mstp/instances/instance/interfaces/interface/state/port state read only /stp/interfaces read write /stp/interfaces/interface read write /stp/interfaces/interface/name read write /stp/interfaces/interface/bpdu filter read write /stp/interfaces/interface/bpdu guard read write detailed nodes /stp path /stp node type container description top level grouping for multi spanning tree model access read write /stp/global path /stp/global node type container description global configuration access read write /stp/global/enabled path /stp/global/enabled node type leaf description mstp status, true means mstp is enabled, false means mstp is disabled access read write data type constraints valid in \[true, false] /stp/global/protocol path /stp/global/protocol node type leaf description list of the spanning tree protocols enabled on the device access read write data type constraints enumeration with options stp rstp mstp /stp/stp path /stp/stp node type container description global configuration access read write constraints when condition /global/protocol = 'stp' /stp/stp/config path /stp/stp/config node type container description configuration data for stp access read write /stp/stp/config/forward delay path /stp/stp/config/forward delay node type leaf description delay time for device state migration, in seconds, must meet 2 (forward delay 1 second) >= max age access read write data type constraints valid range 4 to 30 /stp/stp/config/hello time path /stp/stp/config/hello time node type leaf description mstp hello time, in seconds access read write data type constraints valid range 1 to 10 /stp/stp/config/max age path /stp/stp/config/max age node type leaf description a parameter used to determine whether a configuration message has been stored in the device for an out of date period of time, and the device will discard the out of date configuration message, in seconds, must meet 2 (max age 1 second) >= forward delay access read write data type constraints valid range 6 to 40 /stp/stp/config/priority path /stp/stp/config/priority node type leaf description mstp region priority, once mstp is enabled the value is set to 8 by default access read write data type constraints valid range 0 to 15 /stp/stp/interfaces path /stp/stp/interfaces node type container description no description available access read write /stp/stp/interfaces/interface path /stp/stp/interfaces/interface node type list description list of mstp instance ports access read write /stp/stp/interfaces/interface/name path /stp/stp/interfaces/interface/name node type leaf description port name access read write data type /stp/stp/interfaces/interface/priority path /stp/stp/interfaces/interface/priority node type leaf description set port priority for the msti access read write data type constraints valid range 0 to 15 /stp/stp/interfaces/interface/state path /stp/stp/interfaces/interface/state node type container description operational state data for stp on each interface access read only /stp/stp/interfaces/interface/state/role path /stp/stp/interfaces/interface/state/role node type leaf description the current role of the bridge port access read only data type constraints enumeration with options root designated alternate backup master disabled /stp/stp/interfaces/interface/state/port state path /stp/stp/interfaces/interface/state/port state node type leaf description the current state of the bridge port access read only data type constraints enumeration with options listening learning blocking discarding forwarding /stp/rstp path /stp/rstp node type container description global configuration access read write constraints when condition /global/protocol = 'rstp' /stp/rstp/config path /stp/rstp/config node type container description configuration data for rstp access read write /stp/rstp/config/forward delay path /stp/rstp/config/forward delay node type leaf description delay time for device state migration, in seconds, must meet 2 (forward delay 1 second) >= max age access read write data type constraints valid range 4 to 30 /stp/rstp/config/hello time path /stp/rstp/config/hello time node type leaf description mstp hello time, in seconds access read write data type constraints valid range 1 to 10 /stp/rstp/config/max age path /stp/rstp/config/max age node type leaf description a parameter used to determine whether a configuration message has been stored in the device for an out of date period of time, and the device will discard the out of date configuration message, in seconds, must meet 2 (max age 1 second) >= forward delay access read write data type constraints valid range 6 to 40 /stp/rstp/config/priority path /stp/rstp/config/priority node type leaf description mstp region priority, once mstp is enabled the value is set to 8 by default access read write data type constraints valid range 0 to 15 /stp/rstp/interfaces path /stp/rstp/interfaces node type container description no description available access read write /stp/rstp/interfaces/interface path /stp/rstp/interfaces/interface node type list description list of mstp instance ports access read write /stp/rstp/interfaces/interface/name path /stp/rstp/interfaces/interface/name node type leaf description port name access read write data type /stp/rstp/interfaces/interface/priority path /stp/rstp/interfaces/interface/priority node type leaf description set port priority for the msti access read write data type constraints valid range 0 to 15 /stp/rstp/interfaces/interface/state path /stp/rstp/interfaces/interface/state node type container description operational state data for stp on each interface access read only /stp/rstp/interfaces/interface/state/role path /stp/rstp/interfaces/interface/state/role node type leaf description the current role of the bridge port access read only data type constraints enumeration with options root designated alternate backup master disabled /stp/rstp/interfaces/interface/state/port state path /stp/rstp/interfaces/interface/state/port state node type leaf description the current state of the bridge port access read only data type constraints enumeration with options listening learning blocking discarding forwarding /stp/mstp path /stp/mstp node type container description global configuration access read write constraints when condition /global/protocol = 'mstp' /stp/mstp/config path /stp/mstp/config node type container description configuration data for mstp access read write /stp/mstp/config/name path /stp/mstp/config/name node type leaf description mst region name access read write data type constraints string with length 1 to 32 /stp/mstp/config/forward delay path /stp/mstp/config/forward delay node type leaf description delay time for device state migration, in seconds, must meet 2 (forward delay 1 second) >= max age access read write data type constraints valid range 4 to 30 /stp/mstp/config/hello time path /stp/mstp/config/hello time node type leaf description mstp hello time, in seconds access read write data type constraints valid range 1 to 10 /stp/mstp/config/max age path /stp/mstp/config/max age node type leaf description a parameter used to determine whether a configuration message has been stored in the device for an out of date period of time,and the device will discard the out of date configuration message, in seconds, must meet 2 (max age 1 second) >= forward delay access read write data type constraints valid range 6 to 40 /stp/mstp/instances path /stp/mstp/instances node type container description configuration and operation data for mstp instances access read write /stp/mstp/instances/instance path /stp/mstp/instances/instance node type list description list of mstp instances access read write /stp/mstp/instances/instance/id path /stp/mstp/instances/instance/id node type leaf description mstp instance id access read write data type constraints valid range 0 to 255 /stp/mstp/instances/instance/priority path /stp/mstp/instances/instance/priority node type leaf description mstp region priority, once mstp is enabled the value is set to 8 by default access read write data type constraints valid range 0 to 15 /stp/mstp/instances/instance/vlans path /stp/mstp/instances/instance/vlans node type leaf list description vlan id access read write data type constraints valid range 1 to 4094 /stp/mstp/instances/instance/interfaces path /stp/mstp/instances/instance/interfaces node type container description no description available access read write /stp/mstp/instances/instance/interfaces/interface path /stp/mstp/instances/instance/interfaces/interface node type list description list of mstp instance ports access read write /stp/mstp/instances/instance/interfaces/interface/name path /stp/mstp/instances/instance/interfaces/interface/name node type leaf description port name access read write data type /stp/mstp/instances/instance/interfaces/interface/priority path /stp/mstp/instances/instance/interfaces/interface/priority node type leaf description set port priority for the msti access read write data type constraints valid range 0 to 15 /stp/mstp/instances/instance/interfaces/interface/state path /stp/mstp/instances/instance/interfaces/interface/state node type container description operational state data for stp on each interface access read only /stp/mstp/instances/instance/interfaces/interface/state/role path /stp/mstp/instances/instance/interfaces/interface/state/role node type leaf description the current role of the bridge port access read only data type constraints enumeration with options root designated alternate backup master disabled /stp/mstp/instances/instance/interfaces/interface/state/port state path /stp/mstp/instances/instance/interfaces/interface/state/port state node type leaf description the current state of the bridge port access read only data type constraints enumeration with options listening learning blocking discarding forwarding /stp/interfaces path /stp/interfaces node type container description enclosing container for the list of interface references access read write /stp/interfaces/interface path /stp/interfaces/interface node type list description list of interfaces on which mstp is enable access read write /stp/interfaces/interface/name path /stp/interfaces/interface/name node type leaf description interface name access read write data type /stp/interfaces/interface/bpdu filter path /stp/interfaces/interface/bpdu filter node type leaf description configure mstp interface bpdu filter access read write data type constraints valid in \[true, false] /stp/interfaces/interface/bpdu guard path /stp/interfaces/interface/bpdu guard node type leaf description configure mstp interface bpdu guard access read write data type constraints valid in \[true, false] rpcs show stp path access /show stp/input read write /show stp/input/status read write /show stp/input/stp info read write /show stp/input/stp info/stpid read write /show stp/input/stp info/interface name read write /show stp/input/bind read write /show stp/output read write /show stp/output/data read write /show stp/input path /show stp/input node type container description no description available access read write /show stp/input/status path /show stp/input/status node type leaf description specify the spanning tree protocols access read write data type constraints empty type /show stp/input/stp info path /show stp/input/stp info node type container description no description available access read write /show stp/input/stp info/stpid path /show stp/input/stp info/stpid node type leaf description specify the spanning tree protocols access read write data type constraints valid range 0 to 63 mandatory yes /show stp/input/stp info/interface name path /show stp/input/stp info/interface name node type leaf description interface name access read write data type /show stp/input/bind path /show stp/input/bind node type leaf description show spanning tree mstp bind info access read write data type constraints empty type /show stp/output path /show stp/output node type container description no description available access read write /show stp/output/data path /show stp/output/data node type anydata description show stp status of all instances access read write
