openconfig-spanning-tree-types

openconfig-version: 0.4.1

Description

This module defines types related to the spanning-tree protocol model.

Imports

openconfig-extensions

Defined types

stp-bridge-priority-type

description:
The manageable component of the Bridge Identifier. The bridge priority determines which bridge is selected as the root bridge (lowest priority value is selected as root). Valid values are in the range 0 through 61440, in steps of 4096.

type: uint16

  • range: 0..61440

default: 32768

stp-port-priority-type

description:
The manageable component of the Port Identifier, also known as the Port Priority

type: uint8

  • range: 1..240

stp-guard-type

description:
Type definition for the different STP guard for the switch port

type: enumeration

  • ROOT
    Enable root guard
  • LOOP
    Enable loop guard
  • NONE
    disable guard

description:
Type definition for the different link types

type: enumeration

  • P2P
    Point-to-Point link
  • SHARED
    Shared link

Identities

base: STP_PROTOCOL

description:
base identity for support spanning tree protocol

RSTP

description:
Rapid Spanning Tree Protocol

base identity: STP_PROTOCOL

MSTP

description:
Multiple Spanning Tree Protocol

base identity: STP_PROTOCOL

RAPID_PVST

description:
Rapid Per Vlan Spanning Tree Protocol

base identity: STP_PROTOCOL

base: STP_PORT_STATE

description:
base identity for the different Spanning Tree Protocol port states

DISABLED

description:
A port that is manually isolated from the network

base identity: STP_PORT_STATE

LISTENING

description:
Processing BPDUs and building active toplogy

base identity: STP_PORT_STATE

LEARNING

description:
Building bridging tables; no forwarding of data

base identity: STP_PORT_STATE

BLOCKING

description:
A port that would cause a loop if it were sending data, so it is only receiving BPDUs, untill a topology change removes the possibliity of a loop

base identity: STP_PORT_STATE

FORWARDING

description:
Sending and receiving data, normal operation

base identity: STP_PORT_STATE

base: STP_EDGE_PORT

description:
base identity for the different edge port modes

EDGE_ENABLE

description:
Enable edge port for the bridge port

base identity: STP_EDGE_PORT

EDGE_DISABLE

description:
Disable edge port for the bridge port

base identity: STP_EDGE_PORT

EDGE_AUTO

description:
Enable edge port autodetction for the bridge port

base identity: STP_EDGE_PORT

base: STP_PORT_ROLE

description:
Base identity for the different Spanning Tree Protocol port roles

ROOT

description:
The port that receives the best BPDU on a bridge is the root port

base identity: STP_PORT_ROLE

DESIGNATED

description:
A port is designated if it can send the best BPDU on the segment to which it is connected.

base identity: STP_PORT_ROLE

ALTERNATE

description:
An alternate port receives more useful BPDUs from another bridge and is a port blocked

base identity: STP_PORT_ROLE

BACKUP

description:
A backup port receives more useful BPDUs from the same bridge it is on and is a port blocked

base identity: STP_PORT_ROLE

Data elements

openconfig-spanning-tree

openconfig-version: 0.3.1

Description

This module defines configuration and operational state data for the spanning tree protocol.

Imports

openconfig-spanning-tree-types
openconfig-interfaces
openconfig-types
openconfig-vlan-types
openconfig-yang-types
openconfig-extensions

Data elements

/
stp

description:
Top-level container for spanning tree configuration and state data

nodetype: container (rw)

/stp/
global

description:
Global configuration and state data

nodetype: container (rw)

/stp/global/
config

description:
Global spanning tree configuration

nodetype: container (rw)

/stp/global/config/
enabled-protocol

description:
List of the spanning tree protocols enabled on the device

nodetype: leaf-list (rw)

type: identityref

  • base: oc-stp-types:STP_PROTOCOL

/stp/global/config/
bridge-assurance

description:
Enable bridge assurance to protect against unidirectional link failure

nodetype: leaf (rw)

type: boolean

/stp/global/config/
etherchannel-misconfig-guard

description:
EtherChannel guard detects a misconfigured EtherChannel when interfaces on the switch are configured as an EtherChannel while interfaces on the other device are not or when not all the interfaces on the other device are in the same EtherChannel.

nodetype: leaf (rw)

type: boolean

/stp/global/config/
bpduguard-timeout-recovery

description:
Amount of time, in seconds, the interface receiving BPDUs is disabled. Once the timeout expires, the interface is brought back into service.

nodetype: leaf (rw)

type: uint8

units: seconds

/stp/global/config/
loop-guard

description:
The loop guard default setting for the bridge

nodetype: leaf (rw)

type: boolean

/stp/global/config/
bpdu-guard

description:
Enable edge port BPDU guard

nodetype: leaf (rw)

type: boolean

/stp/global/config/
bpdu-filter

description:
Enable edge port BPDU filter

nodetype: leaf (rw)

type: boolean

/stp/global/
state

