
********************************************************************************
* 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 PUT -H "Content-Type: application/yang-data+xml" -k -d "[DO NOT USE]<stp />"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:protocol/brocade-xstp:spanning-tree/stp

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

