
********************************************************************************
* 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 "<sa-mac>true</sa-mac>"  -u admin:password http://%ipaddress%:80/rest/config/running/load-balance/hash/ethernet/sa-mac


curl -v -X PUT -d "<da-mac>true</da-mac>"  -u admin:password http://%ipaddress%:80/rest/config/running/load-balance/hash/ethernet/da-mac


curl -v -X PUT -d "<smac-dmac>true</smac-dmac>"  -u admin:password http://%ipaddress%:80/rest/config/running/load-balance/hash/ethernet/smac-dmac


curl -v -X PUT -d "<vlan>true</vlan>"  -u admin:password http://%ipaddress%:80/rest/config/running/load-balance/hash/ethernet/vlan


curl -v -X PUT -d "<etype>true</etype>"  -u admin:password http://%ipaddress%:80/rest/config/running/load-balance/hash/ethernet/etype


curl -v -X PUT -d "<src-l4-port>true</src-l4-port>"  -u admin:password http://%ipaddress%:80/rest/config/running/load-balance/hash/ip/src-l4-port


curl -v -X PUT -d "<dst-l4-port>true</dst-l4-port>"  -u admin:password http://%ipaddress%:80/rest/config/running/load-balance/hash/ip/dst-l4-port


curl -v -X PUT -d "<src-ip>true</src-ip>"  -u admin:password http://%ipaddress%:80/rest/config/running/load-balance/hash/ip/src-ip


curl -v -X PUT -d "<dst-ip>true</dst-ip>"  -u admin:password http://%ipaddress%:80/rest/config/running/load-balance/hash/ip/dst-ip


curl -v -X PUT -d "<sip-dip>true</sip-dip>"  -u admin:password http://%ipaddress%:80/rest/config/running/load-balance/hash/ip/sip-dip


curl -v -X PUT -d "<protocol>true</protocol>"  -u admin:password http://%ipaddress%:80/rest/config/running/load-balance/hash/ip/protocol


curl -v -X PUT -d "<ipv6-src-l4-port>true</ipv6-src-l4-port>"  -u admin:password http://%ipaddress%:80/rest/config/running/load-balance/hash/ipv6/ipv6-src-l4-port


curl -v -X PUT -d "<ipv6-dst-l4-port>true</ipv6-dst-l4-port>"  -u admin:password http://%ipaddress%:80/rest/config/running/load-balance/hash/ipv6/ipv6-dst-l4-port


curl -v -X PUT -d "<ipv6-src-ip>true</ipv6-src-ip>"  -u admin:password http://%ipaddress%:80/rest/config/running/load-balance/hash/ipv6/ipv6-src-ip


curl -v -X PUT -d "<ipv6-dst-ip>true</ipv6-dst-ip>"  -u admin:password http://%ipaddress%:80/rest/config/running/load-balance/hash/ipv6/ipv6-dst-ip


curl -v -X PUT -d "<sipv6-dipv6>true</sipv6-dipv6>"  -u admin:password http://%ipaddress%:80/rest/config/running/load-balance/hash/ipv6/sipv6-dipv6


curl -v -X PUT -d "<ipv6-next-hdr>true</ipv6-next-hdr>"  -u admin:password http://%ipaddress%:80/rest/config/running/load-balance/hash/ipv6/ipv6-next-hdr


curl -v -X PUT -d "<label1>true</label1>"  -u admin:password http://%ipaddress%:80/rest/config/running/load-balance/hash/mpls/label1


curl -v -X PUT -d "<label2>true</label2>"  -u admin:password http://%ipaddress%:80/rest/config/running/load-balance/hash/mpls/label2


curl -v -X PUT -d "<label3>true</label3>"  -u admin:password http://%ipaddress%:80/rest/config/running/load-balance/hash/mpls/label3


curl -v -X PUT -d "<all-labels>true</all-labels>"  -u admin:password http://%ipaddress%:80/rest/config/running/load-balance/hash/mpls/all-labels


curl -v -X PUT -d "<src-dst-port>true</src-dst-port>"  -u admin:password http://%ipaddress%:80/rest/config/running/load-balance/hash/l4/src-dst-port


curl -v -X PUT -d "<fwd-term>%enumeration%</fwd-term>"  -u admin:password http://%ipaddress%:80/rest/config/running/lag/hash/hdr-start/fwd-term


curl -v -X PUT -d "<start-skip>%enumeration%</start-skip>"  -u admin:password http://%ipaddress%:80/rest/config/running/lag/hash/bos/start-skip


curl -v -X PUT -d "[DO NOT USE]<hdr-count>%uint32%</hdr-count>"  -u admin:password http://%ipaddress%:80/rest/config/running/lag/hash/hdr-count


curl -v -X PUT -d "[DO NOT USE]<rotate>%uint32%</rotate>"  -u admin:password http://%ipaddress%:80/rest/config/running/lag/hash/rotate


curl -v -X PUT -d "[DO NOT USE]<normalize>true</normalize>"  -u admin:password http://%ipaddress%:80/rest/config/running/lag/hash/normalize


curl -v -X PUT -d "[DO NOT USE]<srcport>true</srcport>"  -u admin:password http://%ipaddress%:80/rest/config/running/lag/hash/srcport


curl -v -X PUT -d "[DO NOT USE]<pwctrlword>true</pwctrlword>"  -u admin:password http://%ipaddress%:80/rest/config/running/lag/hash/pwctrlword


curl -v -X PUT -d "<enable-eth-ip>%enumeration%</enable-eth-ip>"  -u admin:password http://%ipaddress%:80/rest/config/running/lag/hash/speculate-mpls/enable-eth-ip