description:
Global spanning tree state

nodetype: container (ro)

/stp/global/state/
enabled-protocol

description:
List of the spanning tree protocols enabled on the device

nodetype: leaf-list (ro)

type: identityref

  • base: oc-stp-types:STP_PROTOCOL

/stp/global/state/
bridge-assurance

description:
Enable bridge assurance to protect against unidirectional link failure

nodetype: leaf (ro)

type: boolean

/stp/global/state/
etherchannel-misconfig-guard

description:
EtherChannel guard detects a misconfigured EtherChannel when interfaces on the switch are configured as an EtherChannel while interfaces on the other device are not or when not all the interfaces on the other device are in the same EtherChannel.

nodetype: leaf (ro)

type: boolean

/stp/global/state/
bpduguard-timeout-recovery

description:
Amount of time, in seconds, the interface receiving BPDUs is disabled. Once the timeout expires, the interface is brought back into service.

nodetype: leaf (ro)

type: uint8

units: seconds

/stp/global/state/
loop-guard

description:
The loop guard default setting for the bridge

nodetype: leaf (ro)

type: boolean

/stp/global/state/
bpdu-guard

description:
Enable edge port BPDU guard

nodetype: leaf (ro)

type: boolean

/stp/global/state/
bpdu-filter

description:
Enable edge port BPDU filter

nodetype: leaf (ro)

type: boolean

/stp/
rstp

description:
Rapid Spanning-tree protocol configuration and operation data

nodetype: container (rw)

/stp/rstp/
config

description:
Configuration data for RSTP

nodetype: container (rw)

/stp/rstp/config/
hello-time

description:
The interval between periodic transmissions of configuration messages by designated ports

nodetype: leaf (rw)

type: uint8

  • range: 1..10

units: seconds

/stp/rstp/config/
max-age

description:
The maximum age of the information transmitted by the bridge when it is the root bridge

nodetype: leaf (rw)

type: uint8

  • range: 6..40

units: seconds

/stp/rstp/config/
forwarding-delay

description:
The delay used by STP bridges to transition root and designated ports to forwarding

nodetype: leaf (rw)

type: uint8

  • range: 4..30

units: seconds

/stp/rstp/config/
hold-count

description:
the maximum number of BPDUs per second that the switch can send from an interface

nodetype: leaf (rw)

type: uint8

  • range: 1..10

default: 6

/stp/rstp/config/
bridge-priority

description:
The manageable component of the Bridge Identifier

nodetype: leaf (rw)

type: oc-stp-types:stp-bridge-priority-type

/stp/rstp/
state

description:
Operational state data for RSTP

nodetype: container (ro)

/stp/rstp/state/
hello-time

description:
The interval between periodic transmissions of configuration messages by designated ports

nodetype: leaf (ro)

type: uint8

  • range: 1..10

units: seconds

/stp/rstp/state/
max-age

description:
The maximum age of the information transmitted by the bridge when it is the root bridge

nodetype: leaf (ro)

type: uint8

  • range: 6..40

units: seconds

/stp/rstp/state/
forwarding-delay

description:
The delay used by STP bridges to transition root and designated ports to forwarding

nodetype: leaf (ro)

type: uint8

  • range: 4..30

units: seconds

/stp/rstp/state/
hold-count

description:
the maximum number of BPDUs per second that the switch can send from an interface

nodetype: leaf (ro)

type: uint8

  • range: 1..10

default: 6

/stp/rstp/state/
bridge-priority

description:
The manageable component of the Bridge Identifier

nodetype: leaf (ro)

type: oc-stp-types:stp-bridge-priority-type

/stp/rstp/state/
bridge-address

description:
A unique 48-bit Universally Administered MAC Address assigned to the bridge

nodetype: leaf (ro)

type: oc-yang:mac-address

/stp/rstp/state/
designated-root-priority

description:
The bridge priority of the root of the spanning tree, as determined by the Spanning Tree Protocol, as executed by this node

nodetype: leaf (ro)

type: oc-stp-types:stp-bridge-priority-type

/stp/rstp/state/
designated-root-address

description:
The bridge address of the root of the spanning tree, as determined by the Spanning Tree Protocol, as executed by this node

nodetype: leaf (ro)

type: oc-yang:mac-address

/stp/rstp/state/
root-port

description:
The port number of the port which offers the lowest cost path from this bridge to the root bridge

nodetype: leaf (ro)

type: uint16

/stp/rstp/state/
root-cost

description:
The cost of the path to the root as seen from this bridge

nodetype: leaf (ro)

type: uint32

/stp/rstp/state/
hold-time

description:
This time value determines the interval length during which no more than two Configuration bridge PDUs shall be transmitted by this node

nodetype: leaf (ro)

type: uint8

/stp/rstp/state/
topology-changes

description:
The total number of topology changes detected by this bridge since the management entity was last reset or initialized

nodetype: leaf (ro)

type: oc-yang:counter64

