openconfig_spanning_tree

openconfig_spanning_tree URLs

https://<ip>/rest/restconf/data
https://<ip>/rest/restconf/data/openconfig-spanning-tree:stp
https://<ip>/rest/restconf/data/openconfig-spanning-tree:stp/interfaces
https://<ip>/rest/restconf/data/openconfig-spanning-tree:stp/interfaces/interface=<key>
https://<ip>/rest/restconf/data/openconfig-spanning-tree:stp/interfaces/interface=<key>/state
https://<ip>/rest/restconf/data/openconfig-spanning-tree:stp/interfaces/interface=<key>/config
https://<ip>/rest/restconf/data/openconfig-spanning-tree:stp/global
https://<ip>/rest/restconf/data/openconfig-spanning-tree:stp/global/state
https://<ip>/rest/restconf/data/openconfig-spanning-tree:stp/global/config
https://<ip>/rest/restconf/data/openconfig-spanning-tree:stp/mstp
https://<ip>/rest/restconf/data/openconfig-spanning-tree:stp/mstp/mst-instances
https://<ip>/rest/restconf/data/openconfig-spanning-tree:stp/mstp/mst-instances/mst-instance=<key>
https://<ip>/rest/restconf/data/openconfig-spanning-tree:stp/mstp/mst-instances/mst-instance=<key>/state
https://<ip>/rest/restconf/data/openconfig-spanning-tree:stp/mstp/mst-instances/mst-instance=<key>/config
https://<ip>/rest/restconf/data/openconfig-spanning-tree:stp/mstp/mst-instances/mst-instance=<key>/interfaces
https://<ip>/rest/restconf/data/openconfig-spanning-tree:stp/mstp/mst-instances/mst-instance=<key>/interfaces/interface=<key>
https://<ip>/rest/restconf/data/openconfig-spanning-tree:stp/mstp/mst-instances/mst-instance=<key>/interfaces/interface=<key>/state
https://<ip>/rest/restconf/data/openconfig-spanning-tree:stp/mstp/mst-instances/mst-instance=<key>/interfaces/interface=<key>/state/counters
https://<ip>/rest/restconf/data/openconfig-spanning-tree:stp/mstp/mst-instances/mst-instance=<key>/interfaces/interface=<key>/config
https://<ip>/rest/restconf/data/openconfig-spanning-tree:stp/mstp/config
https://<ip>/rest/restconf/data/openconfig-spanning-tree:stp/mstp/state
https://<ip>/rest/restconf/data/openconfig-spanning-tree:stp/rstp
https://<ip>/rest/restconf/data/openconfig-spanning-tree:stp/rstp/state
https://<ip>/rest/restconf/data/openconfig-spanning-tree:stp/rstp/config
https://<ip>/rest/restconf/data/openconfig-spanning-tree:stp/rstp/interfaces
https://<ip>/rest/restconf/data/openconfig-spanning-tree:stp/rstp/interfaces/interface=<key>
https://<ip>/rest/restconf/data/openconfig-spanning-tree:stp/rstp/interfaces/interface=<key>/state
https://<ip>/rest/restconf/data/openconfig-spanning-tree:stp/rstp/interfaces/interface=<key>/state/counters
https://<ip>/rest/restconf/data/openconfig-spanning-tree:stp/rstp/interfaces/interface=<key>/config
https://<ip>/rest/restconf/data/openconfig-spanning-tree:stp/rapid-pvst
https://<ip>/rest/restconf/data/openconfig-spanning-tree:stp/rapid-pvst/vlan=<key>
https://<ip>/rest/restconf/data/openconfig-spanning-tree:stp/rapid-pvst/vlan=<key>/state
https://<ip>/rest/restconf/data/openconfig-spanning-tree:stp/rapid-pvst/vlan=<key>/config
https://<ip>/rest/restconf/data/openconfig-spanning-tree:stp/rapid-pvst/vlan=<key>/interfaces
https://<ip>/rest/restconf/data/openconfig-spanning-tree:stp/rapid-pvst/vlan=<key>/interfaces/interface=<key>
https://<ip>/rest/restconf/data/openconfig-spanning-tree:stp/rapid-pvst/vlan=<key>/interfaces/interface=<key>/state
https://<ip>/rest/restconf/data/openconfig-spanning-tree:stp/rapid-pvst/vlan=<key>/interfaces/interface=<key>/state/counters
https://<ip>/rest/restconf/data/openconfig-spanning-tree:stp/rapid-pvst/vlan=<key>/interfaces/interface=<key>/config

openconfig_spanning_tree Complete JSON

