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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


curl -v -X PATCH -d "[DO NOT USE]<mpls><label1>true</label1></mpls>"  -u admin:password http://%ipaddress%:80/rest/config/running/load-balance/hash/mpls


curl -v -X PATCH -d "[DO NOT USE]<mpls><label2>true</label2></mpls>"  -u admin:password http://%ipaddress%:80/rest/config/running/load-balance/hash/mpls


curl -v -X PATCH -d "[DO NOT USE]<mpls><label3>true</label3></mpls>"  -u admin:password http://%ipaddress%:80/rest/config/running/load-balance/hash/mpls


curl -v -X PATCH -d "[DO NOT USE]<mpls><all-labels>true</all-labels></mpls>"  -u admin:password http://%ipaddress%:80/rest/config/running/load-balance/hash/mpls


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


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


curl -v -X PATCH -d "[DO NOT USE]<bos><start-skip>%enumeration%</start-skip></bos>"  -u admin:password http://%ipaddress%:80/rest/config/running/lag/hash/bos


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


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


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


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


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


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