/stp/rstp/state/
last-topology-change

description:
The time at which the last topology change was detected by the bridge entity. The value is expressed relative to the Unix Epoch (Jan 1, 1970 00:00:00 UTC).

nodetype: leaf (ro)

type: oc-types:timeticks64

/stp/rstp/
interfaces

description:
Enclosing container for the list of interface references

nodetype: container (rw)

/stp/rstp/interfaces/
interface

description:
List of interfaces on which STP is enable

nodetype: list (rw)

list keys: [name]

/stp/rstp/interfaces/interface/
name

description:
Reference to the list key

nodetype: leaf (list key) (rw)

type: leafref

  • path reference: ../config/name

/stp/rstp/interfaces/interface/
config

description:
Configuration data for STP on each interface

nodetype: container (rw)

/stp/rstp/interfaces/interface/config/
name

description:
Reference to the STP ethernet interface

nodetype: leaf (rw)

type: oc-if:base-interface-ref

/stp/rstp/interfaces/interface/config/
cost

description:
The port's contribution, when it is the Root Port, to the Root Path Cost for the Bridge

nodetype: leaf (rw)

type: uint32

  • range: 1..200000000

/stp/rstp/interfaces/interface/config/
port-priority

description:
The manageable component of the Port Identifier, also known as the Port Priority

nodetype: leaf (rw)

type: oc-stp-types:stp-port-priority-type

/stp/rstp/interfaces/interface/
state

description:
Operational state data for STP on each interface

nodetype: container (ro)

/stp/rstp/interfaces/interface/state/
name

description:
Reference to the STP ethernet interface

nodetype: leaf (ro)

type: oc-if:base-interface-ref

/stp/rstp/interfaces/interface/state/
cost

description:
The port's contribution, when it is the Root Port, to the Root Path Cost for the Bridge

nodetype: leaf (ro)

type: uint32

  • range: 1..200000000

/stp/rstp/interfaces/interface/state/
port-priority

description:
The manageable component of the Port Identifier, also known as the Port Priority

nodetype: leaf (ro)

type: oc-stp-types:stp-port-priority-type

/stp/rstp/interfaces/interface/state/
port-num

description:
The port number of the bridge port

nodetype: leaf (ro)

type: uint16

/stp/rstp/interfaces/interface/state/
role

description:
The current role of the bridge port

nodetype: leaf (ro)

type: identityref

  • base: oc-stp-types:STP_PORT_ROLE

/stp/rstp/interfaces/interface/state/
port-state

description:
The current state of the bridge port

nodetype: leaf (ro)

type: identityref

  • base: oc-stp-types:STP_PORT_STATE

/stp/rstp/interfaces/interface/state/
designated-root-priority

description:
The bridge priority of the bridge recorded as the root in the configuration BPDUs transmitted by the designated bridge for the segment to which the port is attached

nodetype: leaf (ro)

type: oc-stp-types:stp-bridge-priority-type

/stp/rstp/interfaces/interface/state/
designated-root-address

description:
The bridge address of the bridge recorded as the root in the configuration BPDUs transmitted by the designated bridge for the segment to which the port is attached

nodetype: leaf (ro)

type: oc-yang:mac-address

/stp/rstp/interfaces/interface/state/
designated-cost

description:
The path cost of the Designated Port of the segment connected to this port

nodetype: leaf (ro)

type: uint32

/stp/rstp/interfaces/interface/state/
designated-bridge-priority

description:
The bridge priority of the bridge that this port considers to be the designated bridge for this port's segment.

nodetype: leaf (ro)

type: oc-stp-types:stp-bridge-priority-type

/stp/rstp/interfaces/interface/state/
designated-bridge-address

description:
The bridge address of the bridge that this port considers to be the designated bridge for this port's segment.

nodetype: leaf (ro)

type: oc-yang:mac-address

/stp/rstp/interfaces/interface/state/
designated-port-priority

description:
The Port priority of the port on the Designated Bridge for this port's segment, two octet string

nodetype: leaf (ro)

type: oc-stp-types:stp-port-priority-type

/stp/rstp/interfaces/interface/state/
designated-port-num

description:
The Port number of the port on the Designated Bridge for this port's segment, two octet string

nodetype: leaf (ro)

type: uint16

/stp/rstp/interfaces/interface/state/
forward-transisitions

description:
The number of times this port has transitioned from the Learning state to the Forwarding state

nodetype: leaf (ro)

type: oc-yang:counter64

/stp/rstp/interfaces/interface/state/
counters

description:
The BPDU packet transmition statistics

nodetype: container (ro)

/stp/rstp/interfaces/interface/state/counters/
bpdu-sent

description:
The number of BPDU packet sent

nodetype: leaf (ro)

type: oc-yang:counter64

/stp/rstp/interfaces/interface/state/counters/
bpdu-received

description:
The number of BPDU packet received

nodetype: leaf (ro)

type: oc-yang:counter64

/stp/
mstp

