
********************************************************************************
* 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 -H "application/vnd.configuration.resource+json" "{\"vlan\": {\"statistics\": \"true\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/vlan/%name%


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"vlan\": {\"statistics-sync\": \"true\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/vlan/%name%


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"vlan\": {\"loop-detection\": \"true\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/vlan/%name%


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"vlan\": {\"loop-detection-shutdown-disable\": \"true\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/vlan/%name%


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"router-interface\": {\"Ve\": \"%ve-type%\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/vlan/%name%/router-interface


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "[DO NOT USE]{\"Ethernet\": {\"cee\": \"%cee-map-name-type%\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Ethernet/%name%


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"Ethernet\": {\"loopback\": \"%enumeration%\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Ethernet/%name%


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"Ethernet\": {\"speed\": \"%enumeration%\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Ethernet/%name%


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"fec\": {\"mode\": \"%fec-mode-type%\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Ethernet/%name%/fec


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "[DO NOT USE]{\"Port-channel\": {\"cee\": \"%cee-map-name-type%\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Port-channel/%name%


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "[DO NOT USE]{\"Port-channel\": {\"speed\": \"%enumeration%\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Port-channel/%name%


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"vrf\": {\"forwarding\": \"%common-def:vrf-name%\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Port-channel/%name%/vrf


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"insight\": {\"enable\": \"true\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Port-channel/%name%/insight


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "[DO NOT USE]{\"insight\": {\"mmId\": \"%uint32%\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Port-channel/%name%/insight


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"reload-delay\": {\"enable\": \"true\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Port-channel/%name%/reload-delay


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"reload-delay\": {\"reload-delay-time\": \"%reload-delay-type%\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Port-channel/%name%/reload-delay


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"tcp\": {\"burstrate\": \"%uint32%\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Management/%name%/tcp


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"tcp\": {\"lockup\": \"%uint32%\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Management/%name%/tcp


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"icmp\": {\"unreachable\": \"true\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Management/%name%/ip/icmp


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"icmp\": {\"echo-reply\": \"true\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Management/%name%/ip/icmp


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"icmp\": {\"rate-limiting\": \"%uint32%\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Management/%name%/ip/icmp


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"address\": {\"dhcp\": \"true\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Management/%name%/ip/address


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "[DO NOT USE]{\"address\": {\"ip-address\": \"%common-def:ipv4-address-prefix-type%\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Management/%name%/ip/address


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"icmpv6\": {\"rate-limiting\": \"%uint32%\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Management/%name%/ipv6/icmpv6


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"address\": {\"ipv6-global-address\": \"%common-def:ipv6-address-prefix%\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Management/%name%/ipv6/address


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"address\": {\"eui-64\": \"true\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Management/%name%/ipv6/address


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"address\": {\"autoconfig\": \"true\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Management/%name%/ipv6/address


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"address\": {\"dhcp\": \"true\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Management/%name%/ipv6/address


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"vrf\": {\"forwarding\": \"%common-def:vrf-name%\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Management/%name%/vrf


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"Management\": {\"speed\": \"%enumeration%\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Management/%name%


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"Management\": {\"shutdown\": \"true\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Management/%name%


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"description\": \"%string%\"}"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Ethernet/%name%/description


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"shutdown\": \"true\"}"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Ethernet/%name%/shutdown


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"channel-group\": {\"port-int\": \"%portchannel-type%\", \"mode\": \"%po-mode%\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Ethernet/%name%/channel-group


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"channel-group\": {\"type\": \"%po-type%\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Ethernet/%name%/channel-group


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"mtu\": \"%mtu-type%\"}"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Ethernet/%name%/mtu


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "[DO NOT USE]{\"route-only\": \"true\"}"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Ethernet/%name%/route-only


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"tag-type\": \"%tpid-type%\"}"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Ethernet/%name%/tag-type


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"rate-monitoring\": {\"threshold\": \"%maint-mode-threshold%\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Ethernet/%name%/maintenance-mode/rate-monitoring


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"switchport\": \"true\"}"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Ethernet/%name%/switchport


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"mode\": {\"vlan-mode\": \"%l2-mode-type%\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Ethernet/%name%/switchport/mode


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"port-security\": {\"max\": \"%uint32%\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Ethernet/%name%/switchport/port-security


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"port-security\": {\"violation\": \"%port-sec-violation%\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Ethernet/%name%/switchport/port-security


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"sticky\": {\"sticky-flag\": \"true\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Ethernet/%name%/switchport/port-security/sticky


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"port-security\": {\"shutdown-time\": \"%uint32%\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Ethernet/%name%/switchport/port-security


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"access\": {\"vlan\": \"%vlan-type%\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Ethernet/%name%/switchport/access


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"vlan\": {\"all\": \"true\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Ethernet/%name%/switchport/trunk/allowed/vlan


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"vlan\": {\"none\": \"true\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Ethernet/%name%/switchport/trunk/allowed/vlan


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"vlan\": {\"add\": \"%ui32-vlan-20k-range%\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Ethernet/%name%/switchport/trunk/allowed/vlan


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"vlan\": {\"except\": \"%ui32-1k-vlan-range%\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Ethernet/%name%/switchport/trunk/allowed/vlan


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"vlan\": {\"remove\": \"%ui32-1k-vlan-range%\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Ethernet/%name%/switchport/trunk/allowed/vlan


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"tag\": {\"native-vlan\": \"true\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Ethernet/%name%/switchport/trunk/tag


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"trunk\": {\"native-vlan\": \"%native-vlan-type%\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Ethernet/%name%/switchport/trunk


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "[DO NOT USE]{\"bfd-software-session\": \"true\"}"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Ethernet/%name%/bfd-software-session


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"source-guard\": {\"enable\": \"true\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Ethernet/%name%/ip/source-guard


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"vrf\": {\"forwarding\": \"%common-def:vrf-name%\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Ethernet/%name%/vrf


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"reload-delay\": {\"enable\": \"true\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Ethernet/%name%/reload-delay


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"reload-delay\": {\"reload-delay-time\": \"%reload-delay-type%\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Ethernet/%name%/reload-delay


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"interval\": {\"min-tx\": \"%bfd-tx-interval-type%\", \"min-rx\": \"%bfd-rx-interval-type%\", \"multiplier\": \"%bfd-multiplier-type%\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Ethernet/%name%/bfd/interval


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"bfd\": {\"shutdown\": \"true\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Ethernet/%name%/bfd


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"link-status\": {\"disable\": \"true\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Ethernet/%name%/snmp/trap/link-status


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "[DO NOT USE]{\"redundant-management\": {\"enable\": \"true\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Ethernet/%name%/redundant-management


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"loop-detection\": \"true\"}"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Ethernet/%name%/loop-detection


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"loop-detection\": {\"shutdown-disable\": \"true\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Ethernet/%name%/loop-detection


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"loop-detection\": {\"vlan\": \"%ui32-vlan-range%\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Ethernet/%name%/loop-detection


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "[DO NOT USE]{\"priority-tag\": \"true\"}"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Ethernet/%name%/priority-tag


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "[DO NOT USE]{\"strip-header\": \"%enumeration%\"}"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Ethernet/%name%/strip-header


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"bpdu-drop-enable\": \"true\"}"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Ethernet/%name%/bpdu-drop-enable


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "[DO NOT USE]{\"core-isolation-track\": \"true\"}"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Ethernet/%name%/core-isolation-track


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "[DO NOT USE]{\"ethernet-segment\": {\"esi\": \"%string%\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Ethernet/%name%/ethernet-segment


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"capability\": {\"ac-influenced-df-election\": \"true\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Ethernet/%name%/ethernet-segment/advertise/capability


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"description\": \"%string%\"}"  -u admin:password http://%ipaddress%:80/rest/config/running/vlan/%name%/description


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"name\": \"%string%\"}"  -u admin:password http://%ipaddress%:80/rest/config/running/vlan/%name%/name


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"description\": \"%string%\"}"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Port-channel/%name%/description


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"shutdown\": \"true\"}"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Port-channel/%name%/shutdown


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "[DO NOT USE]{\"minimum-links\": \"%uint32%\"}"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Port-channel/%name%/minimum-links


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"mtu\": \"%mtu-type%\"}"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Port-channel/%name%/mtu


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "[DO NOT USE]{\"route-only\": \"true\"}"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Port-channel/%name%/route-only


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"tag-type\": \"%tpid-type%\"}"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Port-channel/%name%/tag-type


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"rate-monitoring\": {\"threshold\": \"%maint-mode-threshold%\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Port-channel/%name%/maintenance-mode/rate-monitoring


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"switchport\": \"true\"}"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Port-channel/%name%/switchport


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"mode\": {\"vlan-mode\": \"%l2-mode-type%\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Port-channel/%name%/switchport/mode


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"port-security\": {\"max\": \"%uint32%\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Port-channel/%name%/switchport/port-security


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"port-security\": {\"violation\": \"%port-sec-violation%\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Port-channel/%name%/switchport/port-security


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"sticky\": {\"sticky-flag\": \"true\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Port-channel/%name%/switchport/port-security/sticky


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"port-security\": {\"shutdown-time\": \"%uint32%\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Port-channel/%name%/switchport/port-security


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"access\": {\"vlan\": \"%vlan-type%\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Port-channel/%name%/switchport/access


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"vlan\": {\"all\": \"true\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Port-channel/%name%/switchport/trunk/allowed/vlan


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"vlan\": {\"none\": \"true\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Port-channel/%name%/switchport/trunk/allowed/vlan


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"vlan\": {\"add\": \"%ui32-vlan-20k-range%\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Port-channel/%name%/switchport/trunk/allowed/vlan


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"vlan\": {\"except\": \"%ui32-1k-vlan-range%\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Port-channel/%name%/switchport/trunk/allowed/vlan


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"vlan\": {\"remove\": \"%ui32-1k-vlan-range%\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Port-channel/%name%/switchport/trunk/allowed/vlan


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"tag\": {\"native-vlan\": \"true\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Port-channel/%name%/switchport/trunk/tag


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"trunk\": {\"native-vlan\": \"%native-vlan-type%\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Port-channel/%name%/switchport/trunk


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "[DO NOT USE]{\"bfd-software-session\": \"true\"}"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Port-channel/%name%/bfd-software-session


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"source-guard\": {\"enable\": \"true\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Port-channel/%name%/ip/source-guard


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"link-status\": {\"disable\": \"true\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Port-channel/%name%/snmp/trap/link-status


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"interval\": {\"min-tx\": \"%bfd-tx-interval-type%\", \"min-rx\": \"%bfd-rx-interval-type%\", \"multiplier\": \"%bfd-multiplier-type%\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Port-channel/%name%/bfd/interval


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"bfd\": {\"shutdown\": \"true\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Port-channel/%name%/bfd


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"loop-detection\": \"true\"}"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Port-channel/%name%/loop-detection


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"loop-detection\": {\"shutdown-disable\": \"true\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Port-channel/%name%/loop-detection


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"loop-detection\": {\"vlan\": \"%ui32-vlan-range%\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Port-channel/%name%/loop-detection


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "[DO NOT USE]{\"priority-tag\": \"true\"}"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Port-channel/%name%/priority-tag


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"load-balance-type\": \"%enumeration%\"}"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Port-channel/%name%/load-balance-type


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"bpdu-drop-enable\": \"true\"}"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Port-channel/%name%/bpdu-drop-enable


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "[DO NOT USE]{\"core-isolation-track\": \"true\"}"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Port-channel/%name%/core-isolation-track


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"lacp\": {\"system-id\": \"%string%\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Port-channel/%name%/ethernet-segment/lacp


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"lacp\": {\"auto\": \"true\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Port-channel/%name%/ethernet-segment/lacp


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "[DO NOT USE]{\"ethernet-segment\": {\"esi\": \"%string%\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Port-channel/%name%/ethernet-segment


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"capability\": {\"ac-influenced-df-election\": \"true\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Port-channel/%name%/ethernet-segment/advertise/capability


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"rspan-vlan\": {\"add\": \"%ui32-1k-vlan-range%\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Ethernet/%name%/rspan-vlan


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"rspan-vlan\": {\"remove\": \"%ui32-1k-vlan-range%\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Ethernet/%name%/rspan-vlan


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"rspan-vlan\": \"%vlan-type%\"}"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Ethernet/%name%/rspan-vlan


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"sfpp\": {\"channel\": \"%tunable-optics-sfpp-channel-type%\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Ethernet/%name%/tunable-optics/sfpp


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"Ve\": {\"description\": \"%string%\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Ve/%name%


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"interval\": {\"min-tx\": \"%bfd-tx-interval-type%\", \"min-rx\": \"%bfd-rx-interval-type%\", \"multiplier\": \"%bfd-multiplier-type%\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Ve/%name%/bfd/interval


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"bfd\": {\"shutdown\": \"true\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Ve/%name%/bfd


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"link-status\": {\"disable\": \"true\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Ve/%name%/snmp/trap/link-status


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"mtu\": \"%mtu-type%\"}"  -u admin:password http://%ipaddress%:80/rest/config/running/mtu


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"bpdu-drop-enable\": \"true\"}"  -u admin:password http://%ipaddress%:80/rest/config/running/bpdu-drop-enable


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"reload-delay\": \"%reload-delay-type%\"}"  -u admin:password http://%ipaddress%:80/rest/config/running/reload-delay


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "[DO NOT USE]{\"ingress-vlan-mapped-ve-counter\": \"true\"}"  -u admin:password http://%ipaddress%:80/rest/config/running/ingress-vlan-mapped-ve-counter


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "[DO NOT USE]{\"tunneled-arp-trap\": {\"enable\": \"true\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/tunneled-arp-trap

