
********************************************************************************
* 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 PUT -d "<enable>true</enable>"  -u admin:password http://%ipaddress%:80/rest/config/running/dot1x/enable


curl -v -X PUT -d "<timeout>%dot1x-readinesstest-timeout-interval%</timeout>"  -u admin:password http://%ipaddress%:80/rest/config/running/dot1x/test/timeout


curl -v -X PUT -d "<authentication>true</authentication>"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Ethernet/%name%/dot1x/authentication


curl -v -X PUT -d "<port-control>%enumeration%</port-control>"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Ethernet/%name%/dot1x/port-control


curl -v -X PUT -d "<protocol-version>%uint32%</protocol-version>"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Ethernet/%name%/dot1x/protocol-version


curl -v -X PUT -d "<quiet-period>%uint32%</quiet-period>"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Ethernet/%name%/dot1x/quiet-period


curl -v -X PUT -d "<reauthMax>%uint32%</reauthMax>"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Ethernet/%name%/dot1x/reauthMax


curl -v -X PUT -d "<max-req>%uint32%</max-req>"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Ethernet/%name%/dot1x/max-req


curl -v -X PUT -d "<reauthentication>true</reauthentication>"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Ethernet/%name%/dot1x/reauthentication


curl -v -X PUT -d "<filter-strict-security>true</filter-strict-security>"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Ethernet/%name%/dot1x/filter-strict-security


curl -v -X PUT -d "<re-authperiod>%dot1x-reauth-timeout-interval%</re-authperiod>"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Ethernet/%name%/dot1x/timeout/re-authperiod


curl -v -X PUT -d "<supp-timeout>%dot1x-supp-timeout-interval%</supp-timeout>"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Ethernet/%name%/dot1x/timeout/supp-timeout


curl -v -X PUT -d "<tx-period>%dot1x-tx-timeout-interval%</tx-period>"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Ethernet/%name%/dot1x/timeout/tx-period