description:
Multi Spanning-tree protocol configuration and operation data

nodetype: container (rw)

/stp/mstp/
config

description:
Configuration data for MSTP

nodetype: container (rw)

/stp/mstp/config/
name

description:
The Configuration Name in the MST Configuration Identifier

nodetype: leaf (rw)

type: string

/stp/mstp/config/
revision

description:
The Revision Level in the MST Configuration Identifier

nodetype: leaf (rw)

type: uint32

/stp/mstp/config/
max-hop

description:
The max hop determines the number of bridges in an MST region that a BPDU can traverse before it is discarded

nodetype: leaf (rw)

type: uint8

  • range: 1..255

/stp/mstp/config/
hello-time

description:
The interval between periodic transmissions of configuration messages by designated ports

nodetype: leaf (rw)

type: uint8

  • range: 1..10

units: seconds

/stp/mstp/config/
max-age

description:
The maximum age of the information transmitted by the bridge when it is the root bridge

nodetype: leaf (rw)

type: uint8

  • range: 6..40

units: seconds

/stp/mstp/config/
forwarding-delay

description:
The delay used by STP bridges to transition root and designated ports to forwarding

nodetype: leaf (rw)

type: uint8

  • range: 4..30

units: seconds

/stp/mstp/config/
hold-count

description:
the maximum number of BPDUs per second that the switch can send from an interface

nodetype: leaf (rw)

type: uint8

  • range: 1..10

default: 6

/stp/mstp/
state

description:
Operational data for MSTP

nodetype: container (ro)

/stp/mstp/state/
name

description:
The Configuration Name in the MST Configuration Identifier

nodetype: leaf (ro)

type: string

/stp/mstp/state/
revision

description:
The Revision Level in the MST Configuration Identifier

nodetype: leaf (ro)

type: uint32

/stp/mstp/state/
max-hop

description:
The max hop determines the number of bridges in an MST region that a BPDU can traverse before it is discarded

nodetype: leaf (ro)

type: uint8

  • range: 1..255

/stp/mstp/state/
hello-time

description:
The interval between periodic transmissions of configuration messages by designated ports

nodetype: leaf (ro)

type: uint8

  • range: 1..10

units: seconds

/stp/mstp/state/
max-age

description:
The maximum age of the information transmitted by the bridge when it is the root bridge

nodetype: leaf (ro)

type: uint8

  • range: 6..40

units: seconds

/stp/mstp/state/
forwarding-delay

description:
The delay used by STP bridges to transition root and designated ports to forwarding

nodetype: leaf (ro)

type: uint8

  • range: 4..30

units: seconds

/stp/mstp/state/
hold-count

description:
the maximum number of BPDUs per second that the switch can send from an interface

nodetype: leaf (ro)

type: uint8

  • range: 1..10

default: 6

/stp/mstp/
mst-instances

description:
Configuration and operation data for MSTP instances

nodetype: container (rw)

/stp/mstp/mst-instances/
mst-instance

description:
List of the mstp instances

nodetype: list (rw)

list keys: [mst-id]

/stp/mstp/mst-instances/mst-instance/
mst-id

description:
Reference to the list key

nodetype: leaf (list key) (rw)

type: leafref

  • path reference: ../config/mst-id

/stp/mstp/mst-instances/mst-instance/
config

description:
Configuration data for MSTP instance

nodetype: container (rw)

/stp/mstp/mst-instances/mst-instance/config/
mst-id

description:
In an MSTP Bridge, an MSTID, i.e., a value used to identify a spanning tree (or MST) instance.

nodetype: leaf (rw)

type: uint16

  • range: 1..4094

/stp/mstp/mst-instances/mst-instance/config/
vlan

description:
list of vlans mapped to the MST instance

nodetype: leaf-list (rw)

type: union

    type: oc-vlan-types:vlan-id

    type: oc-vlan-types:vlan-range

/stp/mstp/mst-instances/mst-instance/config/
bridge-priority

description:
The manageable component of the Bridge Identifier

nodetype: leaf (rw)

type: oc-stp-types:stp-bridge-priority-type

/stp/mstp/mst-instances/mst-instance/
state

description:
Operational data for MSTP instance

nodetype: container (ro)

/stp/mstp/mst-instances/mst-instance/state/
mst-id

description:
In an MSTP Bridge, an MSTID, i.e., a value used to identify a spanning tree (or MST) instance.

nodetype: leaf (ro)

type: uint16

  • range: 1..4094

/stp/mstp/mst-instances/mst-instance/state/
vlan

description:
list of vlans mapped to the MST instance

nodetype: leaf-list (ro)

type: union

    type: oc-vlan-types:vlan-id

    type: oc-vlan-types:vlan-range

/stp/mstp/mst-instances/mst-instance/state/
bridge-priority

description:
The manageable component of the Bridge Identifier

nodetype: leaf (ro)

type: oc-stp-types:stp-bridge-priority-type

