
********************************************************************************
* 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 "[DO NOT USE]<intf-isis />"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Ethernet/%name%


curl -v -X POST -d "<reverse-metric />"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Ethernet/%name%/isis


curl -v -X POST -d "<auth-key><interface-auth-key-level>%enumeration%</interface-auth-key-level><interface-auth-key-str>%string%</interface-auth-key-str></auth-key>"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Ethernet/%name%/isis


curl -v -X POST -d "<hello-interval><interface-hello-interval-level>%enumeration%</interface-hello-interval-level><interface-hello-interval-val>%uint32%</interface-hello-interval-val></hello-interval>"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Ethernet/%name%/isis


curl -v -X POST -d "<hello-multiplier><interface-hello-multiplier-level>%enumeration%</interface-hello-multiplier-level><interface-hello-multiplier-val>%uint32%</interface-hello-multiplier-val></hello-multiplier>"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Ethernet/%name%/isis


curl -v -X POST -d "<metric><interface-ipv6-metric-level>%enumeration%</interface-ipv6-metric-level><interface-ipv6-metric-val>%uint32%</interface-ipv6-metric-val></metric>"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Ethernet/%name%/isis/ipv6


curl -v -X POST -d "<metric><interface-metric-level>%enumeration%</interface-metric-level><interface-metric-val>%uint32%</interface-metric-val></metric>"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Ethernet/%name%/isis


curl -v -X POST -d "[DO NOT USE]<isis />"  -u admin:password http://%ipaddress%:80/rest/config/running/router


curl -v -X POST -d "<net><net-cmd>%net-type%</net-cmd></net>"  -u admin:password http://%ipaddress%:80/rest/config/running/router/isis


curl -v -X POST -d "<fast-flood />"  -u admin:password http://%ipaddress%:80/rest/config/running/router/isis


curl -v -X POST -d "<set-overload-bit />"  -u admin:password http://%ipaddress%:80/rest/config/running/router/isis


curl -v -X POST -d "<wait-for-bgp />"  -u admin:password http://%ipaddress%:80/rest/config/running/router/isis/set-overload-bit/on-startup


curl -v -X POST -d "<spf-interval><spf-interval-level>%enumeration%</spf-interval-level><spf-interval-max-hold-time>%uint32%</spf-interval-max-hold-time><spf-interval-initial-delay>%uint32%</spf-interval-initial-delay><spf-interval-hold-time>%uint32%</spf-interval-hold-time></spf-interval>"  -u admin:password http://%ipaddress%:80/rest/config/running/router/isis


curl -v -X POST -d "<reverse-metric />"  -u admin:password http://%ipaddress%:80/rest/config/running/router/isis


curl -v -X POST -d "<unicast />"  -u admin:password http://%ipaddress%:80/rest/config/running/router/isis/address-family/ipv4


curl -v -X POST -d "<summary-address><summary-ip>%inet:ipv4-address%</summary-ip><summary-ip-mask>%inet:ipv4-address%</summary-ip-mask><Level-1>true</Level-1></summary-address>"  -u admin:password http://%ipaddress%:80/rest/config/running/router/isis/address-family/ipv4/unicast


curl -v -X POST -d "<ldp-sync />"  -u admin:password http://%ipaddress%:80/rest/config/running/router/isis/address-family/ipv4/unicast


curl -v -X POST -d "<default-information-originate />"  -u admin:password http://%ipaddress%:80/rest/config/running/router/isis/address-family/ipv4/unicast


curl -v -X POST -d "<connected />"  -u admin:password http://%ipaddress%:80/rest/config/running/router/isis/address-family/ipv4/unicast/redistribute


curl -v -X POST -d "<ospf />"  -u admin:password http://%ipaddress%:80/rest/config/running/router/isis/address-family/ipv4/unicast/redistribute


curl -v -X POST -d "<static />"  -u admin:password http://%ipaddress%:80/rest/config/running/router/isis/address-family/ipv4/unicast/redistribute


curl -v -X POST -d "<bgp />"  -u admin:password http://%ipaddress%:80/rest/config/running/router/isis/address-family/ipv4/unicast/redistribute


curl -v -X POST -d "<level-1 />"  -u admin:password http://%ipaddress%:80/rest/config/running/router/isis/address-family/ipv4/unicast/redistribute/isis/level-2/into


curl -v -X POST -d "<unicast />"  -u admin:password http://%ipaddress%:80/rest/config/running/router/isis/address-family/ipv6


curl -v -X POST -d "<summary-prefix><summary-prefix-ipv6>%common-def:ipv6-address-prefix%</summary-prefix-ipv6><Level-1>true</Level-1></summary-prefix>"  -u admin:password http://%ipaddress%:80/rest/config/running/router/isis/address-family/ipv6/unicast


curl -v -X POST -d "<multi-topology />"  -u admin:password http://%ipaddress%:80/rest/config/running/router/isis/address-family/ipv6/unicast


curl -v -X POST -d "<spf-interval><spf6-interval-level>%enumeration%</spf6-interval-level><spf6-interval-max-hold-time>%uint32%</spf6-interval-max-hold-time><spf6-interval-initial-delay>%uint32%</spf6-interval-initial-delay><spf6-interval-hold-time>%uint32%</spf6-interval-hold-time></spf-interval>"  -u admin:password http://%ipaddress%:80/rest/config/running/router/isis/address-family/ipv6/unicast


