
********************************************************************************
* Copyright (C) 2019-2024 by Extreme Networks , Inc.                           *
* This file is part of rBreeze 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.                   *
*                                                                              *
* 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 -d "[DO NOT USE]<stp><hello-time>%uint32%</hello-time></stp>"  -u admin:password http://%ipaddress%:80/rest/config/running/protocol/spanning-tree/stp


curl -v -X PATCH -d "[DO NOT USE]<stp><forward-delay>%uint32%</forward-delay></stp>"  -u admin:password http://%ipaddress%:80/rest/config/running/protocol/spanning-tree/stp


curl -v -X PATCH -d "[DO NOT USE]<stp><max-age>%uint32%</max-age></stp>"  -u admin:password http://%ipaddress%:80/rest/config/running/protocol/spanning-tree/stp


curl -v -X PATCH -d "[DO NOT USE]<stp><description>%string%</description></stp>"  -u admin:password http://%ipaddress%:80/rest/config/running/protocol/spanning-tree/stp


curl -v -X PATCH -d "[DO NOT USE]<stp><bridge-priority>%uint32%</bridge-priority></stp>"  -u admin:password http://%ipaddress%:80/rest/config/running/protocol/spanning-tree/stp


curl -v -X PATCH -d "<error-disable-timeout><enable>true</enable></error-disable-timeout>"  -u admin:password http://%ipaddress%:80/rest/config/running/protocol/spanning-tree/stp/error-disable-timeout


curl -v -X PATCH -d "<error-disable-timeout><interval>%uint32%</interval></error-disable-timeout>"  -u admin:password http://%ipaddress%:80/rest/config/running/protocol/spanning-tree/stp/error-disable-timeout


curl -v -X PATCH -d "<port-channel><path-cost>%enumeration%</path-cost></port-channel>"  -u admin:password http://%ipaddress%:80/rest/config/running/protocol/spanning-tree/stp/port-channel


curl -v -X PATCH -d "[DO NOT USE]<stp><shutdown>true</shutdown></stp>"  -u admin:password http://%ipaddress%:80/rest/config/running/protocol/spanning-tree/stp


curl -v -X PATCH -d "[DO NOT USE]<rstp><hello-time>%uint32%</hello-time></rstp>"  -u admin:password http://%ipaddress%:80/rest/config/running/protocol/spanning-tree/rstp


curl -v -X PATCH -d "[DO NOT USE]<rstp><forward-delay>%uint32%</forward-delay></rstp>"  -u admin:password http://%ipaddress%:80/rest/config/running/protocol/spanning-tree/rstp


curl -v -X PATCH -d "[DO NOT USE]<rstp><max-age>%uint32%</max-age></rstp>"  -u admin:password http://%ipaddress%:80/rest/config/running/protocol/spanning-tree/rstp


curl -v -X PATCH -d "[DO NOT USE]<rstp><description>%string%</description></rstp>"  -u admin:password http://%ipaddress%:80/rest/config/running/protocol/spanning-tree/rstp


curl -v -X PATCH -d "[DO NOT USE]<rstp><bridge-priority>%uint32%</bridge-priority></rstp>"  -u admin:password http://%ipaddress%:80/rest/config/running/protocol/spanning-tree/rstp


curl -v -X PATCH -d "<error-disable-timeout><enable>true</enable></error-disable-timeout>"  -u admin:password http://%ipaddress%:80/rest/config/running/protocol/spanning-tree/rstp/error-disable-timeout


curl -v -X PATCH -d "<error-disable-timeout><interval>%uint32%</interval></error-disable-timeout>"  -u admin:password http://%ipaddress%:80/rest/config/running/protocol/spanning-tree/rstp/error-disable-timeout


curl -v -X PATCH -d "<port-channel><path-cost>%enumeration%</path-cost></port-channel>"  -u admin:password http://%ipaddress%:80/rest/config/running/protocol/spanning-tree/rstp/port-channel


curl -v -X PATCH -d "[DO NOT USE]<rstp><shutdown>true</shutdown></rstp>"  -u admin:password http://%ipaddress%:80/rest/config/running/protocol/spanning-tree/rstp