/stp/mstp/mst-instances/mst-instance/state/
bridge-address

description:
A unique 48-bit Universally Administered MAC Address assigned to the bridge

nodetype: leaf (ro)

type: oc-yang:mac-address

/stp/mstp/mst-instances/mst-instance/state/
designated-root-priority

description:
The bridge priority of the root of the spanning tree, as determined by the Spanning Tree Protocol, as executed by this node

nodetype: leaf (ro)

type: oc-stp-types:stp-bridge-priority-type

/stp/mstp/mst-instances/mst-instance/state/
designated-root-address

description:
The bridge address of the root of the spanning tree, as determined by the Spanning Tree Protocol, as executed by this node

nodetype: leaf (ro)

type: oc-yang:mac-address

/stp/mstp/mst-instances/mst-instance/state/
root-port

description:
The port number of the port which offers the lowest cost path from this bridge to the root bridge

nodetype: leaf (ro)

type: uint16

/stp/mstp/mst-instances/mst-instance/state/
root-cost

description:
The cost of the path to the root as seen from this bridge

nodetype: leaf (ro)

type: uint32

/stp/mstp/mst-instances/mst-instance/state/
hold-time

description:
This time value determines the interval length during which no more than two Configuration bridge PDUs shall be transmitted by this node

nodetype: leaf (ro)

type: uint8

/stp/mstp/mst-instances/mst-instance/state/
topology-changes

description:
The total number of topology changes detected by this bridge since the management entity was last reset or initialized

nodetype: leaf (ro)

type: oc-yang:counter64

/stp/mstp/mst-instances/mst-instance/state/
last-topology-change

description:
The time at which the last topology change was detected by the bridge entity. The value is expressed relative to the Unix Epoch (Jan 1, 1970 00:00:00 UTC).

nodetype: leaf (ro)

type: oc-types:timeticks64

/stp/mstp/mst-instances/mst-instance/
interfaces

description:
Enclosing container for the list of interface references

nodetype: container (rw)

/stp/mstp/mst-instances/mst-instance/interfaces/
interface

description:
List of interfaces on which STP is enable

nodetype: list (rw)

list keys: [name]

/stp/mstp/mst-instances/mst-instance/interfaces/interface/
name

description:
Reference to the list key

nodetype: leaf (list key) (rw)

type: leafref

  • path reference: ../config/name

/stp/mstp/mst-instances/mst-instance/interfaces/interface/
config

description:
Configuration data for STP on each interface

nodetype: container (rw)

/stp/mstp/mst-instances/mst-instance/interfaces/interface/config/
name

description:
Reference to the STP ethernet interface

nodetype: leaf (rw)

type: oc-if:base-interface-ref

/stp/mstp/mst-instances/mst-instance/interfaces/interface/config/
cost

description:
The port's contribution, when it is the Root Port, to the Root Path Cost for the Bridge

nodetype: leaf (rw)

type: uint32

  • range: 1..200000000

/stp/mstp/mst-instances/mst-instance/interfaces/interface/config/
port-priority

description:
The manageable component of the Port Identifier, also known as the Port Priority

nodetype: leaf (rw)

type: oc-stp-types:stp-port-priority-type

/stp/mstp/mst-instances/mst-instance/interfaces/interface/
state

description:
Operational state data for STP on each interface

nodetype: container (ro)

/stp/mstp/mst-instances/mst-instance/interfaces/interface/state/
name

description:
Reference to the STP ethernet interface

nodetype: leaf (ro)

type: oc-if:base-interface-ref

/stp/mstp/mst-instances/mst-instance/interfaces/interface/state/
cost

description:
The port's contribution, when it is the Root Port, to the Root Path Cost for the Bridge

nodetype: leaf (ro)

type: uint32

  • range: 1..200000000

/stp/mstp/mst-instances/mst-instance/interfaces/interface/state/
port-priority

description:
The manageable component of the Port Identifier, also known as the Port Priority

nodetype: leaf (ro)

type: oc-stp-types:stp-port-priority-type

/stp/mstp/mst-instances/mst-instance/interfaces/interface/state/
port-num

description:
The port number of the bridge port

nodetype: leaf (ro)

type: uint16

/stp/mstp/mst-instances/mst-instance/interfaces/interface/state/
role

description:
The current role of the bridge port

nodetype: leaf (ro)

type: identityref

  • base: oc-stp-types:STP_PORT_ROLE

/stp/mstp/mst-instances/mst-instance/interfaces/interface/state/
port-state

description:
The current state of the bridge port

nodetype: leaf (ro)

type: identityref

  • base: oc-stp-types:STP_PORT_STATE

/stp/mstp/mst-instances/mst-instance/interfaces/interface/state/
designated-root-priority

description:
The bridge priority of the bridge recorded as the root in the configuration BPDUs transmitted by the designated bridge for the segment to which the port is attached

nodetype: leaf (ro)

type: oc-stp-types:stp-bridge-priority-type

