
********************************************************************************
* Copyright (C) 2019-2024 by Extreme Networks , Inc.                           *
* This file is part of rcBreeze Dump                                            *
*                                                                              *
* Author: Pradeep Raj.                                                         *
*                                                                              *
*                                                                              *
* Directions to Use:                                                           *
* 1. Replace all the values enclosed in the "%" with                           *
*    the values to be configured. The string present with in the braces        * 
*    indicates its type.                                                       *
* 2. To pass "" in the request replace the " with %22.                         *
* 3. To pass multiple keys in the URI enclose seperate them with %2c or        *
*    comma(",").                                                               *
* 4. Avoid using the requests with [DO NOT USE] tag in the payload. These could*
*    be defective because of the tailf extensions they have.                   *
*                                                                              *
* 5. RestConf also supports Json formatting which can be obtained by simply    *
*    updating Content-Type: application/yang-data+xml to                       *
*    Content-Type: application/yang-data+json                                  * 
*                                                                              * 

* Disclaimer:                                                                  *
* 1. The queries mentioned here do not have a one-to-one correlation with CLI. *
* 2. The queries inferred here are based on an automated tool and are not      *
*    gauranteed to work. Its the functional teams responsibilty to ensure its  *
*    working.                                                                  *
* 3. In case if you find any discrepancy you can always contact the author to  *
*    get it fixed.                                                             *
* 4. Avoid using the requests with [DO NOT USE] tag in the payload. These could*
*    be defective because of the tailf extensions they have.                   *
********************************************************************************
curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<timer-config><hello-time>%uint32%</hello-time></timer-config>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:protocol/brocade-xstp:spanning-tree/stp/timer-config

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<timer-config><forward-delay>%uint32%</forward-delay></timer-config>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:protocol/brocade-xstp:spanning-tree/stp/timer-config

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<timer-config><max-age>%uint32%</max-age></timer-config>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:protocol/brocade-xstp:spanning-tree/stp/timer-config

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "[DO NOT USE]<stp><description>%string%</description></stp>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:protocol/brocade-xstp:spanning-tree/stp

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "[DO NOT USE]<stp><bridge-priority>%uint32%</bridge-priority></stp>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:protocol/brocade-xstp:spanning-tree/stp

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<error-disable-timeout><enable /></error-disable-timeout>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:protocol/brocade-xstp:spanning-tree/stp/error-disable-timeout

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<error-disable-timeout><interval>%uint32%</interval></error-disable-timeout>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:protocol/brocade-xstp:spanning-tree/stp/error-disable-timeout

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<port-channel><path-cost>%enumeration%</path-cost></port-channel>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:protocol/brocade-xstp:spanning-tree/stp/port-channel

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "[DO NOT USE]<stp><shutdown /></stp>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:protocol/brocade-xstp:spanning-tree/stp

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<timer-config><hello-time>%uint32%</hello-time></timer-config>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:protocol/brocade-xstp:spanning-tree/rstp/timer-config

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<timer-config><forward-delay>%uint32%</forward-delay></timer-config>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:protocol/brocade-xstp:spanning-tree/rstp/timer-config

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<timer-config><max-age>%uint32%</max-age></timer-config>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:protocol/brocade-xstp:spanning-tree/rstp/timer-config

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "[DO NOT USE]<rstp><description>%string%</description></rstp>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:protocol/brocade-xstp:spanning-tree/rstp

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "[DO NOT USE]<rstp><bridge-priority>%uint32%</bridge-priority></rstp>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:protocol/brocade-xstp:spanning-tree/rstp

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<error-disable-timeout><enable /></error-disable-timeout>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:protocol/brocade-xstp:spanning-tree/rstp/error-disable-timeout

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<error-disable-timeout><interval>%uint32%</interval></error-disable-timeout>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:protocol/brocade-xstp:spanning-tree/rstp/error-disable-timeout

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<port-channel><path-cost>%enumeration%</path-cost></port-channel>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:protocol/brocade-xstp:spanning-tree/rstp/port-channel

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "[DO NOT USE]<rstp><shutdown /></rstp>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:protocol/brocade-xstp:spanning-tree/rstp

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "[DO NOT USE]<rstp><transmit-holdcount>%uint32%</transmit-holdcount></rstp>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:protocol/brocade-xstp:spanning-tree/rstp

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<timer-config><hello-time>%uint32%</hello-time></timer-config>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:protocol/brocade-xstp:spanning-tree/pvst/timer-config

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<timer-config><forward-delay>%uint32%</forward-delay></timer-config>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:protocol/brocade-xstp:spanning-tree/pvst/timer-config

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<timer-config><max-age>%uint32%</max-age></timer-config>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:protocol/brocade-xstp:spanning-tree/pvst/timer-config

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "[DO NOT USE]<pvst><description>%string%</description></pvst>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:protocol/brocade-xstp:spanning-tree/pvst

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "[DO NOT USE]<pvst><bridge-priority>%uint32%</bridge-priority></pvst>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:protocol/brocade-xstp:spanning-tree/pvst

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<error-disable-timeout><enable /></error-disable-timeout>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:protocol/brocade-xstp:spanning-tree/pvst/error-disable-timeout

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<error-disable-timeout><interval>%uint32%</interval></error-disable-timeout>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:protocol/brocade-xstp:spanning-tree/pvst/error-disable-timeout

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<port-channel><path-cost>%enumeration%</path-cost></port-channel>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:protocol/brocade-xstp:spanning-tree/pvst/port-channel

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "[DO NOT USE]<pvst><shutdown /></pvst>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:protocol/brocade-xstp:spanning-tree/pvst

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<vlan><priority>%uint32%</priority></vlan>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:protocol/brocade-xstp:spanning-tree/pvst/vlan=%id%

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<timer-config><hello-time>%uint32%</hello-time></timer-config>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:protocol/brocade-xstp:spanning-tree/pvst/vlan=%id%/timer-config

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<timer-config><forward-delay>%uint32%</forward-delay></timer-config>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:protocol/brocade-xstp:spanning-tree/pvst/vlan=%id%/timer-config

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<timer-config><max-age>%uint32%</max-age></timer-config>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:protocol/brocade-xstp:spanning-tree/pvst/vlan=%id%/timer-config

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<timer-config><hello-time>%uint32%</hello-time></timer-config>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:protocol/brocade-xstp:spanning-tree/rpvst/timer-config

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<timer-config><forward-delay>%uint32%</forward-delay></timer-config>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:protocol/brocade-xstp:spanning-tree/rpvst/timer-config

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<timer-config><max-age>%uint32%</max-age></timer-config>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:protocol/brocade-xstp:spanning-tree/rpvst/timer-config

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "[DO NOT USE]<rpvst><description>%string%</description></rpvst>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:protocol/brocade-xstp:spanning-tree/rpvst

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "[DO NOT USE]<rpvst><bridge-priority>%uint32%</bridge-priority></rpvst>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:protocol/brocade-xstp:spanning-tree/rpvst

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<error-disable-timeout><enable /></error-disable-timeout>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:protocol/brocade-xstp:spanning-tree/rpvst/error-disable-timeout

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<error-disable-timeout><interval>%uint32%</interval></error-disable-timeout>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:protocol/brocade-xstp:spanning-tree/rpvst/error-disable-timeout

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<port-channel><path-cost>%enumeration%</path-cost></port-channel>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:protocol/brocade-xstp:spanning-tree/rpvst/port-channel

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "[DO NOT USE]<rpvst><shutdown /></rpvst>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:protocol/brocade-xstp:spanning-tree/rpvst

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<vlan><priority>%uint32%</priority></vlan>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:protocol/brocade-xstp:spanning-tree/rpvst/vlan=%id%

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<timer-config><hello-time>%uint32%</hello-time></timer-config>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:protocol/brocade-xstp:spanning-tree/rpvst/vlan=%id%/timer-config

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<timer-config><forward-delay>%uint32%</forward-delay></timer-config>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:protocol/brocade-xstp:spanning-tree/rpvst/vlan=%id%/timer-config

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<timer-config><max-age>%uint32%</max-age></timer-config>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:protocol/brocade-xstp:spanning-tree/rpvst/vlan=%id%/timer-config

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "[DO NOT USE]<rpvst><transmit-holdcount>%uint32%</transmit-holdcount></rpvst>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:protocol/brocade-xstp:spanning-tree/rpvst

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<timer-config><hello-time>%uint32%</hello-time></timer-config>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:protocol/brocade-xstp:spanning-tree/mstp/timer-config

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<timer-config><forward-delay>%uint32%</forward-delay></timer-config>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:protocol/brocade-xstp:spanning-tree/mstp/timer-config

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<timer-config><max-age>%uint32%</max-age></timer-config>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:protocol/brocade-xstp:spanning-tree/mstp/timer-config

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "[DO NOT USE]<mstp><description>%string%</description></mstp>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:protocol/brocade-xstp:spanning-tree/mstp

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "[DO NOT USE]<mstp><bridge-priority>%uint32%</bridge-priority></mstp>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:protocol/brocade-xstp:spanning-tree/mstp

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<error-disable-timeout><enable /></error-disable-timeout>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:protocol/brocade-xstp:spanning-tree/mstp/error-disable-timeout

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<error-disable-timeout><interval>%uint32%</interval></error-disable-timeout>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:protocol/brocade-xstp:spanning-tree/mstp/error-disable-timeout

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<port-channel><path-cost>%enumeration%</path-cost></port-channel>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:protocol/brocade-xstp:spanning-tree/mstp/port-channel

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "[DO NOT USE]<mstp><shutdown /></mstp>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:protocol/brocade-xstp:spanning-tree/mstp

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "[DO NOT USE]<mstp><cisco-interoperability>%enumeration%</cisco-interoperability></mstp>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:protocol/brocade-xstp:spanning-tree/mstp

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<instance><vlan>%xstp-ui32-vlan-range%</vlan></instance>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:protocol/brocade-xstp:spanning-tree/mstp/instance=%id%

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<instance><priority>%uint32%</priority></instance>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:protocol/brocade-xstp:spanning-tree/mstp/instance=%id%

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "[DO NOT USE]<mstp><region>%string%</region></mstp>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:protocol/brocade-xstp:spanning-tree/mstp

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "[DO NOT USE]<mstp><revision>%uint16%</revision></mstp>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:protocol/brocade-xstp:spanning-tree/mstp

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "[DO NOT USE]<mstp><max-hops>%uint32%</max-hops></mstp>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:protocol/brocade-xstp:spanning-tree/mstp

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "[DO NOT USE]<mstp><transmit-holdcount>%uint32%</transmit-holdcount></mstp>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:protocol/brocade-xstp:spanning-tree/mstp

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "[DO NOT USE]<spanning-tree><autoedge /></spanning-tree>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/brocade-xstp:spanning-tree

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "[DO NOT USE]<spanning-tree><cost>%uint32%</cost></spanning-tree>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/brocade-xstp:spanning-tree

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "[DO NOT USE]<portfast><portfastbasic /></portfast>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/brocade-xstp:spanning-tree/portfast

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "[DO NOT USE]<portfast><bpdu-guard /></portfast>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/brocade-xstp:spanning-tree/portfast

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "[DO NOT USE]<edgeport><edgeportbasic /></edgeport>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/brocade-xstp:spanning-tree/edgeport

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "[DO NOT USE]<edgeport><bpdu-guard /></edgeport>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/brocade-xstp:spanning-tree/edgeport

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "[DO NOT USE]<guard><root /></guard>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/brocade-xstp:spanning-tree/guard

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "[DO NOT USE]<spanning-tree><bpdu-mac>%enumeration%</bpdu-mac></spanning-tree>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/brocade-xstp:spanning-tree

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "[DO NOT USE]<spanning-tree><link-type>%enumeration%</link-type></spanning-tree>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/brocade-xstp:spanning-tree

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "[DO NOT USE]<spanning-tree><priority>%uint32%</priority></spanning-tree>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/brocade-xstp:spanning-tree

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "[DO NOT USE]<spanning-tree><restricted-role /></spanning-tree>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/brocade-xstp:spanning-tree

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "[DO NOT USE]<spanning-tree><restricted-tcn /></spanning-tree>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/brocade-xstp:spanning-tree

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<spanning-tree><shutdown /></spanning-tree>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/brocade-xstp:spanning-tree

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "[DO NOT USE]<vlan><cost>%uint32%</cost></vlan>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/brocade-xstp:spanning-tree/vlan=%id%

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "[DO NOT USE]<vlan><priority>%uint32%</priority></vlan>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/brocade-xstp:spanning-tree/vlan=%id%

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<guard><root /></guard>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/brocade-xstp:spanning-tree/vlan=%id%/guard

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "[DO NOT USE]<instance><cost>%uint32%</cost></instance>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/brocade-xstp:spanning-tree/instance=%id%

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "[DO NOT USE]<instance><priority>%uint32%</priority></instance>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/brocade-xstp:spanning-tree/instance=%id%

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "[DO NOT USE]<instance><restricted-role /></instance>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/brocade-xstp:spanning-tree/instance=%id%

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "[DO NOT USE]<instance><restricted-tcn /></instance>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/brocade-xstp:spanning-tree/instance=%id%

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "[DO NOT USE]<spanning-tree><autoedge /></spanning-tree>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/brocade-xstp:spanning-tree

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "[DO NOT USE]<spanning-tree><cost>%uint32%</cost></spanning-tree>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/brocade-xstp:spanning-tree

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "[DO NOT USE]<portfast><portfastbasic /></portfast>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/brocade-xstp:spanning-tree/portfast

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "[DO NOT USE]<portfast><bpdu-guard /></portfast>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/brocade-xstp:spanning-tree/portfast

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "[DO NOT USE]<edgeport><edgeportbasic /></edgeport>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/brocade-xstp:spanning-tree/edgeport

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "[DO NOT USE]<edgeport><bpdu-guard /></edgeport>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/brocade-xstp:spanning-tree/edgeport

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "[DO NOT USE]<guard><root /></guard>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/brocade-xstp:spanning-tree/guard

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "[DO NOT USE]<spanning-tree><bpdu-mac>%enumeration%</bpdu-mac></spanning-tree>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/brocade-xstp:spanning-tree

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "[DO NOT USE]<spanning-tree><link-type>%enumeration%</link-type></spanning-tree>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/brocade-xstp:spanning-tree

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "[DO NOT USE]<spanning-tree><priority>%uint32%</priority></spanning-tree>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/brocade-xstp:spanning-tree

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "[DO NOT USE]<spanning-tree><restricted-role /></spanning-tree>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/brocade-xstp:spanning-tree

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "[DO NOT USE]<spanning-tree><restricted-tcn /></spanning-tree>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/brocade-xstp:spanning-tree

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<spanning-tree><shutdown /></spanning-tree>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/brocade-xstp:spanning-tree

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "[DO NOT USE]<vlan><cost>%uint32%</cost></vlan>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/brocade-xstp:spanning-tree/vlan=%id%

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "[DO NOT USE]<vlan><priority>%uint32%</priority></vlan>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/brocade-xstp:spanning-tree/vlan=%id%

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<guard><root /></guard>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/brocade-xstp:spanning-tree/vlan=%id%/guard

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "[DO NOT USE]<instance><cost>%uint32%</cost></instance>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/brocade-xstp:spanning-tree/instance=%id%

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "[DO NOT USE]<instance><priority>%uint32%</priority></instance>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/brocade-xstp:spanning-tree/instance=%id%

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "[DO NOT USE]<instance><restricted-role /></instance>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/brocade-xstp:spanning-tree/instance=%id%

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "[DO NOT USE]<instance><restricted-tcn /></instance>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/brocade-xstp:spanning-tree/instance=%id%

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<spanning-tree><stp-shutdown /></spanning-tree>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface-vlan/vlan=%name%/brocade-xstp:spanning-tree