curl -v -X PATCH -d "[DO NOT USE]<rstp><transmit-holdcount>%uint32%</transmit-holdcount></rstp>"  -u admin:password http://%ipaddress%:80/rest/config/running/protocol/spanning-tree/rstp


curl -v -X PATCH -d "[DO NOT USE]<pvst><hello-time>%uint32%</hello-time></pvst>"  -u admin:password http://%ipaddress%:80/rest/config/running/protocol/spanning-tree/pvst


curl -v -X PATCH -d "[DO NOT USE]<pvst><forward-delay>%uint32%</forward-delay></pvst>"  -u admin:password http://%ipaddress%:80/rest/config/running/protocol/spanning-tree/pvst


curl -v -X PATCH -d "[DO NOT USE]<pvst><max-age>%uint32%</max-age></pvst>"  -u admin:password http://%ipaddress%:80/rest/config/running/protocol/spanning-tree/pvst


curl -v -X PATCH -d "[DO NOT USE]<pvst><description>%string%</description></pvst>"  -u admin:password http://%ipaddress%:80/rest/config/running/protocol/spanning-tree/pvst


curl -v -X PATCH -d "[DO NOT USE]<pvst><bridge-priority>%uint32%</bridge-priority></pvst>"  -u admin:password http://%ipaddress%:80/rest/config/running/protocol/spanning-tree/pvst


curl -v -X PATCH -d "<error-disable-timeout><enable>true</enable></error-disable-timeout>"  -u admin:password http://%ipaddress%:80/rest/config/running/protocol/spanning-tree/pvst/error-disable-timeout


curl -v -X PATCH -d "<error-disable-timeout><interval>%uint32%</interval></error-disable-timeout>"  -u admin:password http://%ipaddress%:80/rest/config/running/protocol/spanning-tree/pvst/error-disable-timeout


curl -v -X PATCH -d "<port-channel><path-cost>%enumeration%</path-cost></port-channel>"  -u admin:password http://%ipaddress%:80/rest/config/running/protocol/spanning-tree/pvst/port-channel


curl -v -X PATCH -d "[DO NOT USE]<pvst><shutdown>true</shutdown></pvst>"  -u admin:password http://%ipaddress%:80/rest/config/running/protocol/spanning-tree/pvst


curl -v -X PATCH -d "<vlan><priority>%uint32%</priority></vlan>"  -u admin:password http://%ipaddress%:80/rest/config/running/protocol/spanning-tree/pvst/vlan/%id%


curl -v -X PATCH -d "<vlan><hello-time>%uint32%</hello-time></vlan>"  -u admin:password http://%ipaddress%:80/rest/config/running/protocol/spanning-tree/pvst/vlan/%id%


curl -v -X PATCH -d "<vlan><forward-delay>%uint32%</forward-delay></vlan>"  -u admin:password http://%ipaddress%:80/rest/config/running/protocol/spanning-tree/pvst/vlan/%id%


curl -v -X PATCH -d "<vlan><max-age>%uint32%</max-age></vlan>"  -u admin:password http://%ipaddress%:80/rest/config/running/protocol/spanning-tree/pvst/vlan/%id%


curl -v -X PATCH -d "[DO NOT USE]<rpvst><hello-time>%uint32%</hello-time></rpvst>"  -u admin:password http://%ipaddress%:80/rest/config/running/protocol/spanning-tree/rpvst


curl -v -X PATCH -d "[DO NOT USE]<rpvst><forward-delay>%uint32%</forward-delay></rpvst>"  -u admin:password http://%ipaddress%:80/rest/config/running/protocol/spanning-tree/rpvst


curl -v -X PATCH -d "[DO NOT USE]<rpvst><max-age>%uint32%</max-age></rpvst>"  -u admin:password http://%ipaddress%:80/rest/config/running/protocol/spanning-tree/rpvst


curl -v -X PATCH -d "[DO NOT USE]<rpvst><description>%string%</description></rpvst>"  -u admin:password http://%ipaddress%:80/rest/config/running/protocol/spanning-tree/rpvst


curl -v -X PATCH -d "[DO NOT USE]<rpvst><bridge-priority>%uint32%</bridge-priority></rpvst>"  -u admin:password http://%ipaddress%:80/rest/config/running/protocol/spanning-tree/rpvst