/stp/mstp/mst-instances/mst-instance/interfaces/interface/state/
designated-root-address

description:
The bridge address of the bridge recorded as the root in the configuration BPDUs transmitted by the designated bridge for the segment to which the port is attached

nodetype: leaf (ro)

type: oc-yang:mac-address

/stp/mstp/mst-instances/mst-instance/interfaces/interface/state/
designated-cost

description:
The path cost of the Designated Port of the segment connected to this port

nodetype: leaf (ro)

type: uint32

/stp/mstp/mst-instances/mst-instance/interfaces/interface/state/
designated-bridge-priority

description:
The bridge priority of the bridge that this port considers to be the designated bridge for this port's segment.

nodetype: leaf (ro)

type: oc-stp-types:stp-bridge-priority-type

/stp/mstp/mst-instances/mst-instance/interfaces/interface/state/
designated-bridge-address

description:
The bridge address of the bridge that this port considers to be the designated bridge for this port's segment.

nodetype: leaf (ro)

type: oc-yang:mac-address

/stp/mstp/mst-instances/mst-instance/interfaces/interface/state/
designated-port-priority

description:
The Port priority of the port on the Designated Bridge for this port's segment, two octet string

nodetype: leaf (ro)

type: oc-stp-types:stp-port-priority-type

/stp/mstp/mst-instances/mst-instance/interfaces/interface/state/
designated-port-num

description:
The Port number of the port on the Designated Bridge for this port's segment, two octet string

nodetype: leaf (ro)

type: uint16

/stp/mstp/mst-instances/mst-instance/interfaces/interface/state/
forward-transisitions

description:
The number of times this port has transitioned from the Learning state to the Forwarding state

nodetype: leaf (ro)

type: oc-yang:counter64

/stp/mstp/mst-instances/mst-instance/interfaces/interface/state/
counters

description:
The BPDU packet transmition statistics

nodetype: container (ro)

/stp/mstp/mst-instances/mst-instance/interfaces/interface/state/counters/
bpdu-sent

description:
The number of BPDU packet sent

nodetype: leaf (ro)

type: oc-yang:counter64

/stp/mstp/mst-instances/mst-instance/interfaces/interface/state/counters/
bpdu-received

description:
The number of BPDU packet received

nodetype: leaf (ro)

type: oc-yang:counter64

/stp/
rapid-pvst

description:
Rapid per vlan Spanning-tree protocol configuration and operational data

nodetype: container (rw)

/stp/rapid-pvst/
vlan

description:
List of the vlans

nodetype: list (rw)

list keys: [vlan-id]

/stp/rapid-pvst/vlan/
vlan-id

description:
Reference to the list key

nodetype: leaf (list key) (rw)

type: leafref

  • path reference: ../config/vlan-id

/stp/rapid-pvst/vlan/
config

description:
Configuration data for each vlan

nodetype: container (rw)

/stp/rapid-pvst/vlan/config/
vlan-id

description:
Interface VLAN ID

nodetype: leaf (rw)

type: oc-vlan-types:vlan-id

/stp/rapid-pvst/vlan/config/
hello-time

description:
The interval between periodic transmissions of configuration messages by designated ports

nodetype: leaf (rw)

type: uint8

  • range: 1..10

units: seconds

/stp/rapid-pvst/vlan/config/
max-age

description:
The maximum age of the information transmitted by the bridge when it is the root bridge

nodetype: leaf (rw)

type: uint8

  • range: 6..40

units: seconds

/stp/rapid-pvst/vlan/config/
forwarding-delay

description:
The delay used by STP bridges to transition root and designated ports to forwarding

nodetype: leaf (rw)

type: uint8

  • range: 4..30

units: seconds

/stp/rapid-pvst/vlan/config/
hold-count

description:
the maximum number of BPDUs per second that the switch can send from an interface

nodetype: leaf (rw)

type: uint8

  • range: 1..10

default: 6

/stp/rapid-pvst/vlan/config/
bridge-priority

description:
The manageable component of the Bridge Identifier

nodetype: leaf (rw)

type: oc-stp-types:stp-bridge-priority-type

/stp/rapid-pvst/vlan/
state

description:
Operational data for each vlan

nodetype: container (ro)

/stp/rapid-pvst/vlan/state/
vlan-id

description:
Interface VLAN ID

nodetype: leaf (ro)

type: oc-vlan-types:vlan-id

/stp/rapid-pvst/vlan/state/
hello-time

description:
The interval between periodic transmissions of configuration messages by designated ports

nodetype: leaf (ro)

type: uint8

  • range: 1..10

units: seconds

/stp/rapid-pvst/vlan/state/
max-age

description:
The maximum age of the information transmitted by the bridge when it is the root bridge

nodetype: leaf (ro)

type: uint8

  • range: 6..40

units: seconds

/stp/rapid-pvst/vlan/state/
forwarding-delay

description:
The delay used by STP bridges to transition root and designated ports to forwarding

