Cisco-IOS-XE-spanning-tree

YANG Data Model Tree Structure

View YANG Source on GitHub →

📚 API Documentation & Navigation

📄 Swagger API Spec 📂 Browse Native Config APIs 🌳 All Trees

📋 Module Metadata

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

Prefix: spanning_tree

Related Modules:
Cisco-IOS-XE-spanning-tree-oper
Cisco-IOS-XE-spanning-tree-events
CISCO-AAL5-MIB
CISCO-ATM-EXT-MIB
Cisco-IOS-XE-aaa

💡 Example Usage

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

📚 External Documentation

💻 YANG Source📖 YANG Catalog🌐 DevNet Guide
module: Cisco-IOS-XE-spanning-tree

  augment /ios:native/ios:spanning-tree:
    +--rw backbonefast?   empty
    +--rw bridge
    |  +--rw priority?    uint8
    |  +--rw ID?          string
    |  +--rw assurance?   boolean
    +--rw etherchannel
    |  +--rw guard
    |     +--rw misconfig?   boolean
    +--rw extend
    |  +--rw system-id?   empty
    +--rw bpdu
    |  +--rw delay-monitor?     boolean
    |  +--rw sender-conflict?   boolean
    +--rw logging?        empty
    +--rw loopguard
    |  +--rw default?   empty
    +--rw mst
    |  +--rw instance-range* [id]
    |  |  +--rw id               union
    |  |  +--rw priority-root
    |  |  |  +--rw (mst-choice)?
    |  |  |     +--:(priority-case)
    |  |  |     |  +--rw priority?   uint16
    |  |  |     +--:(root-case)
    |  |  |        +--rw root?       enumeration
    |  |  x--rw priority?        uint16
    |  |  x--rw root?            enumeration
    |  +--rw configuration
    |  |  +--rw name?           string
    |  |  +--rw instance* [id]
    |  |  |  +--rw id          uint16
    |  |  |  +--rw vlan-ids*   uint16
    |  |  |  x--rw vlan*       union
    |  |  +--rw private-vlan
    |  |  |  +--rw synchronize?   empty
    |  |  +--rw revision?       uint16
    |  +--rw forward-time?     uint8
    |  +--rw hello-time?       uint8
    |  +--rw max-age?          uint8
    |  +--rw max-hops?         uint8
    |  +--rw simulate
    |  |  +--rw pvst
    |  |     +--rw global?   boolean
    |  +--rw pvst
    |     +--rw transparent?   empty
    +--rw optimize
    |  +--rw bpdu
    |     +--rw transmission?   boolean
    +--rw pathcost
    |  +--rw method
    |     +--rw long-short
    |     |  +--rw (pathcost-choice)?
    |     |     +--:(long)
    |     |     |  +--rw long?    empty
    |     |     +--:(short)
    |     |        +--rw short?   empty
    |     x--rw long?         empty
    |     x--rw short?        empty
    +--rw portfast
    |  +--rw bpdufilter
    |  |  +--rw default?   empty
    |  +--rw bpduguard
    |  |  +--rw default?   empty
    |  +--rw edge
    |  |  +--rw bpduguard
    |  |  |  +--rw default?   empty
    |  |  +--rw bpdufilter
    |  |  |  +--rw default?   empty
    |  |  +--rw default?      empty
    |  +--rw network
    |  |  +--rw default?   empty
    |  +--rw default?      empty
    +--rw transmit
    |  +--rw hold-count?   uint8
    +--rw uplinkfast!
    |  +--rw max-update-rate?   uint32
    +--rw mode?           enumeration
    +--rw vlan-v2
    |  +--rw vlan-v2* [id]
    |     +--rw id              uint16
    |     +--rw max-age?        uint8
    |     +--rw forward-time?   uint8
    |     +--rw hello-time?     uint8
    |     +--rw priority?       uint16
    |     +--rw root
    |        +--rw primary
    |        |  +--rw diameter?     uint8
    |        |  +--rw hello-time?   uint8
    |        +--rw secondary
    |           +--rw diameter?     uint8
    |           +--rw hello-time?   uint8
    x--rw vlan* [id]
       x--rw id              string
       x--rw max-age?        uint8
       x--rw forward-time?   uint8
       x--rw hello-time?     uint8
       x--rw priority?       uint16
       x--rw root
          x--rw primary
          |  x--rw diameter?     uint8
          |  x--rw hello-time?   uint8
          x--rw secondary
             x--rw diameter?     uint8
             x--rw hello-time?   uint8
  augment /ios:native/ios:interface/ios:FastEthernet:
    +--rw spanning-tree
       +--rw bpdufilter?      enumeration
       +--rw bpduguard
       |  +--rw (bpduguard-choice)?
       |     +--:(disable)
       |     |  +--rw disable?   empty
       |     +--:(enable)
       |        +--rw enable?    empty
       +--rw cost?            uint32
       +--rw guard?           enumeration
       +--rw link-type?       enumeration
       +--rw portfast-v2
       |  +--rw (portfast-choice)?
       |     +--:(access-case)
       |     |  +--rw access?    empty
       |     +--:(disable)
       |     |  +--rw disable?   empty
       |     +--:(trunk)
       |     |  +--rw trunk?     empty
       |     +--:(edge-case)
       |     |  +--rw edge
       |     |     +--rw (edge-choice)?
       |     |        +--:(trunk-case)
       |     |        |  +--rw trunk?    empty
       |     |        +--:(access-case)
       |     |           +--rw access?   empty
       |     +--:(network)
       |        +--rw network?   empty
       x--rw portfast!
       |  x--rw disable?   empty
       |  x--rw trunk?     empty
       |  x--rw edge?      empty
       +--rw port-priority?   uint8
       +--rw vlan* [vlan-ids]
       |  +--rw vlan-ids         string
       |  +--rw cost?            uint32
       |  +--rw port-priority?   uint16
       +--rw loopguard
       |  +--rw default?   empty
       +--rw mst
          +--rw mst-instance* [instance]
          |  +--rw instance         string
          |  +--rw cost?            uint32
          |  +--rw port-priority?   uint16
          +--rw pre-standard?   empty
  augment /ios:native/ios:interface/ios:GigabitEthernet:
    +--rw spanning-tree
       +--rw bpdufilter?      enumeration
       +--rw bpduguard
       |  +--rw (bpduguard-choice)?
       |     +--:(disable)
       |     |  +--rw disable?   empty
       |     +--:(enable)
       |        +--rw enable?    empty
       +--rw cost?            uint32
       +--rw guard?           enumeration
       +--rw link-type?       enumeration
       +--rw portfast-v2
       |  +--rw (portfast-choice)?
       |     +--:(access-case)
       |     |  +--rw access?    empty
       |     +--:(disable)
       |     |  +--rw disable?   empty
       |     +--:(trunk)
       |     |  +--rw trunk?     empty
       |     +--:(edge-case)
       |     |  +--rw edge
       |     |     +--rw (edge-choice)?
       |     |        +--:(trunk-case)
       |     |        |  +--rw trunk?    empty
       |     |        +--:(access-case)
       |     |           +--rw access?   empty
       |     +--:(network)
       |        +--rw network?   empty
       x--rw portfast!
       |  x--rw disable?   empty
       |  x--rw trunk?     empty
       |  x--rw edge?      empty
       +--rw port-priority?   uint8
       +--rw vlan* [vlan-ids]
       |  +--rw vlan-ids         string
       |  +--rw cost?            uint32
       |  +--rw port-priority?   uint16
       +--rw loopguard
       |  +--rw default?   empty
       +--rw mst
          +--rw mst-instance* [instance]
          |  +--rw instance         string
          |  +--rw cost?            uint32
          |  +--rw port-priority?   uint16
          +--rw pre-standard?   empty
  augment /ios:native/ios:interface/ios:TenGigabitEthernet:
    +--rw spanning-tree
       +--rw bpdufilter?      enumeration
       +--rw bpduguard
       |  +--rw (bpduguard-choice)?
       |     +--:(disable)
       |     |  +--rw disable?   empty
       |     +--:(enable)
       |        +--rw enable?    empty
       +--rw cost?            uint32
       +--rw guard?           enumeration
       +--rw link-type?       enumeration
       +--rw portfast-v2
       |  +--rw (portfast-choice)?
       |     +--:(access-case)
       |     |  +--rw access?    empty
       |     +--:(disable)
       |     |  +--rw disable?   empty
       |     +--:(trunk)
       |     |  +--rw trunk?     empty
       |     +--:(edge-case)
       |     |  +--rw edge
       |     |     +--rw (edge-choice)?
       |     |        +--:(trunk-case)
       |     |        |  +--rw trunk?    empty
       |     |        +--:(access-case)
       |     |           +--rw access?   empty
       |     +--:(network)
       |        +--rw network?   empty
       x--rw portfast!
       |  x--rw disable?   empty
       |  x--rw trunk?     empty
       |  x--rw edge?      empty
       +--rw port-priority?   uint8
       +--rw vlan* [vlan-ids]
       |  +--rw vlan-ids         string
       |  +--rw cost?            uint32
       |  +--rw port-priority?   uint16
       +--rw loopguard
       |  +--rw default?   empty
       +--rw mst
          +--rw mst-instance* [instance]
          |  +--rw instance         string
          |  +--rw cost?            uint32
          |  +--rw port-priority?   uint16
          +--rw pre-standard?   empty
  augment /ios:native/ios:interface/ios:FortyGigabitEthernet:
    +--rw spanning-tree
       +--rw bpdufilter?      enumeration
       +--rw bpduguard
       |  +--rw (bpduguard-choice)?
       |     +--:(disable)
       |     |  +--rw disable?   empty
       |     +--:(enable)
       |        +--rw enable?    empty
       +--rw cost?            uint32
       +--rw guard?           enumeration
       +--rw link-type?       enumeration
       +--rw portfast-v2
       |  +--rw (portfast-choice)?
       |     +--:(access-case)
       |     |  +--rw access?    empty
       |     +--:(disable)
       |     |  +--rw disable?   empty
       |     +--:(trunk)
       |     |  +--rw trunk?     empty
       |     +--:(edge-case)
       |     |  +--rw edge
       |     |     +--rw (edge-choice)?
       |     |        +--:(trunk-case)
       |     |        |  +--rw trunk?    empty
       |     |        +--:(access-case)
       |     |           +--rw access?   empty
       |     +--:(network)
       |        +--rw network?   empty
       x--rw portfast!
       |  x--rw disable?   empty
       |  x--rw trunk?     empty
       |  x--rw edge?      empty
       +--rw port-priority?   uint8
       +--rw vlan* [vlan-ids]
       |  +--rw vlan-ids         string
       |  +--rw cost?            uint32
       |  +--rw port-priority?   uint16
       +--rw loopguard
       |  +--rw default?   empty
       +--rw mst
          +--rw mst-instance* [instance]
          |  +--rw instance         string
          |  +--rw cost?            uint32
          |  +--rw port-priority?   uint16
          +--rw pre-standard?   empty
  augment /ios:native/ios:interface/ios:FiftyGigabitEthernet:
    +--rw spanning-tree
       +--rw bpdufilter?      enumeration
       +--rw bpduguard
       |  +--rw (bpduguard-choice)?
       |     +--:(disable)
       |     |  +--rw disable?   empty
       |     +--:(enable)
       |        +--rw enable?    empty
       +--rw cost?            uint32
       +--rw guard?           enumeration
       +--rw link-type?       enumeration
       +--rw portfast-v2
       |  +--rw (portfast-choice)?
       |     +--:(access-case)
       |     |  +--rw access?    empty
       |     +--:(disable)
       |     |  +--rw disable?   empty
       |     +--:(trunk)
       |     |  +--rw trunk?     empty
       |     +--:(edge-case)
       |     |  +--rw edge
       |     |     +--rw (edge-choice)?
       |     |        +--:(trunk-case)
       |     |        |  +--rw trunk?    empty
       |     |        +--:(access-case)
       |     |           +--rw access?   empty
       |     +--:(network)
       |        +--rw network?   empty
       x--rw portfast!
       |  x--rw disable?   empty
       |  x--rw trunk?     empty
       |  x--rw edge?      empty
       +--rw port-priority?   uint8
       +--rw vlan* [vlan-ids]
       |  +--rw vlan-ids         string
       |  +--rw cost?            uint32
       |  +--rw port-priority?   uint16
       +--rw loopguard
       |  +--rw default?   empty
       +--rw mst
          +--rw mst-instance* [instance]
          |  +--rw instance         string
          |  +--rw cost?            uint32
          |  +--rw port-priority?   uint16
          +--rw pre-standard?   empty
  augment /ios:native/ios:interface/ios:FiveGigabitEthernet:
    +--rw spanning-tree
       +--rw bpdufilter?      enumeration
       +--rw bpduguard
       |  +--rw (bpduguard-choice)?
       |     +--:(disable)
       |     |  +--rw disable?   empty
       |     +--:(enable)
       |        +--rw enable?    empty
       +--rw cost?            uint32
       +--rw guard?           enumeration
       +--rw link-type?       enumeration
       +--rw portfast-v2
       |  +--rw (portfast-choice)?
       |     +--:(access-case)
       |     |  +--rw access?    empty
       |     +--:(disable)
       |     |  +--rw disable?   empty
       |     +--:(trunk)
       |     |  +--rw trunk?     empty
       |     +--:(edge-case)
       |     |  +--rw edge
       |     |     +--rw (edge-choice)?
       |     |        +--:(trunk-case)
       |     |        |  +--rw trunk?    empty
       |     |        +--:(access-case)
       |     |           +--rw access?   empty
       |     +--:(network)
       |        +--rw network?   empty
       x--rw portfast!
       |  x--rw disable?   empty
       |  x--rw trunk?     empty
       |  x--rw edge?      empty
       +--rw port-priority?   uint8
       +--rw vlan* [vlan-ids]
       |  +--rw vlan-ids         string
       |  +--rw cost?            uint32
       |  +--rw port-priority?   uint16
       +--rw loopguard
       |  +--rw default?   empty
       +--rw mst
          +--rw mst-instance* [instance]
          |  +--rw instance         string
          |  +--rw cost?            uint32
          |  +--rw port-priority?   uint16
          +--rw pre-standard?   empty
  augment /ios:native/ios:interface/ios:AppGigabitEthernet:
    +--rw spanning-tree
       +--rw bpdufilter?      enumeration
       +--rw bpduguard
       |  +--rw (bpduguard-choice)?
       |     +--:(disable)
       |     |  +--rw disable?   empty
       |     +--:(enable)
       |        +--rw enable?    empty
       +--rw cost?            uint32
       +--rw guard?           enumeration
       +--rw link-type?       enumeration
       +--rw portfast-v2
       |  +--rw (portfast-choice)?
       |     +--:(access-case)
       |     |  +--rw access?    empty
       |     +--:(disable)
       |     |  +--rw disable?   empty
       |     +--:(trunk)
       |     |  +--rw trunk?     empty
       |     +--:(edge-case)
       |     |  +--rw edge
       |     |     +--rw (edge-choice)?
       |     |        +--:(trunk-case)
       |     |        |  +--rw trunk?    empty
       |     |        +--:(access-case)
       |     |           +--rw access?   empty
       |     +--:(network)
       |        +--rw network?   empty
       x--rw portfast!
       |  x--rw disable?   empty
       |  x--rw trunk?     empty
       |  x--rw edge?      empty
       +--rw port-priority?   uint8
       +--rw vlan* [vlan-ids]
       |  +--rw vlan-ids         string
       |  +--rw cost?            uint32
       |  +--rw port-priority?   uint16
       +--rw loopguard
       |  +--rw default?   empty
       +--rw mst
          +--rw mst-instance* [instance]
          |  +--rw instance         string
          |  +--rw cost?            uint32
          |  +--rw port-priority?   uint16
          +--rw pre-standard?   empty
  augment /ios:native/ios:interface/ios:TwentyFiveGigE:
    +--rw spanning-tree
       +--rw bpdufilter?      enumeration
       +--rw bpduguard
       |  +--rw (bpduguard-choice)?
       |     +--:(disable)
       |     |  +--rw disable?   empty
       |     +--:(enable)
       |        +--rw enable?    empty
       +--rw cost?            uint32
       +--rw guard?           enumeration
       +--rw link-type?       enumeration
       +--rw portfast-v2
       |  +--rw (portfast-choice)?
       |     +--:(access-case)
       |     |  +--rw access?    empty
       |     +--:(disable)
       |     |  +--rw disable?   empty
       |     +--:(trunk)
       |     |  +--rw trunk?     empty
       |     +--:(edge-case)
       |     |  +--rw edge
       |     |     +--rw (edge-choice)?
       |     |        +--:(trunk-case)
       |     |        |  +--rw trunk?    empty
       |     |        +--:(access-case)
       |     |           +--rw access?   empty
       |     +--:(network)
       |        +--rw network?   empty
       x--rw portfast!
       |  x--rw disable?   empty
       |  x--rw trunk?     empty
       |  x--rw edge?      empty
       +--rw port-priority?   uint8
       +--rw vlan* [vlan-ids]
       |  +--rw vlan-ids         string
       |  +--rw cost?            uint32
       |  +--rw port-priority?   uint16
       +--rw loopguard
       |  +--rw default?   empty
       +--rw mst
          +--rw mst-instance* [instance]
          |  +--rw instance         string
          |  +--rw cost?            uint32
          |  +--rw port-priority?   uint16
          +--rw pre-standard?   empty
  augment /ios:native/ios:interface/ios:TwoGigabitEthernet:
    +--rw spanning-tree
       +--rw bpdufilter?      enumeration
       +--rw bpduguard
       |  +--rw (bpduguard-choice)?
       |     +--:(disable)
       |     |  +--rw disable?   empty
       |     +--:(enable)
       |        +--rw enable?    empty
       +--rw cost?            uint32
       +--rw guard?           enumeration
       +--rw link-type?       enumeration
       +--rw portfast-v2
       |  +--rw (portfast-choice)?
       |     +--:(access-case)
       |     |  +--rw access?    empty
       |     +--:(disable)
       |     |  +--rw disable?   empty
       |     +--:(trunk)
       |     |  +--rw trunk?     empty
       |     +--:(edge-case)
       |     |  +--rw edge
       |     |     +--rw (edge-choice)?
       |     |        +--:(trunk-case)
       |     |        |  +--rw trunk?    empty
       |     |        +--:(access-case)
       |     |           +--rw access?   empty
       |     +--:(network)
       |        +--rw network?   empty
       x--rw portfast!
       |  x--rw disable?   empty
       |  x--rw trunk?     empty
       |  x--rw edge?      empty
       +--rw port-priority?   uint8
       +--rw vlan* [vlan-ids]
       |  +--rw vlan-ids         string
       |  +--rw cost?            uint32
       |  +--rw port-priority?   uint16
       +--rw loopguard
       |  +--rw default?   empty
       +--rw mst
          +--rw mst-instance* [instance]
          |  +--rw instance         string
          |  +--rw cost?            uint32
          |  +--rw port-priority?   uint16
          +--rw pre-standard?   empty
  augment /ios:native/ios:interface/ios:HundredGigE:
    +--rw spanning-tree
       +--rw bpdufilter?      enumeration
       +--rw bpduguard
       |  +--rw (bpduguard-choice)?
       |     +--:(disable)
       |     |  +--rw disable?   empty
       |     +--:(enable)
       |        +--rw enable?    empty
       +--rw cost?            uint32
       +--rw guard?           enumeration
       +--rw link-type?       enumeration
       +--rw portfast-v2
       |  +--rw (portfast-choice)?
       |     +--:(access-case)
       |     |  +--rw access?    empty
       |     +--:(disable)
       |     |  +--rw disable?   empty
       |     +--:(trunk)
       |     |  +--rw trunk?     empty
       |     +--:(edge-case)
       |     |  +--rw edge
       |     |     +--rw (edge-choice)?
       |     |        +--:(trunk-case)
       |     |        |  +--rw trunk?    empty
       |     |        +--:(access-case)
       |     |           +--rw access?   empty
       |     +--:(network)
       |        +--rw network?   empty
       x--rw portfast!
       |  x--rw disable?   empty
       |  x--rw trunk?     empty
       |  x--rw edge?      empty
       +--rw port-priority?   uint8
       +--rw vlan* [vlan-ids]
       |  +--rw vlan-ids         string
       |  +--rw cost?            uint32
       |  +--rw port-priority?   uint16
       +--rw loopguard
       |  +--rw default?   empty
       +--rw mst
          +--rw mst-instance* [instance]
          |  +--rw instance         string
          |  +--rw cost?            uint32
          |  +--rw port-priority?   uint16
          +--rw pre-standard?   empty
  augment /ios:native/ios:interface/ios:Port-channel:
    +--rw spanning-tree
       +--rw bpdufilter?      enumeration
       +--rw bpduguard
       |  +--rw (bpduguard-choice)?
       |     +--:(disable)
       |     |  +--rw disable?   empty
       |     +--:(enable)
       |        +--rw enable?    empty
       +--rw cost?            uint32
       +--rw guard?           enumeration
       +--rw link-type?       enumeration
       +--rw portfast-v2
       |  +--rw (portfast-choice)?
       |     +--:(access-case)
       |     |  +--rw access?    empty
       |     +--:(disable)
       |     |  +--rw disable?   empty
       |     +--:(trunk)
       |     |  +--rw trunk?     empty
       |     +--:(edge-case)
       |     |  +--rw edge
       |     |     +--rw (edge-choice)?
       |     |        +--:(trunk-case)
       |     |        |  +--rw trunk?    empty
       |     |        +--:(access-case)
       |     |           +--rw access?   empty
       |     +--:(network)
       |        +--rw network?   empty
       x--rw portfast!
       |  x--rw disable?   empty
       |  x--rw trunk?     empty
       |  x--rw edge?      empty
       +--rw port-priority?   uint8
       +--rw vlan* [vlan-ids]
       |  +--rw vlan-ids         string
       |  +--rw cost?            uint32
       |  +--rw port-priority?   uint16
       +--rw loopguard
       |  +--rw default?   empty
       +--rw mst
          +--rw mst-instance* [instance]
          |  +--rw instance         string
          |  +--rw cost?            uint32
          |  +--rw port-priority?   uint16
          +--rw pre-standard?   empty
  augment /ios:native/ios:interface/ios:PRP-channel:
    +--rw spanning-tree
       +--rw bpdufilter?      enumeration
       +--rw bpduguard
       |  +--rw (bpduguard-choice)?
       |     +--:(disable)
       |     |  +--rw disable?   empty
       |     +--:(enable)
       |        +--rw enable?    empty
       +--rw cost?            uint32
       +--rw guard?           enumeration
       +--rw link-type?       enumeration
       +--rw portfast-v2
       |  +--rw (portfast-choice)?
       |     +--:(access-case)
       |     |  +--rw access?    empty
       |     +--:(disable)
       |     |  +--rw disable?   empty
       |     +--:(trunk)
       |     |  +--rw trunk?     empty
       |     +--:(edge-case)
       |     |  +--rw edge
       |     |     +--rw (edge-choice)?
       |     |        +--:(trunk-case)
       |     |        |  +--rw trunk?    empty
       |     |        +--:(access-case)
       |     |           +--rw access?   empty
       |     +--:(network)
       |        +--rw network?   empty
       x--rw portfast!
       |  x--rw disable?   empty
       |  x--rw trunk?     empty
       |  x--rw edge?      empty
       +--rw port-priority?   uint8
       +--rw vlan* [vlan-ids]
       |  +--rw vlan-ids         string
       |  +--rw cost?            uint32
       |  +--rw port-priority?   uint16
       +--rw loopguard
       |  +--rw default?   empty
       +--rw mst
          +--rw mst-instance* [instance]
          |  +--rw instance         string
          |  +--rw cost?            uint32
          |  +--rw port-priority?   uint16
          +--rw pre-standard?   empty
  augment /ios:native/ios:interface/ios:Vlan:
    +--rw spanning-tree
       +--rw bpdufilter?      enumeration
       +--rw bpduguard
       |  +--rw (bpduguard-choice)?
       |     +--:(disable)
       |     |  +--rw disable?   empty
       |     +--:(enable)
       |        +--rw enable?    empty
       +--rw cost?            uint32
       +--rw guard?           enumeration
       +--rw link-type?       enumeration
       +--rw portfast-v2
       |  +--rw (portfast-choice)?
       |     +--:(access-case)
       |     |  +--rw access?    empty
       |     +--:(disable)
       |     |  +--rw disable?   empty
       |     +--:(trunk)
       |     |  +--rw trunk?     empty
       |     +--:(edge-case)
       |     |  +--rw edge
       |     |     +--rw (edge-choice)?
       |     |        +--:(trunk-case)
       |     |        |  +--rw trunk?    empty
       |     |        +--:(access-case)
       |     |           +--rw access?   empty
       |     +--:(network)
       |        +--rw network?   empty
       x--rw portfast!
       |  x--rw disable?   empty
       |  x--rw trunk?     empty
       |  x--rw edge?      empty
       +--rw port-priority?   uint8
       +--rw vlan* [vlan-ids]
       |  +--rw vlan-ids         string
       |  +--rw cost?            uint32
       |  +--rw port-priority?   uint16
       +--rw loopguard
       |  +--rw default?   empty
       +--rw mst
          +--rw mst-instance* [instance]
          |  +--rw instance         string
          |  +--rw cost?            uint32
          |  +--rw port-priority?   uint16
          +--rw pre-standard?   empty