curl -v -X PATCH -d "<error-disable-timeout><enable>true</enable></error-disable-timeout>"  -u admin:password http://%ipaddress%:80/rest/config/running/protocol/spanning-tree/rpvst/error-disable-timeout


curl -v -X PATCH -d "<error-disable-timeout><interval>%uint32%</interval></error-disable-timeout>"  -u admin:password http://%ipaddress%:80/rest/config/running/protocol/spanning-tree/rpvst/error-disable-timeout


curl -v -X PATCH -d "<port-channel><path-cost>%enumeration%</path-cost></port-channel>"  -u admin:password http://%ipaddress%:80/rest/config/running/protocol/spanning-tree/rpvst/port-channel


curl -v -X PATCH -d "[DO NOT USE]<rpvst><shutdown>true</shutdown></rpvst>"  -u admin:password http://%ipaddress%:80/rest/config/running/protocol/spanning-tree/rpvst


curl -v -X PATCH -d "<vlan><priority>%uint32%</priority></vlan>"  -u admin:password http://%ipaddress%:80/rest/config/running/protocol/spanning-tree/rpvst/vlan/%id%


curl -v -X PATCH -d "<vlan><hello-time>%uint32%</hello-time></vlan>"  -u admin:password http://%ipaddress%:80/rest/config/running/protocol/spanning-tree/rpvst/vlan/%id%


curl -v -X PATCH -d "<vlan><forward-delay>%uint32%</forward-delay></vlan>"  -u admin:password http://%ipaddress%:80/rest/config/running/protocol/spanning-tree/rpvst/vlan/%id%


curl -v -X PATCH -d "<vlan><max-age>%uint32%</max-age></vlan>"  -u admin:password http://%ipaddress%:80/rest/config/running/protocol/spanning-tree/rpvst/vlan/%id%


curl -v -X PATCH -d "[DO NOT USE]<rpvst><transmit-holdcount>%uint32%</transmit-holdcount></rpvst>"  -u admin:password http://%ipaddress%:80/rest/config/running/protocol/spanning-tree/rpvst


curl -v -X PATCH -d "[DO NOT USE]<mstp><hello-time>%uint32%</hello-time></mstp>"  -u admin:password http://%ipaddress%:80/rest/config/running/protocol/spanning-tree/mstp


curl -v -X PATCH -d "[DO NOT USE]<mstp><forward-delay>%uint32%</forward-delay></mstp>"  -u admin:password http://%ipaddress%:80/rest/config/running/protocol/spanning-tree/mstp


curl -v -X PATCH -d "[DO NOT USE]<mstp><max-age>%uint32%</max-age></mstp>"  -u admin:password http://%ipaddress%:80/rest/config/running/protocol/spanning-tree/mstp


curl -v -X PATCH -d "[DO NOT USE]<mstp><description>%string%</description></mstp>"  -u admin:password http://%ipaddress%:80/rest/config/running/protocol/spanning-tree/mstp


curl -v -X PATCH -d "[DO NOT USE]<mstp><bridge-priority>%uint32%</bridge-priority></mstp>"  -u admin:password http://%ipaddress%:80/rest/config/running/protocol/spanning-tree/mstp


curl -v -X PATCH -d "<error-disable-timeout><enable>true</enable></error-disable-timeout>"  -u admin:password http://%ipaddress%:80/rest/config/running/protocol/spanning-tree/mstp/error-disable-timeout


curl -v -X PATCH -d "<error-disable-timeout><interval>%uint32%</interval></error-disable-timeout>"  -u admin:password http://%ipaddress%:80/rest/config/running/protocol/spanning-tree/mstp/error-disable-timeout


curl -v -X PATCH -d "<port-channel><path-cost>%enumeration%</path-cost></port-channel>"  -u admin:password http://%ipaddress%:80/rest/config/running/protocol/spanning-tree/mstp/port-channel


curl -v -X PATCH -d "[DO NOT USE]<mstp><shutdown>true</shutdown></mstp>"  -u admin:password http://%ipaddress%:80/rest/config/running/protocol/spanning-tree/mstp


curl -v -X PATCH -d "[DO NOT USE]<mstp><cisco-interoperability>%enumeration%</cisco-interoperability></mstp>"  -u admin:password http://%ipaddress%:80/rest/config/running/protocol/spanning-tree/mstp