nodetype: leaf (ro)

type: uint8

  • range: 4..30

units: seconds

/stp/rapid-pvst/vlan/state/
hold-count

description:
the maximum number of BPDUs per second that the switch can send from an interface

nodetype: leaf (ro)

type: uint8

  • range: 1..10

default: 6

/stp/rapid-pvst/vlan/state/
bridge-priority

description:
The manageable component of the Bridge Identifier

nodetype: leaf (ro)

type: oc-stp-types:stp-bridge-priority-type

/stp/rapid-pvst/vlan/state/
bridge-address

description:
A unique 48-bit Universally Administered MAC Address assigned to the bridge

nodetype: leaf (ro)

type: oc-yang:mac-address

/stp/rapid-pvst/vlan/state/
designated-root-priority

description:
The bridge priority of the root of the spanning tree, as determined by the Spanning Tree Protocol, as executed by this node

nodetype: leaf (ro)

type: oc-stp-types:stp-bridge-priority-type

/stp/rapid-pvst/vlan/state/
designated-root-address

description:
The bridge address of the root of the spanning tree, as determined by the Spanning Tree Protocol, as executed by this node

nodetype: leaf (ro)

type: oc-yang:mac-address

/stp/rapid-pvst/vlan/state/
root-port

description:
The port number of the port which offers the lowest cost path from this bridge to the root bridge

nodetype: leaf (ro)

type: uint16

/stp/rapid-pvst/vlan/state/
root-cost

description:
The cost of the path to the root as seen from this bridge

nodetype: leaf (ro)

type: uint32

/stp/rapid-pvst/vlan/state/
hold-time

description:
This time value determines the interval length during which no more than two Configuration bridge PDUs shall be transmitted by this node

nodetype: leaf (ro)

type: uint8

/stp/rapid-pvst/vlan/state/
topology-changes

description:
The total number of topology changes detected by this bridge since the management entity was last reset or initialized

nodetype: leaf (ro)

type: oc-yang:counter64

/stp/rapid-pvst/vlan/state/
last-topology-change

description:
The time at which the last topology change was detected by the bridge entity. The value is expressed relative to the Unix Epoch (Jan 1, 1970 00:00:00 UTC).

nodetype: leaf (ro)

type: oc-types:timeticks64

/stp/rapid-pvst/vlan/
interfaces

description:
Enclosing container for the list of interface references

nodetype: container (rw)

/stp/rapid-pvst/vlan/interfaces/
interface

description:
List of interfaces on which STP is enable

nodetype: list (rw)

list keys: [name]

/stp/rapid-pvst/vlan/interfaces/interface/
name

description:
Reference to the list key

nodetype: leaf (list key) (rw)

type: leafref

  • path reference: ../config/name

/stp/rapid-pvst/vlan/interfaces/interface/
config

description:
Configuration data for STP on each interface

nodetype: container (rw)

/stp/rapid-pvst/vlan/interfaces/interface/config/
name

description:
Reference to the STP ethernet interface

nodetype: leaf (rw)

type: oc-if:base-interface-ref

/stp/rapid-pvst/vlan/interfaces/interface/config/
cost

description:
The port's contribution, when it is the Root Port, to the Root Path Cost for the Bridge

nodetype: leaf (rw)

type: uint32

  • range: 1..200000000

/stp/rapid-pvst/vlan/interfaces/interface/config/
port-priority

description:
The manageable component of the Port Identifier, also known as the Port Priority

nodetype: leaf (rw)

type: oc-stp-types:stp-port-priority-type

/stp/rapid-pvst/vlan/interfaces/interface/
state

description:
Operational state data for STP on each interface

nodetype: container (ro)

/stp/rapid-pvst/vlan/interfaces/interface/state/
name

description:
Reference to the STP ethernet interface

nodetype: leaf (ro)

type: oc-if:base-interface-ref

/stp/rapid-pvst/vlan/interfaces/interface/state/
cost

description:
The port's contribution, when it is the Root Port, to the Root Path Cost for the Bridge

nodetype: leaf (ro)

type: uint32

  • range: 1..200000000

/stp/rapid-pvst/vlan/interfaces/interface/state/
port-priority

description:
The manageable component of the Port Identifier, also known as the Port Priority

nodetype: leaf (ro)

type: oc-stp-types:stp-port-priority-type

/stp/rapid-pvst/vlan/interfaces/interface/state/
port-num

description:
The port number of the bridge port

nodetype: leaf (ro)

type: uint16

/stp/rapid-pvst/vlan/interfaces/interface/state/
role

description:
The current role of the bridge port

nodetype: leaf (ro)

type: identityref

  • base: oc-stp-types:STP_PORT_ROLE

/stp/rapid-pvst/vlan/interfaces/interface/state/
port-state

description:
The current state of the bridge port

nodetype: leaf (ro)

type: identityref

  • base: oc-stp-types:STP_PORT_STATE