curl -v -X POST -d "<default-information-originate />"  -u admin:password http://%ipaddress%:80/rest/config/running/router/isis/address-family/ipv6/unicast


curl -v -X POST -d "<connected />"  -u admin:password http://%ipaddress%:80/rest/config/running/router/isis/address-family/ipv6/unicast/redistribute


curl -v -X POST -d "<ospf />"  -u admin:password http://%ipaddress%:80/rest/config/running/router/isis/address-family/ipv6/unicast/redistribute


curl -v -X POST -d "<static />"  -u admin:password http://%ipaddress%:80/rest/config/running/router/isis/address-family/ipv6/unicast/redistribute


curl -v -X POST -d "<bgp />"  -u admin:password http://%ipaddress%:80/rest/config/running/router/isis/address-family/ipv6/unicast/redistribute


curl -v -X POST -d "<level-1 />"  -u admin:password http://%ipaddress%:80/rest/config/running/router/isis/address-family/ipv6/unicast/redistribute/isis/level-2/into


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


curl -v -X POST -d "<reverse-metric />"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Ve/%name%/isis


curl -v -X POST -d "<auth-key><interface-auth-key-level>%enumeration%</interface-auth-key-level><interface-auth-key-str>%string%</interface-auth-key-str></auth-key>"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Ve/%name%/isis


curl -v -X POST -d "<hello-interval><interface-hello-interval-level>%enumeration%</interface-hello-interval-level><interface-hello-interval-val>%uint32%</interface-hello-interval-val></hello-interval>"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Ve/%name%/isis


curl -v -X POST -d "<hello-multiplier><interface-hello-multiplier-level>%enumeration%</interface-hello-multiplier-level><interface-hello-multiplier-val>%uint32%</interface-hello-multiplier-val></hello-multiplier>"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Ve/%name%/isis


curl -v -X POST -d "<metric><interface-ipv6-metric-level>%enumeration%</interface-ipv6-metric-level><interface-ipv6-metric-val>%uint32%</interface-ipv6-metric-val></metric>"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Ve/%name%/isis/ipv6


curl -v -X POST -d "<metric><interface-metric-level>%enumeration%</interface-metric-level><interface-metric-val>%uint32%</interface-metric-val></metric>"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Ve/%name%/isis


curl -v -X POST -d "[DO NOT USE]<intf-isis />"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Port-channel/%name%


curl -v -X POST -d "<reverse-metric />"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Port-channel/%name%/isis


curl -v -X POST -d "<auth-key><interface-auth-key-level>%enumeration%</interface-auth-key-level><interface-auth-key-str>%string%</interface-auth-key-str></auth-key>"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Port-channel/%name%/isis


curl -v -X POST -d "<hello-interval><interface-hello-interval-level>%enumeration%</interface-hello-interval-level><interface-hello-interval-val>%uint32%</interface-hello-interval-val></hello-interval>"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Port-channel/%name%/isis


curl -v -X POST -d "<hello-multiplier><interface-hello-multiplier-level>%enumeration%</interface-hello-multiplier-level><interface-hello-multiplier-val>%uint32%</interface-hello-multiplier-val></hello-multiplier>"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Port-channel/%name%/isis


curl -v -X POST -d "<metric><interface-ipv6-metric-level>%enumeration%</interface-ipv6-metric-level><interface-ipv6-metric-val>%uint32%</interface-ipv6-metric-val></metric>"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Port-channel/%name%/isis/ipv6


curl -v -X POST -d "<metric><interface-metric-level>%enumeration%</interface-metric-level><interface-metric-val>%uint32%</interface-metric-val></metric>"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Port-channel/%name%/isis


curl -v -X POST -d "[DO NOT USE]<intf-isis />"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Loopback/%id%


curl -v -X POST -d "<reverse-metric />"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Loopback/%id%/isis


curl -v -X POST -d "<auth-key><interface-auth-key-level>%enumeration%</interface-auth-key-level><interface-auth-key-str>%string%</interface-auth-key-str></auth-key>"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Loopback/%id%/isis


curl -v -X POST -d "<hello-interval><interface-hello-interval-level>%enumeration%</interface-hello-interval-level><interface-hello-interval-val>%uint32%</interface-hello-interval-val></hello-interval>"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Loopback/%id%/isis


curl -v -X POST -d "<hello-multiplier><interface-hello-multiplier-level>%enumeration%</interface-hello-multiplier-level><interface-hello-multiplier-val>%uint32%</interface-hello-multiplier-val></hello-multiplier>"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Loopback/%id%/isis


curl -v -X POST -d "<metric><interface-ipv6-metric-level>%enumeration%</interface-ipv6-metric-level><interface-ipv6-metric-val>%uint32%</interface-ipv6-metric-val></metric>"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Loopback/%id%/isis/ipv6


curl -v -X POST -d "<metric><interface-metric-level>%enumeration%</interface-metric-level><interface-metric-val>%uint32%</interface-metric-val></metric>"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Loopback/%id%/isis