curl -v -X PATCH -d "<instance><vlan>%xstp-ui32-vlan-range%</vlan></instance>"  -u admin:password http://%ipaddress%:80/rest/config/running/protocol/spanning-tree/mstp/instance/%id%


curl -v -X PATCH -d "<instance><priority>%uint32%</priority></instance>"  -u admin:password http://%ipaddress%:80/rest/config/running/protocol/spanning-tree/mstp/instance/%id%


curl -v -X PATCH -d "[DO NOT USE]<mstp><region>%string%</region></mstp>"  -u admin:password http://%ipaddress%:80/rest/config/running/protocol/spanning-tree/mstp


curl -v -X PATCH -d "[DO NOT USE]<mstp><revision>%uint16%</revision></mstp>"  -u admin:password http://%ipaddress%:80/rest/config/running/protocol/spanning-tree/mstp


curl -v -X PATCH -d "[DO NOT USE]<mstp><max-hops>%uint32%</max-hops></mstp>"  -u admin:password http://%ipaddress%:80/rest/config/running/protocol/spanning-tree/mstp


curl -v -X PATCH -d "[DO NOT USE]<mstp><transmit-holdcount>%uint32%</transmit-holdcount></mstp>"  -u admin:password http://%ipaddress%:80/rest/config/running/protocol/spanning-tree/mstp


curl -v -X PATCH -d "[DO NOT USE]<spanning-tree><autoedge>true</autoedge></spanning-tree>"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Ethernet/%name%/spanning-tree


curl -v -X PATCH -d "[DO NOT USE]<spanning-tree><cost>%uint32%</cost></spanning-tree>"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Ethernet/%name%/spanning-tree


curl -v -X PATCH -d "[DO NOT USE]<portfast><portfastbasic>true</portfastbasic></portfast>"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Ethernet/%name%/spanning-tree/portfast


curl -v -X PATCH -d "[DO NOT USE]<portfast><bpdu-guard>true</bpdu-guard></portfast>"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Ethernet/%name%/spanning-tree/portfast


curl -v -X PATCH -d "[DO NOT USE]<edgeport><edgeportbasic>true</edgeportbasic></edgeport>"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Ethernet/%name%/spanning-tree/edgeport


curl -v -X PATCH -d "[DO NOT USE]<edgeport><bpdu-guard>true</bpdu-guard></edgeport>"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Ethernet/%name%/spanning-tree/edgeport


curl -v -X PATCH -d "[DO NOT USE]<guard><root>true</root></guard>"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Ethernet/%name%/spanning-tree/guard


curl -v -X PATCH -d "[DO NOT USE]<spanning-tree><bpdu-mac>%enumeration%</bpdu-mac></spanning-tree>"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Ethernet/%name%/spanning-tree


curl -v -X PATCH -d "[DO NOT USE]<spanning-tree><link-type>%enumeration%</link-type></spanning-tree>"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Ethernet/%name%/spanning-tree


curl -v -X PATCH -d "[DO NOT USE]<spanning-tree><priority>%uint32%</priority></spanning-tree>"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Ethernet/%name%/spanning-tree


curl -v -X PATCH -d "[DO NOT USE]<spanning-tree><restricted-role>true</restricted-role></spanning-tree>"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Ethernet/%name%/spanning-tree


curl -v -X PATCH -d "[DO NOT USE]<spanning-tree><restricted-tcn>true</restricted-tcn></spanning-tree>"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Ethernet/%name%/spanning-tree


curl -v -X PATCH -d "<spanning-tree><shutdown>true</shutdown></spanning-tree>"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Ethernet/%name%/spanning-tree


curl -v -X PATCH -d "[DO NOT USE]<vlan><cost>%uint32%</cost></vlan>"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Ethernet/%name%/spanning-tree/vlan/%id%


curl -v -X PATCH -d "[DO NOT USE]<vlan><priority>%uint32%</priority></vlan>"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Ethernet/%name%/spanning-tree/vlan/%id%


curl -v -X PATCH -d "<guard><root>true</root></guard>"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Ethernet/%name%/spanning-tree/vlan/%id%/guard


curl -v -X PATCH -d "[DO NOT USE]<instance><cost>%uint32%</cost></instance>"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Ethernet/%name%/spanning-tree/instance/%id%


