
********************************************************************************
* Copyright (C) 2019-2024 by Extreme Networks , Inc.                           *
* This file is part of rcBreeze 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.                   *
*                                                                              *
* 5. RestConf also supports Json formatting which can be obtained by simply    *
*    updating Content-Type: application/yang-data+xml to                       *
*    Content-Type: application/yang-data+json                                  * 
*                                                                              * 

* 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 -H "Content-Type: application/yang-data+xml" -k -d "<vlan><statistics /></vlan>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface-vlan/vlan=%name%

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<vlan><statistics-sync /></vlan>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface-vlan/vlan=%name%

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<vlan><loop-detection /></vlan>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface-vlan/vlan=%name%

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<vlan><loop-detection-shutdown-disable /></vlan>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface-vlan/vlan=%name%

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<router-interface><ve-config>%ve-type%</ve-config></router-interface>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface-vlan/vlan=%name%/router-interface

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "[DO NOT USE]<ethernet><cee>%cee-map-name-type%</cee></ethernet>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<ethernet><loopback>%enumeration%</loopback></ethernet>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<ethernet><speed>%enumeration%</speed></ethernet>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<fec><fec-mode>%fec-mode-type%</fec-mode></fec>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/fec

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "[DO NOT USE]<port-channel><cee>%cee-map-name-type%</cee></port-channel>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "[DO NOT USE]<port-channel><po-speed>%enumeration%</po-speed></port-channel>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<vrf><forwarding>%common-def:vrf-name%</forwarding></vrf>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/vrf

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<insight><insight-enable /></insight>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/insight

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "[DO NOT USE]<insight><insight-mmId>%uint32%</insight-mmId></insight>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/insight

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<reload-delay><reload-delay-enable /></reload-delay>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/reload-delay

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<reload-delay><reload-delay-time>%reload-delay-type%</reload-delay-time></reload-delay>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/reload-delay

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<tcp><tcp_burstrate>%uint32%</tcp_burstrate></tcp>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/management=%name%/tcp

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<tcp><tcp_lockdown>%uint32%</tcp_lockdown></tcp>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/management=%name%/tcp

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<icmp><unreachable /></icmp>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/management=%name%/ip/icmp

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<icmp><echo_reply /></icmp>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/management=%name%/ip/icmp

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<icmp><rate_limiting>%uint32%</rate_limiting></icmp>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/management=%name%/ip/icmp

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<address><dhcp /></address>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/management=%name%/ip/address

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "[DO NOT USE]<address><ip-address>%common-def:ipv4-address-prefix-type%</ip-address></address>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/management=%name%/ip/address

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<icmpv6><v6_rate_limiting>%uint32%</v6_rate_limiting></icmpv6>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/management=%name%/ipv6/icmpv6

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "[DO NOT USE]<ipv6-global-cont><ipv6-global-address>%common-def:ipv6-address-prefix%</ipv6-global-address></ipv6-global-cont>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/management=%name%/ipv6/ipv6-address-cont/ipv6-global-cont

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "[DO NOT USE]<ipv6-global-cont><ipv6-global-address-eui64 /></ipv6-global-cont>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/management=%name%/ipv6/ipv6-address-cont/ipv6-global-cont

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<ipv6-address-cont><autoconfig /></ipv6-address-cont>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/management=%name%/ipv6/ipv6-address-cont

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<ipv6-address-cont><dhcpv6 /></ipv6-address-cont>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/management=%name%/ipv6/ipv6-address-cont

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<vrf><vrf-forwarding>%common-def:vrf-name%</vrf-forwarding></vrf>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/management=%name%/vrf

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<management><speed>%enumeration%</speed></management>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/management=%name%

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<management><shutdown_management /></management>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/management=%name%

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<description>%string%</description>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/description

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<shutdown />"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/shutdown

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<channel-group><port-int>%portchannel-type%</port-int><mode>%po-mode%</mode></channel-group>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/channel-group

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<channel-group><type>%po-type%</type></channel-group>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/channel-group

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<mtu>%mtu-type%</mtu>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/mtu

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "[DO NOT USE]<route-only />"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/route-only

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<tag-type>%tpid-type%</tag-type>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/tag-type

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<rate-monitoring><threshold>%maint-mode-threshold%</threshold></rate-monitoring>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/maintenance-mode/rate-monitoring

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<switchport-basic><basic /></switchport-basic>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/switchport-basic

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<mode><vlan-mode>%l2-mode-type%</vlan-mode></mode>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/switchport/mode

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<port-security><port-sec-max>%uint32%</port-sec-max></port-security>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/switchport/port-security

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<port-security><port-sec-violation>%port-sec-violation%</port-sec-violation></port-security>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/switchport/port-security

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<sticky><sticky-flag /></sticky>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/switchport/port-security/sticky

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<port-security><shutdown-time>%uint32%</shutdown-time></port-security>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/switchport/port-security

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<access><accessvlan>%vlan-type%</accessvlan></access>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/switchport/access

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<vlan><all /></vlan>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/switchport/trunk/allowed/vlan

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<vlan><none /></vlan>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/switchport/trunk/allowed/vlan

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<vlan><add>%ui32-vlan-20k-range%</add></vlan>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/switchport/trunk/allowed/vlan

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<vlan><except>%ui32-1k-vlan-range%</except></vlan>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/switchport/trunk/allowed/vlan

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<vlan><remove>%ui32-1k-vlan-range%</remove></vlan>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/switchport/trunk/allowed/vlan

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<tag><native-vlan /></tag>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/switchport/trunk/tag

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<native-vlan-classification><native-vlan-id>%native-vlan-type%</native-vlan-id></native-vlan-classification>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/switchport/trunk/native-vlan-classification

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "[DO NOT USE]<bfd-software-session />"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/bfd-software-session

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<source-guard><source-guard-enable /></source-guard>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/ip/source-guard

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<vrf><forwarding>%common-def:vrf-name%</forwarding></vrf>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/vrf

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<reload-delay><reload-delay-enable /></reload-delay>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/reload-delay

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<reload-delay><reload-delay-time>%reload-delay-type%</reload-delay-time></reload-delay>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/reload-delay

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<interval><min-tx>%bfd-tx-interval-type%</min-tx><min-rx>%bfd-rx-interval-type%</min-rx><multiplier>%bfd-multiplier-type%</multiplier></interval>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/bfd/interval

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<bfd><bfd-shutdown /></bfd>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/bfd

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<link-status><snmp-link-disable /></link-status>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/snmp/trap/link-status

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "[DO NOT USE]<redundant-management><redundant-enable /></redundant-management>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/redundant-management

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<edge-loop-detection-native><loop-detection-native /></edge-loop-detection-native>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/edge-loop-detection-native

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<edge-loop-detection><eldshutdown-disable /></edge-loop-detection>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/edge-loop-detection

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<edge-loop-detection><eldvlan>%ui32-vlan-range%</eldvlan></edge-loop-detection>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/edge-loop-detection

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "[DO NOT USE]<priority-tag-enable />"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/priority-tag-enable

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "[DO NOT USE]<strip-header>%enumeration%</strip-header>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/strip-header

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<bpdu-drop-enable />"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/bpdu-drop-enable

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "[DO NOT USE]<core-isolation-track />"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/core-isolation-track

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "[DO NOT USE]<ethernet-segment><esi>%string%</esi></ethernet-segment>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/ethernet-segment

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<capability><ac-influenced-df-election /></capability>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/ethernet-segment/advertise/capability

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<description>%string%</description>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface-vlan/vlan=%name%/description

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<vlan-name>%string%</vlan-name>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface-vlan/vlan=%name%/vlan-name

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<description>%string%</description>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/description

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<shutdown />"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/shutdown

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "[DO NOT USE]<minimum-links>%uint32%</minimum-links>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/minimum-links

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<mtu>%mtu-type%</mtu>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/mtu

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "[DO NOT USE]<route-only />"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/route-only

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<tag-type>%tpid-type%</tag-type>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/tag-type

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<rate-monitoring><threshold>%maint-mode-threshold%</threshold></rate-monitoring>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/maintenance-mode/rate-monitoring

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<switchport-basic><basic /></switchport-basic>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/switchport-basic

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<mode><vlan-mode>%l2-mode-type%</vlan-mode></mode>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/switchport/mode

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<port-security><port-sec-max>%uint32%</port-sec-max></port-security>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/switchport/port-security

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<port-security><port-sec-violation>%port-sec-violation%</port-sec-violation></port-security>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/switchport/port-security

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<sticky><sticky-flag /></sticky>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/switchport/port-security/sticky

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<port-security><shutdown-time>%uint32%</shutdown-time></port-security>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/switchport/port-security

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<access><accessvlan>%vlan-type%</accessvlan></access>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/switchport/access

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<vlan><all /></vlan>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/switchport/trunk/allowed/vlan

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<vlan><none /></vlan>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/switchport/trunk/allowed/vlan

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<vlan><add>%ui32-vlan-20k-range%</add></vlan>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/switchport/trunk/allowed/vlan

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<vlan><except>%ui32-1k-vlan-range%</except></vlan>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/switchport/trunk/allowed/vlan

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<vlan><remove>%ui32-1k-vlan-range%</remove></vlan>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/switchport/trunk/allowed/vlan

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<tag><native-vlan /></tag>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/switchport/trunk/tag

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<native-vlan-classification><native-vlan-id>%native-vlan-type%</native-vlan-id></native-vlan-classification>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/switchport/trunk/native-vlan-classification

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "[DO NOT USE]<bfd-software-session />"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/bfd-software-session

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<source-guard><source-guard-enable /></source-guard>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/ip/source-guard

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<link-status><snmp-link-disable /></link-status>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/snmp/trap/link-status

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<interval><min-tx>%bfd-tx-interval-type%</min-tx><min-rx>%bfd-rx-interval-type%</min-rx><multiplier>%bfd-multiplier-type%</multiplier></interval>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/bfd/interval

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<bfd><bfd-shutdown /></bfd>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/bfd

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<edge-loop-detection-native><loop-detection-native /></edge-loop-detection-native>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/edge-loop-detection-native

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<edge-loop-detection><eldshutdown-disable /></edge-loop-detection>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/edge-loop-detection

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<edge-loop-detection><eldvlan>%ui32-vlan-range%</eldvlan></edge-loop-detection>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/edge-loop-detection

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "[DO NOT USE]<priority-tag-enable />"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/priority-tag-enable

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<load-balance-type>%enumeration%</load-balance-type>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/load-balance-type

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<bpdu-drop-enable />"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/bpdu-drop-enable

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "[DO NOT USE]<core-isolation-track />"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/core-isolation-track

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<lacp><system-id>%string%</system-id></lacp>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/ethernet-segment/lacp

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<lacp><auto /></lacp>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/ethernet-segment/lacp

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "[DO NOT USE]<ethernet-segment><esi>%string%</esi></ethernet-segment>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/ethernet-segment

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<capability><ac-influenced-df-election /></capability>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/ethernet-segment/advertise/capability

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<rspan-vlan><add-rspan-trunk-vlan>%ui32-1k-vlan-range%</add-rspan-trunk-vlan></rspan-vlan>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/rspan-vlan

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<rspan-vlan><remove-rspan-trunk-vlan>%ui32-1k-vlan-range%</remove-rspan-trunk-vlan></rspan-vlan>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/rspan-vlan

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<rspan-access><rspan-access-vlan>%vlan-type%</rspan-access-vlan></rspan-access>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/rspan-access

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<sfpp><channel>%tunable-optics-sfpp-channel-type%</channel></sfpp>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/tunable-optics/sfpp

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<ve><description>%string%</description></ve>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/brocade-interface:interface/ve=%name%

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<interval><min-tx>%bfd-tx-interval-type%</min-tx><min-rx>%bfd-rx-interval-type%</min-rx><multiplier>%bfd-multiplier-type%</multiplier></interval>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/brocade-interface:interface/ve=%name%/bfd/interval

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<bfd><bfd-shutdown /></bfd>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/brocade-interface:interface/ve=%name%/bfd

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<link-status><snmp-link-disable /></link-status>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/brocade-interface:interface/ve=%name%/snmp/trap/link-status

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<global-mtu-conf><global-l2-mtu>%mtu-type%</global-l2-mtu></global-mtu-conf>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:global-mtu-conf

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<global-mtu-conf><global-l2-bpdu /></global-mtu-conf>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:global-mtu-conf

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "<global-mtu-conf><global-reload-delay>%reload-delay-type%</global-reload-delay></global-mtu-conf>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:global-mtu-conf

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "[DO NOT USE]<global-mtu-conf><ingress-vlan-mapped-ve-counter /></global-mtu-conf>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:global-mtu-conf

curl -v -X PATCH -H "Content-Type: application/yang-data+xml" -k -d "[DO NOT USE]<tunneled-arp-trap><tunneled-arp-trap-enable /></tunneled-arp-trap>"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:global-mtu-conf/tunneled-arp-trap