/stp/rapid-pvst/vlan/interfaces/interface/state/
designated-root-priority

description:
The bridge priority of the bridge recorded as the root in the configuration BPDUs transmitted by the designated bridge for the segment to which the port is attached

nodetype: leaf (ro)

type: oc-stp-types:stp-bridge-priority-type

/stp/rapid-pvst/vlan/interfaces/interface/state/
designated-root-address

description:
The bridge address of the bridge recorded as the root in the configuration BPDUs transmitted by the designated bridge for the segment to which the port is attached

nodetype: leaf (ro)

type: oc-yang:mac-address

/stp/rapid-pvst/vlan/interfaces/interface/state/
designated-cost

description:
The path cost of the Designated Port of the segment connected to this port

nodetype: leaf (ro)

type: uint32

/stp/rapid-pvst/vlan/interfaces/interface/state/
designated-bridge-priority

description:
The bridge priority of the bridge that this port considers to be the designated bridge for this port's segment.

nodetype: leaf (ro)

type: oc-stp-types:stp-bridge-priority-type

/stp/rapid-pvst/vlan/interfaces/interface/state/
designated-bridge-address

description:
The bridge address of the bridge that this port considers to be the designated bridge for this port's segment.

nodetype: leaf (ro)

type: oc-yang:mac-address

/stp/rapid-pvst/vlan/interfaces/interface/state/
designated-port-priority

description:
The Port priority of the port on the Designated Bridge for this port's segment, two octet string

nodetype: leaf (ro)

type: oc-stp-types:stp-port-priority-type

/stp/rapid-pvst/vlan/interfaces/interface/state/
designated-port-num

description:
The Port number of the port on the Designated Bridge for this port's segment, two octet string

nodetype: leaf (ro)

type: uint16

/stp/rapid-pvst/vlan/interfaces/interface/state/
forward-transisitions

description:
The number of times this port has transitioned from the Learning state to the Forwarding state

nodetype: leaf (ro)

type: oc-yang:counter64

/stp/rapid-pvst/vlan/interfaces/interface/state/
counters

description:
The BPDU packet transmition statistics

nodetype: container (ro)

/stp/rapid-pvst/vlan/interfaces/interface/state/counters/
bpdu-sent

description:
The number of BPDU packet sent

nodetype: leaf (ro)

type: oc-yang:counter64

/stp/rapid-pvst/vlan/interfaces/interface/state/counters/
bpdu-received

description:
The number of BPDU packet received

nodetype: leaf (ro)

type: oc-yang:counter64

/stp/
interfaces

description:
Enclosing container for the list of interface references

nodetype: container (rw)

/stp/interfaces/
interface

description:
List of interfaces on which STP is enable

nodetype: list (rw)

list keys: [name]

/stp/interfaces/interface/
name

description:
Reference to the list key

nodetype: leaf (list key) (rw)

type: leafref

  • path reference: ../config/name

/stp/interfaces/interface/
config

description:
Configuration data for STP on each bridge port

nodetype: container (rw)

/stp/interfaces/interface/config/
name

description:
Reference to the STP Ethernet interface

nodetype: leaf (rw)

type: oc-if:base-interface-ref

/stp/interfaces/interface/config/
edge-port

description:
Configure the edge port state

nodetype: leaf (rw)

type: identityref

  • base: oc-stp-types:STP_EDGE_PORT

description:
specifies the interface's link type

nodetype: leaf (rw)

type: oc-stp-types:stp-link-type

/stp/interfaces/interface/config/
guard

description:
Enable root guard or loop guard

nodetype: leaf (rw)

type: oc-stp-types:stp-guard-type

/stp/interfaces/interface/config/
bpdu-guard

description:
Enable edge port BPDU guard

nodetype: leaf (rw)

type: boolean

/stp/interfaces/interface/config/
bpdu-filter

description:
Enable edge port BPDU filter

nodetype: leaf (rw)

type: boolean

/stp/interfaces/interface/
state

description:
Operational state data for STP on each bridge port

nodetype: container (ro)

/stp/interfaces/interface/state/
name

description:
Reference to the STP Ethernet interface

nodetype: leaf (ro)

type: oc-if:base-interface-ref

/stp/interfaces/interface/state/
edge-port

description:
Configure the edge port state

nodetype: leaf (ro)

type: identityref

  • base: oc-stp-types:STP_EDGE_PORT

description:
specifies the interface's link type

nodetype: leaf (ro)

type: oc-stp-types:stp-link-type

/stp/interfaces/interface/state/
guard

description:
Enable root guard or loop guard

nodetype: leaf (ro)

type: oc-stp-types:stp-guard-type

/stp/interfaces/interface/state/
bpdu-guard

description:
Enable edge port BPDU guard

nodetype: leaf (ro)

type: boolean

/stp/interfaces/interface/state/
bpdu-filter

description:
Enable edge port BPDU filter

nodetype: leaf (ro)

type: boolean