Cisco-IOS-XE-spanning-tree-oper

YANG Data Model Tree Structure

View YANG Source on GitHub →

📚 API Documentation & Navigation

📄 Swagger API Spec 📂 Browse Operational State APIs 🌳 All Trees

📋 Module Metadata

Namespace: http://cisco.com/ns/yang/Cisco-IOS-XE-spanning-tree-oper

Prefix: spanning_tree_o

Related Modules:
Cisco-IOS-XE-aaa-oper
Cisco-IOS-XE-acl-oper
Cisco-IOS-XE-app-cflowd-oper
Cisco-IOS-XE-app-hosting-oper
Cisco-IOS-XE-appqoe-http-oper

💡 Example Usage

# GET operational data
curl -X GET \
  -H "Accept: application/yang-data+json" \
  -u admin:password \
  --insecure \
  https://device-ip/restconf/data/Cisco-IOS-XE-spanning-tree-oper

📚 External Documentation

💻 YANG Source📖 YANG Catalog🌐 DevNet Guide
module: Cisco-IOS-XE-spanning-tree-oper
  +--ro stp-details
     +--ro stp-detail* [instance]
     |  +--ro instance                        string
     |  +--ro hello-time?                     int32
     |  +--ro max-age?                        int32
     |  +--ro forwarding-delay?               int32
     |  +--ro hold-count?                     uint32
     |  +--ro bridge-priority?                uint16
     |  +--ro bridge-address?                 yang:mac-address
     |  +--ro designated-root-priority?       uint32
     |  +--ro designated-root-address?        yang:mac-address
     |  +--ro root-port?                      uint16
     |  +--ro root-cost?                      uint64
     |  +--ro hold-time?                      uint64
     |  +--ro topology-changes?               uint64
     |  +--ro time-of-last-topology-change?   yang:date-and-time
     |  +--ro interfaces
     |  |  +--ro interface* [name]
     |  |     +--ro name                          string
     |  |     +--ro cost?                         uint64
     |  |     +--ro port-priority?                uint16
     |  |     +--ro port-num?                     uint16
     |  |     +--ro role?                         stp-ios-xe-oper:stp-port-role
     |  |     +--ro state?                        stp-ios-xe-oper:stp-port-state
     |  |     +--ro designated-root-priority?     uint32
     |  |     +--ro designated-root-address?      yang:mac-address
     |  |     +--ro designated-cost?              uint32
     |  |     +--ro designated-bridge-priority?   uint32
     |  |     +--ro designated-bridge-address?    yang:mac-address
     |  |     +--ro designated-port-priority?     uint16
     |  |     +--ro designated-port-num?          uint16
     |  |     +--ro forward-transitions?          uint64
     |  |     +--ro link-type?                    stp-ios-xe-oper:stp-link-role
     |  |     +--ro guard?                        stp-ios-xe-oper:stp-port-guard
     |  |     +--ro bpdu-guard?                   stp-ios-xe-oper:stp-port-bpduguard
     |  |     +--ro bpdu-filter?                  stp-ios-xe-oper:stp-port-bpdufilter
     |  |     +--ro bpdu-sent?                    uint64
     |  |     +--ro bpdu-received?                uint64
     |  |     +--ro oper-p2p?                     empty
     |  |     +--ro oper-portfast-edge?           empty
     |  |     +--ro guard-status?                 stp-ios-xe-oper:stp-inconsistency-status
     |  |     +--ro agg-port-id?                  uint16
     |  |     +--ro legacy?                       empty
     |  +--ro root-if-name?                   string
     |  +--ro protocol?                       stp-ios-xe-oper:stp-protocol-status
     |  +--ro aging-time?                     uint32
     +--ro stp-vlan* [id]
     |  +--ro id                uint16
     |  +--ro inst?             string
     |  +--ro vlan-mode?        stp-ios-xe-oper:stp-mode
     |  +--ro des-root-pri?     uint32
     |  +--ro des-root-addr?    yang:mac-address
     |  +--ro bridge-is-root?   empty
     |  +--ro des-brg-pri?      uint32
     |  +--ro des-brg-addr?     yang:mac-address
     |  +--ro vlan-cost?        uint64
     |  +--ro vlan-port-num?    uint16
     |  +--ro stp-vlan-if* [if-name]
     |     +--ro if-name     string
     |     +--ro cost?       uint64
     |     +--ro port-pri?   uint16
     |     +--ro port-num?   uint16
     |     +--ro role?       stp-ios-xe-oper:stp-port-role
     |     +--ro state?      stp-ios-xe-oper:stp-port-state
     |     +--ro oper-p2p?   empty
     +--ro stp-global!
     |  +--ro mode?                           stp-ios-xe-oper:stp-mode
     |  +--ro bridge-assurance?               empty
     |  +--ro loop-guard?                     empty
     |  +--ro bpdu-guard?                     empty
     |  +--ro bpdu-filter?                    empty
     |  +--ro etherchannel-misconfig-guard?   empty
     |  +--ro mst-only
     |  |  +--ro mst-config-revision?   uint16
     |  |  +--ro mst-config-name?       string
     |  |  +--ro max-hops?              uint16
     |  +--ro prtfst-dflt?                    stp-ios-xe-oper:stp-portfast-status
     |  +--ro bpdu-dly-mntr?                  empty
     |  +--ro bpdu-sndr-cnflt?                empty
     |  +--ro pvst-sim?                       empty
     |  +--ro dispute?                        empty
     |  +--ro bkbn-fst?                       empty
     |  +--ro ext-sysid?                      empty
     |  +--ro pathcost?                       stp-ios-xe-oper:stp-pathcost-method
     |  +--ro uplinkfast?                     empty
     |  +--ro total-vlan?                     uint32
     |  +--ro total-vblk?                     uint32
     |  +--ro total-vlstn?                    uint32
     |  +--ro total-vlrn?                     uint32
     |  +--ro total-vfwd?                     uint32
     |  +--ro total-vactv?                    uint32
     |  +--ro total-mst?                      uint32
     |  +--ro total-mblk?                     uint32
     |  +--ro total-mlstn?                    uint32
     |  +--ro total-mlrn?                     uint32
     |  +--ro total-mfwd?                     uint32
     |  +--ro total-mactv?                    uint32
     +--ro stp-vlan-global* [vlan-id]
     |  +--ro vlan-id      uint16
     |  +--ro vlan-blk?    uint32
     |  +--ro vlan-lstn?   uint32
     |  +--ro vlan-lrn?    uint32
     |  +--ro vlan-fwd?    uint32
     |  +--ro vlan-actv?   uint32
     +--ro stp-mst-global* [mst-inst]
        +--ro mst-inst    string
        +--ro mst-blk?    uint32
        +--ro mst-lstn?   uint32
        +--ro mst-lrn?    uint32
        +--ro mst-fwd?    uint32
        +--ro mst-actv?   uint32