stp
31 min
asternos model for multiple spanning tree protocol \<font color="#1d50a2">yang tree diagram\</font> 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> \<font color="#1d50a2">resources\</font> \<font color="#1d50a2">resource list\</font> 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 \<font color="#1d50a2">detailed nodes\</font> \<font color="#1d50a2">/stp\</font> path /stp node type container description top level grouping for multi spanning tree model access read write \<font color="#1d50a2">/stp/global\</font> path /stp/global node type container description global configuration access read write \<font color="#1d50a2">/stp/global/enabled\</font> 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 \<yang type boolean> constraints valid in \[true, false] \<font color="#1d50a2">/stp/global/protocol\</font> path /stp/global/protocol node type leaf description list of the spanning tree protocols enabled on the device access read write data type \<yang type stp protocol enumeration> constraints enumeration with options stp rstp mstp \<font color="#1d50a2">/stp/stp\</font> path /stp/stp node type container description global configuration access read write constraints when condition /global/protocol = 'stp' \<font color="#1d50a2">/stp/stp/config\</font> path /stp/stp/config node type container description configuration data for stp access read write \<font color="#1d50a2">/stp/stp/config/forward delay\</font> 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 \<yang type uint16> constraints valid range 4 to 30 \<font color="#1d50a2">/stp/stp/config/hello time\</font> path /stp/stp/config/hello time node type leaf description mstp hello time, in seconds access read write data typ \<yang type uint16> constraints valid range 1 to 10 \<font color="#1d50a2">/stp/stp/config/max age\</font> 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 \<yang type uint32> constraints valid range 6 to 40 \<font color="#1d50a2">/stp/stp/config/priority\</font> 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 \<yang type uint8> constraints valid range 0 to 15 \<font color="#1d50a2">/stp/stp/interfaces\</font> path /stp/stp/interfaces node type container access read write \<font color="#1d50a2">/stp/stp/interfaces/interface\</font> path /stp/stp/interfaces/interface node type list description list of mstp instance ports access read write \<font color="#1d50a2">/stp/stp/interfaces/interface/name\</font> path /stp/stp/interfaces/interface/name node type leaf description port name access read write data type \<yang type union> \<font color="#1d50a2">/stp/stp/interfaces/interface/priority\</font> path /stp/stp/interfaces/interface/priority node type leaf description set port priority for the msti access read write data type \<yang type uint8> constraints valid range 0 to 15 \<font color="#1d50a2">/stp/stp/interfaces/interface/state\</font> path /stp/stp/interfaces/interface/state node type container description operational state data for stp on each interface access read only \<font color="#1d50a2">/stp/stp/interfaces/interface/state/role\</font> path /stp/stp/interfaces/interface/state/role node type leaf description the current role of the bridge port access read only data type \<yang type stp port role enumeration> constraints enumeration with options root designated alternate backup master disabled \<font color="#1d50a2">/stp/stp/interfaces/interface/state/port state\</font> path /stp/stp/interfaces/interface/state/port state node type leaf description the current state of the bridge port access read only data type \<yang type stp port state enumeration> constraints enumeration with options listening learning blocking discarding forwarding \<font color="#1d50a2">/stp/rstp\</font> path /stp/rstp node type container description global configuration access read write constraints when condition /global/protocol = 'rstp' \<font color="#1d50a2">/stp/rstp/config\</font> path /stp/rstp/config node type container description configuration data for rstp access read write \<font color="#1d50a2">/stp/rstp/config/forward delay\</font> 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 \<yang type uint16> constraints valid range 4 to 30 \<font color="#1d50a2">/stp/rstp/config/hello time\</font> path /stp/rstp/config/hello time node type leaf description mstp hello time, in seconds access read write data type \<yang type uint16> constraints valid range 1 to 10 \<font color="#1d50a2">/stp/rstp/config/max age\</font> 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 \<yang type uint32> constraints valid range 6 to 40 \<font color="#1d50a2">/stp/rstp/config/priority\</font> 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 \<yang type uint8> constraints valid range 0 to 15 \<font color="#1d50a2">/stp/rstp/interfaces\</font> path /stp/rstp/interfaces node type container access read write \<font color="#1d50a2">/stp/rstp/interfaces/interface\</font> path /stp/rstp/interfaces/interface node type list description list of mstp instance ports access read write \<font color="#1d50a2">/stp/rstp/interfaces/interface/name\</font> path /stp/rstp/interfaces/interface/name node type leaf description port name access read write data type \<yang type union> \<font color="#1d50a2">/stp/rstp/interfaces/interface/priority\</font> path /stp/rstp/interfaces/interface/priority node type leaf description set port priority for the msti access read write data type \<yang type uint8> constraints valid range 0 to 15 \<font color="#1d50a2">/stp/rstp/interfaces/interface/state\</font> path /stp/rstp/interfaces/interface/state node type container description operational state data for stp on each interface access read only \<font color="#1d50a2">/stp/rstp/interfaces/interface/state/role\</font> path /stp/rstp/interfaces/interface/state/role node type leaf description the current role of the bridge port access read only data type \<yang type stp port role enumeration> constraints enumeration with options root designated alternate backup master disabled \<font color="#1d50a2">/stp/rstp/interfaces/interface/state/port state\</font> path /stp/rstp/interfaces/interface/state/port state node type leaf description the current state of the bridge port access read only data type \<yang type stp port state enumeration> constraints enumeration with options listening learning blocking discarding forwarding \<font color="#1d50a2">/stp/mstp\</font> path /stp/mstp node type container description global configuration access read write constraints when condition /global/protocol = 'mstp' \<font color="#1d50a2">/stp/mstp/config\</font> path /stp/mstp/config node type container description configuration data for mstp access read write \<font color="#1d50a2">/stp/mstp/config/name\</font> path /stp/mstp/config/name node type leaf description mst region name access read write data type \<yang type string> constraints string with length 1 to 32 \<font color="#1d50a2">/stp/mstp/config/forward delay\</font> 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 \<yang type uint16> constraints valid range 4 to 30 \<font color="#1d50a2">/stp/mstp/config/hello time\</font> path /stp/mstp/config/hello time node type leaf description mstp hello time, in seconds access read write data type \<yang type uint16> constraints valid range 1 to 10 \<font color="#1d50a2">/stp/mstp/config/max age\</font> 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 \<yang type uint32> constraints valid range 6 to 40 \<font color="#1d50a2">/stp/mstp/instances\</font> path /stp/mstp/instances node type container description configuration and operation data for mstp instances access read write \<font color="#1d50a2">/stp/mstp/instances/instance\</font> path /stp/mstp/instances/instance node type list description list of mstp instances access read write \<font color="#1d50a2">/stp/mstp/instances/instance/id\</font> path /stp/mstp/instances/instance/id node type leaf description mstp instance id access read write data type \<yang type uint16> constraints valid range 0 to 255 \<font color="#1d50a2">/stp/mstp/instances/instance/priority\</font> 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 \<yang type uint8> constraints valid range 0 to 15 \<font color="#1d50a2">/stp/mstp/instances/instance/vlans\</font> path /stp/mstp/instances/instance/vlans node type leaf list description vlan id access read write data type \<yang type vlan id> constraints valid range 1 to 4094 \<font color="#1d50a2">/stp/mstp/instances/instance/interfaces\</font> path /stp/mstp/instances/instance/interfaces node type container access read write \<font color="#1d50a2">/stp/mstp/instances/instance/interfaces/interface\</font> path /stp/mstp/instances/instance/interfaces/interface node type list description list of mstp instance ports access read write \<font color="#1d50a2">/stp/mstp/instances/instance/interfaces/interface/name\</font> path /stp/mstp/instances/instance/interfaces/interface/name node type leaf description port name access read write data type \<yang type union> \<font color="#1d50a2">/stp/mstp/instances/instance/interfaces/interface/priority\</font> path /stp/mstp/instances/instance/interfaces/interface/priority node type leaf description set port priority for the msti access read write data type \<yang type uint8> constraints valid range 0 to 15 \<font color="#1d50a2">/stp/mstp/instances/instance/interfaces/interface/state\</font> path /stp/mstp/instances/instance/interfaces/interface/state node type container description operational state data for stp on each interface access read only \<font color="#1d50a2">/stp/mstp/instances/instance/interfaces/interface/state/role\</font> 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 \<yang type stp port role enumeration> constraints enumeration with options root designated alternate backup master disabled \<font color="#1d50a2">/stp/mstp/instances/instance/interfaces/interface/state/port state\</font> 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 \<yang type stp port state enumeration> constraints enumeration with options listening learning blocking discarding forwarding \<font color="#1d50a2">/stp/interfaces\</font> path /stp/interfaces node type container description enclosing container for the list of interface references access read write \<font color="#1d50a2">/stp/interfaces/interface\</font> path /stp/interfaces/interface node type list description list of interfaces on which mstp is enable access read write \<font color="#1d50a2">/stp/interfaces/interface/name\</font> path /stp/interfaces/interface/name node type leaf description interface name access read write data type \<yang type union> \<font color="#1d50a2">/stp/interfaces/interface/bpdu filter\</font> path /stp/interfaces/interface/bpdu filter node type leaf description configure mstp interface bpdu filter access read write data type \<yang type boolean> constraints valid in \[true, false] \<font color="#1d50a2">/stp/interfaces/interface/bpdu guard\</font> path /stp/interfaces/interface/bpdu guard node type leaf description configure mstp interface bpdu guard access read write data type \<yang type boolean> constraints valid in \[true, false]