curl -v -X PATCH -d "[DO NOT USE]<instance><priority>%uint32%</priority></instance>"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Ethernet/%name%/spanning-tree/instance/%id%


curl -v -X PATCH -d "[DO NOT USE]<instance><restricted-role>true</restricted-role></instance>"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Ethernet/%name%/spanning-tree/instance/%id%


curl -v -X PATCH -d "[DO NOT USE]<instance><restricted-tcn>true</restricted-tcn></instance>"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Ethernet/%name%/spanning-tree/instance/%id%


curl -v -X PATCH -d "[DO NOT USE]<spanning-tree><autoedge>true</autoedge></spanning-tree>"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Port-channel/%name%/spanning-tree


curl -v -X PATCH -d "[DO NOT USE]<spanning-tree><cost>%uint32%</cost></spanning-tree>"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Port-channel/%name%/spanning-tree


curl -v -X PATCH -d "[DO NOT USE]<portfast><portfastbasic>true</portfastbasic></portfast>"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Port-channel/%name%/spanning-tree/portfast


curl -v -X PATCH -d "[DO NOT USE]<portfast><bpdu-guard>true</bpdu-guard></portfast>"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Port-channel/%name%/spanning-tree/portfast


curl -v -X PATCH -d "[DO NOT USE]<edgeport><edgeportbasic>true</edgeportbasic></edgeport>"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Port-channel/%name%/spanning-tree/edgeport


curl -v -X PATCH -d "[DO NOT USE]<edgeport><bpdu-guard>true</bpdu-guard></edgeport>"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Port-channel/%name%/spanning-tree/edgeport


curl -v -X PATCH -d "[DO NOT USE]<guard><root>true</root></guard>"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Port-channel/%name%/spanning-tree/guard


curl -v -X PATCH -d "[DO NOT USE]<spanning-tree><bpdu-mac>%enumeration%</bpdu-mac></spanning-tree>"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Port-channel/%name%/spanning-tree


curl -v -X PATCH -d "[DO NOT USE]<spanning-tree><link-type>%enumeration%</link-type></spanning-tree>"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Port-channel/%name%/spanning-tree


curl -v -X PATCH -d "[DO NOT USE]<spanning-tree><priority>%uint32%</priority></spanning-tree>"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Port-channel/%name%/spanning-tree


curl -v -X PATCH -d "[DO NOT USE]<spanning-tree><restricted-role>true</restricted-role></spanning-tree>"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Port-channel/%name%/spanning-tree


curl -v -X PATCH -d "[DO NOT USE]<spanning-tree><restricted-tcn>true</restricted-tcn></spanning-tree>"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Port-channel/%name%/spanning-tree


curl -v -X PATCH -d "<spanning-tree><shutdown>true</shutdown></spanning-tree>"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Port-channel/%name%/spanning-tree


curl -v -X PATCH -d "[DO NOT USE]<vlan><cost>%uint32%</cost></vlan>"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Port-channel/%name%/spanning-tree/vlan/%id%


curl -v -X PATCH -d "[DO NOT USE]<vlan><priority>%uint32%</priority></vlan>"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Port-channel/%name%/spanning-tree/vlan/%id%


curl -v -X PATCH -d "<guard><root>true</root></guard>"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Port-channel/%name%/spanning-tree/vlan/%id%/guard


curl -v -X PATCH -d "[DO NOT USE]<instance><cost>%uint32%</cost></instance>"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Port-channel/%name%/spanning-tree/instance/%id%


curl -v -X PATCH -d "[DO NOT USE]<instance><priority>%uint32%</priority></instance>"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Port-channel/%name%/spanning-tree/instance/%id%


curl -v -X PATCH -d "[DO NOT USE]<instance><restricted-role>true</restricted-role></instance>"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Port-channel/%name%/spanning-tree/instance/%id%


curl -v -X PATCH -d "[DO NOT USE]<instance><restricted-tcn>true</restricted-tcn></instance>"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Port-channel/%name%/spanning-tree/instance/%id%


curl -v -X PATCH -d "<spanning-tree><shutdown>true</shutdown></spanning-tree>"  -u admin:password http://%ipaddress%:80/rest/config/running/vlan/%name%/spanning-tree

