
********************************************************************************
* 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 POST -d "<username><name>%string%</name><password>%user-passwd%</password></username>"  -u admin:password http://%ipaddress%:80/rest/config/running


curl -v -X POST -d "<name><name>%string%</name></name>"  -u admin:password http://%ipaddress%:80/rest/config/running/role


curl -v -X POST -d "<host><hostname>%string%</hostname><use-vrf>%common-def:use-vrf%</use-vrf></host>"  -u admin:password http://%ipaddress%:80/rest/config/running/radius-server


curl -v -X POST -d "[DO NOT USE]<source-interface-name><ethernet><source-interface-value>%interface:interface-type%</source-interface-value></ethernet></source-interface-name>"  -u admin:password http://%ipaddress%:80/rest/config/running


curl -v -X POST -d "<host><hostname>%string%</hostname><use-vrf>%common-def:use-vrf%</use-vrf></host>"  -u admin:password http://%ipaddress%:80/rest/config/running/tacacs-server


curl -v -X POST -d "<host><hostname>%string%</hostname><use-vrf>%common-def:use-vrf%</use-vrf></host>"  -u admin:password http://%ipaddress%:80/rest/config/running/ldap-server


curl -v -X POST -d "[DO NOT USE]<source-intf-type><ethernet><source-intf-name>%ethernet-iftype%</source-intf-name></ethernet></source-intf-type>"  -u admin:password http://%ipaddress%:80/rest/config/running


curl -v -X POST -d "<group><ad-group>%string%</ad-group></group>"  -u admin:password http://%ipaddress%:80/rest/config/running/ldap-server/maprole


curl -v -X POST -d "<rule><index>%uint32%</index><action>%rule-action%</action></rule>"  -u admin:password http://%ipaddress%:80/rest/config/running


curl -v -X POST -d "<interface />"  -u admin:password http://%ipaddress%:80/rest/config/running/rule/%index%/command


curl -v -X POST -d "<ethernet />"  -u admin:password http://%ipaddress%:80/rest/config/running/rule/%index%/command/interface


curl -v -X POST -d "[DO NOT USE]<management />"  -u admin:password http://%ipaddress%:80/rest/config/running/rule/%index%/command/interface


curl -v -X POST -d "<port-channel />"  -u admin:password http://%ipaddress%:80/rest/config/running/rule/%index%/command/interface


curl -v -X POST -d "<loopback />"  -u admin:password http://%ipaddress%:80/rest/config/running/rule/%index%/command/interface


curl -v -X POST -d "<ve />"  -u admin:password http://%ipaddress%:80/rest/config/running/rule/%index%/command/interface


curl -v -X POST -d "<copy />"  -u admin:password http://%ipaddress%:80/rest/config/running/rule/%index%/command


curl -v -X POST -d "<running-config />"  -u admin:password http://%ipaddress%:80/rest/config/running/rule/%index%/command/copy


curl -v -X POST -d "<support />"  -u admin:password http://%ipaddress%:80/rest/config/running/rule/%index%/command/copy


curl -v -X POST -d "<clear />"  -u admin:password http://%ipaddress%:80/rest/config/running/rule/%index%/command


curl -v -X POST -d "<logging />"  -u admin:password http://%ipaddress%:80/rest/config/running/rule/%index%/command/clear


curl -v -X POST -d "<support />"  -u admin:password http://%ipaddress%:80/rest/config/running/rule/%index%/command/clear


curl -v -X POST -d "<protocol />"  -u admin:password http://%ipaddress%:80/rest/config/running/rule/%index%/command


curl -v -X POST -d "<spanning-tree />"  -u admin:password http://%ipaddress%:80/rest/config/running/rule/%index%/command/protocol


curl -v -X POST -d "<lldp />"  -u admin:password http://%ipaddress%:80/rest/config/running/rule/%index%/command/protocol


curl -v -X POST -d "<alias><name>%string%</name></alias>"  -u admin:password http://%ipaddress%:80/rest/config/running/alias-config


curl -v -X POST -d "<user><name>%string%</name></user>"  -u admin:password http://%ipaddress%:80/rest/config/running/alias-config


curl -v -X POST -d "<alias><name>%string%</name></alias>"  -u admin:password http://%ipaddress%:80/rest/config/running/alias-config/user/%name%