{
    "openconfig-spanning-tree:stp": {
        "interfaces": {
            "interface": [
                {
                    "state": {
                        "bpdu-filter": false, 
                        "link-type": "", 
                        "guard": "", 
                        "bpdu-guard": false, 
                        "edge-port": "", 
                        "name": ""
                    }, 
                    "config": {
                        "bpdu-filter": false, 
                        "link-type": "", 
                        "guard": "", 
                        "bpdu-guard": false, 
                        "edge-port": "", 
                        "name": ""
                    }, 
                    "name": "<key>"
                }
            ]
        }, 
        "global": {
            "state": {
                "etherchannel-misconfig-guard": false, 
                "bpdu-filter": false, 
                "bpduguard-timeout-recovery": 0, 
                "enabled-protocol": [], 
                "bpdu-guard": false, 
                "loop-guard": false, 
                "bridge-assurance": false
            }, 
            "config": {
                "etherchannel-misconfig-guard": false, 
                "bpdu-filter": false, 
                "bpduguard-timeout-recovery": 0, 
                "enabled-protocol": [], 
                "bpdu-guard": false, 
                "loop-guard": false, 
                "bridge-assurance": false
            }
        }, 
        "mstp": {
            "mst-instances": {
                "mst-instance": [
                    {
                        "mst-id": "<key>", 
                        "state": {
                            "designated-root-priority": 0, 
                            "mst-id": 0, 
                            "topology-changes": "0", 
                            "designated-root-address": "", 
                            "hold-time": 0, 
                            "vlan": [], 
                            "root-port": 0, 
                            "root-cost": 0, 
                            "bridge-address": "", 
                            "time-since-topology-change": 0, 
                            "bridge-priority": 0
                        }, 
                        "config": {
                            "mst-id": 0, 
                            "vlan": [], 
                            "bridge-priority": 0
                        }, 
                        "interfaces": {
                            "interface": [
                                {
                                    "state": {
                                        "designated-root-priority": 0, 
                                        "designated-bridge-priority": 0, 
                                        "name": "", 
                                        "port-num": 0, 
                                        "port-state": "", 
                                        "port-priority": 0, 
                                        "designated-root-address": "", 
                                        "designated-port-num": 0, 
                                        "forward-transisitions": "0", 
                                        "cost": 0, 
                                        "role": "", 
                                        "designated-bridge-address": "", 
                                        "designated-port-priority": 0, 
                                        "designated-cost": 0, 
                                        "counters": {
                                            "bpdu-sent": "0", 
                                            "bpdu-received": "0"
                                        }
                                    }, 
                                    "config": {
                                        "cost": 0, 
                                        "name": "", 
                                        "port-priority": 0
                                    }, 
                                    "name": "<key>"
                                }
                            ]
                        }
                    }
                ]
            }, 
            "config": {
                "hello-time": 0, 
                "max-hop": 0, 
                "name": "", 
                "max-age": 0, 
                "forwarding-delay": 0, 
                "revision": 0, 
                "hold-count": 0
            }, 
            "state": {
                "hello-time": 0, 
                "max-hop": 0, 
                "name": "", 
                "max-age": 0, 
                "forwarding-delay": 0, 
                "revision": 0, 
                "hold-count": 0
            }
        }, 
        "rstp": {
            "state": {
                "hello-time": 0, 
                "designated-root-priority": 0, 
                "topology-changes": "0", 
                "designated-root-address": "", 
                "hold-time": 0, 
                "root-cost": 0, 
                "max-age": 0, 
                "root-port": 0, 
                "time-since-topology-change": 0, 
                "bridge-address": "", 
                "bridge-priority": 0, 
                "forwarding-delay": 0, 
                "hold-count": 0
            }, 
            "config": {
                "hello-time": 0, 
                "forwarding-delay": 0, 
                "bridge-priority": 0, 
                "max-age": 0, 
                "hold-count": 0
            }, 
            "interfaces": {
                "interface": [
                    {
                        "state": {
                            "designated-root-priority": 0, 
                            "designated-bridge-priority": 0, 
                            "name": "", 
                            "port-num": 0, 
                            "port-state": "", 
                            "port-priority": 0, 
                            "designated-root-address": "", 
                            "designated-port-num": 0, 
                            "forward-transisitions": "0", 
                            "cost": 0, 
                            "role": "", 
                            "designated-bridge-address": "", 
                            "designated-port-priority": 0, 
                            "designated-cost": 0, 
                            "counters": {
                                "bpdu-sent": "0", 
                                "bpdu-received": "0"
                            }
                        }, 
                        "config": {
                            "cost": 0, 
                            "name": "", 
                            "port-priority": 0
                        }, 
                        "name": "<key>"
                    }
                ]
            }
        }, 
        "rapid-pvst": {
            "vlan": [
                {
                    "vlan-id": "<key>", 
                    "state": {
                        "hello-time": 0, 
                        "designated-root-priority": 0, 
                        "topology-changes": "0", 
                        "designated-root-address": "", 
                        "hold-time": 0, 
                        "root-cost": 0, 
                        "max-age": 0, 
                        "root-port": 0, 
                        "time-since-topology-change": 0, 
                        "bridge-address": "", 
                        "bridge-priority": 0, 
                        "forwarding-delay": 0, 
                        "hold-count": 0
                    }, 
                    "config": {
                        "hello-time": 0, 
                        "bridge-priority": 0, 
                        "max-age": 0, 
                        "vlan-id": 0, 
                        "hold-count": 0, 
                        "forwarding-delay": 0
                    }, 
                    "interfaces": {
                        "interface": [
                            {
                                "state": {
                                    "designated-root-priority": 0, 
                                    "designated-bridge-priority": 0, 
                                    "name": "", 
                                    "port-num": 0, 
                                    "port-state": "", 
                                    "port-priority": 0, 
                                    "designated-root-address": "", 
                                    "designated-port-num": 0, 
                                    "forward-transisitions": "0", 
                                    "cost": 0, 
                                    "role": "", 
                                    "designated-bridge-address": "", 
                                    "designated-port-priority": 0, 
                                    "designated-cost": 0, 
                                    "counters": {
                                        "bpdu-sent": "0", 
                                        "bpdu-received": "0"
                                    }
                                }, 
                                "config": {
                                    "cost": 0, 
                                    "name": "", 
                                    "port-priority": 0
                                }, 
                                "name": "<key>"
                            }
                        ]
                    }
                }
            ]
        }
    }
}