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

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"statistics-sync\": {}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface-vlan/vlan=%name%/statistics-sync

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"loop-detection\": {}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface-vlan/vlan=%name%/loop-detection

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"loop-detection-shutdown-disable\": {}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface-vlan/vlan=%name%/loop-detection-shutdown-disable

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"ve-config\": \"%ve-type%\"}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface-vlan/vlan=%name%/router-interface/ve-config

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

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"loopback\": \"%enumeration%\"}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/loopback

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"speed\": \"%enumeration%\"}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/speed

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"fec-mode\": \"%fec-mode-type%\"}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/fec/fec-mode

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

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

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"forwarding\": \"%common-def:vrf-name%\"}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/vrf/forwarding

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"insight-enable\": {}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/insight/insight-enable

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

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"reload-delay-enable\": {}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/reload-delay/reload-delay-enable

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"reload-delay-time\": \"%reload-delay-type%\"}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/reload-delay/reload-delay-time

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"tcp_burstrate\": \"%uint32%\"}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/management=%name%/tcp/tcp_burstrate

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"tcp_lockdown\": \"%uint32%\"}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/management=%name%/tcp/tcp_lockdown

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"unreachable\": {}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/management=%name%/ip/icmp/unreachable

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"echo_reply\": {}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/management=%name%/ip/icmp/echo_reply

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"rate_limiting\": \"%uint32%\"}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/management=%name%/ip/icmp/rate_limiting

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"dhcp\": {}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/management=%name%/ip/address/dhcp

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

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"v6_rate_limiting\": \"%uint32%\"}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/management=%name%/ipv6/icmpv6/v6_rate_limiting

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"ipv6-global-address\": \"%common-def:ipv6-address-prefix%\"}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/management=%name%/ipv6/ipv6-address-cont/ipv6-global-cont/ipv6-global-address

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"ipv6-global-address-eui64\": {}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/management=%name%/ipv6/ipv6-address-cont/ipv6-global-cont/ipv6-global-address-eui64

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"autoconfig\": {}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/management=%name%/ipv6/ipv6-address-cont/autoconfig

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"dhcpv6\": {}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/management=%name%/ipv6/ipv6-address-cont/dhcpv6

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"vrf-forwarding\": \"%common-def:vrf-name%\"}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/management=%name%/vrf/vrf-forwarding

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"speed\": \"%enumeration%\"}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/management=%name%/speed

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"shutdown_management\": {}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/management=%name%/shutdown_management

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"description\": \"%string%\"}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/description

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"shutdown\": {}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/shutdown

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"channel-group\": {\"port-int\": \"%portchannel-type%\", \"mode\": \"%po-mode%\"}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/channel-group

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"type\": \"%po-type%\"}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/channel-group/type

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"mtu\": \"%mtu-type%\"}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/mtu

curl -v -X PUT -H "Content-Type: application/yang-data+json" -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 PUT -H "Content-Type: application/yang-data+json" -k -d "{\"tag-type\": \"%tpid-type%\"}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/tag-type

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"maintenance-mode\": {}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/maintenance-mode

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"rate-monitoring\": {}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/maintenance-mode/rate-monitoring

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"threshold\": \"%maint-mode-threshold%\"}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/maintenance-mode/rate-monitoring/threshold

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"basic\": {}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/switchport-basic/basic

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"vlan-mode\": \"%l2-mode-type%\"}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/switchport/mode/vlan-mode

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"port-security\": {}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/switchport/port-security

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"port-sec-max\": \"%uint32%\"}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/switchport/port-security/port-sec-max

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"port-sec-violation\": \"%port-sec-violation%\"}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/switchport/port-security/port-sec-violation

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"sticky-flag\": {}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/switchport/port-security/sticky/sticky-flag

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"shutdown-time\": \"%uint32%\"}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/switchport/port-security/shutdown-time

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"accessvlan\": \"%vlan-type%\"}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/switchport/access/accessvlan

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"all\": {}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/switchport/trunk/allowed/vlan/all

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"none\": {}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/switchport/trunk/allowed/vlan/none

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

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

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

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"tag\": {}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/switchport/trunk/tag

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"native-vlan\": {}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/switchport/trunk/tag/native-vlan

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

curl -v -X PUT -H "Content-Type: application/yang-data+json" -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 PUT -H "Content-Type: application/yang-data+json" -k -d "{\"source-guard-enable\": {}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/ip/source-guard/source-guard-enable

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"forwarding\": \"%common-def:vrf-name%\"}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/vrf/forwarding

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"reload-delay-enable\": {}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/reload-delay/reload-delay-enable

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"reload-delay-time\": \"%reload-delay-type%\"}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/reload-delay/reload-delay-time

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"interval\": {\"min-tx\": \"%bfd-tx-interval-type%\", \"min-rx\": \"%bfd-rx-interval-type%\", \"multiplier\": \"%bfd-multiplier-type%\"}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/bfd/interval

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"bfd-shutdown\": {}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/bfd/bfd-shutdown

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"snmp-link-disable\": {}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/snmp/trap/link-status/snmp-link-disable

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"redundant-enable\": {}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/redundant-management/redundant-enable

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"loop-detection-native\": {}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/edge-loop-detection-native/loop-detection-native

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"eldshutdown-disable\": {}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/edge-loop-detection/eldshutdown-disable

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

curl -v -X PUT -H "Content-Type: application/yang-data+json" -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 PUT -H "Content-Type: application/yang-data+json" -k -d "[DO NOT USE]{\"strip-header\": \"%enumeration%\"}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/strip-header

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"bpdu-drop-enable\": {}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/bpdu-drop-enable

curl -v -X PUT -H "Content-Type: application/yang-data+json" -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 PUT -H "Content-Type: application/yang-data+json" -k -d "[DO NOT USE]{\"ethernet-segment\": {}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/ethernet-segment

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"esi\": \"%string%\"}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/ethernet-segment/esi

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

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"description\": \"%string%\"}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface-vlan/vlan=%name%/description

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"vlan-name\": \"%string%\"}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface-vlan/vlan=%name%/vlan-name

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"description\": \"%string%\"}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/description

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"shutdown\": {}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/shutdown

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

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"mtu\": \"%mtu-type%\"}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/mtu

curl -v -X PUT -H "Content-Type: application/yang-data+json" -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 PUT -H "Content-Type: application/yang-data+json" -k -d "{\"tag-type\": \"%tpid-type%\"}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/tag-type

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"maintenance-mode\": {}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/maintenance-mode

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"rate-monitoring\": {}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/maintenance-mode/rate-monitoring

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

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"basic\": {}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/switchport-basic/basic

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"vlan-mode\": \"%l2-mode-type%\"}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/switchport/mode/vlan-mode

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"port-security\": {}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/switchport/port-security

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"port-sec-max\": \"%uint32%\"}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/switchport/port-security/port-sec-max

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"port-sec-violation\": \"%port-sec-violation%\"}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/switchport/port-security/port-sec-violation

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"sticky-flag\": {}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/switchport/port-security/sticky/sticky-flag

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"shutdown-time\": \"%uint32%\"}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/switchport/port-security/shutdown-time

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"accessvlan\": \"%vlan-type%\"}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/switchport/access/accessvlan

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"all\": {}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/switchport/trunk/allowed/vlan/all

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"none\": {}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/switchport/trunk/allowed/vlan/none

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

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

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

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"tag\": {}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/switchport/trunk/tag

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"native-vlan\": {}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/switchport/trunk/tag/native-vlan

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

curl -v -X PUT -H "Content-Type: application/yang-data+json" -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 PUT -H "Content-Type: application/yang-data+json" -k -d "{\"source-guard-enable\": {}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/ip/source-guard/source-guard-enable

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"snmp-link-disable\": {}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/snmp/trap/link-status/snmp-link-disable

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"interval\": {\"min-tx\": \"%bfd-tx-interval-type%\", \"min-rx\": \"%bfd-rx-interval-type%\", \"multiplier\": \"%bfd-multiplier-type%\"}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/bfd/interval

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"bfd-shutdown\": {}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/bfd/bfd-shutdown

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"loop-detection-native\": {}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/edge-loop-detection-native/loop-detection-native

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"eldshutdown-disable\": {}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/edge-loop-detection/eldshutdown-disable

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

curl -v -X PUT -H "Content-Type: application/yang-data+json" -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 PUT -H "Content-Type: application/yang-data+json" -k -d "{\"load-balance-type\": \"%enumeration%\"}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/load-balance-type

curl -v -X PUT -H "Content-Type: application/yang-data+json" -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 PUT -H "Content-Type: application/yang-data+json" -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 PUT -H "Content-Type: application/yang-data+json" -k -d "[DO NOT USE]{\"ethernet-segment\": {}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/ethernet-segment

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

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"auto\": {}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/ethernet-segment/lacp/auto

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"esi\": \"%string%\"}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/port-channel=%name%/ethernet-segment/esi

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

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

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

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"rspan-access-vlan\": \"%vlan-type%\"}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/rspan-access/rspan-access-vlan

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"channel\": \"%tunable-optics-sfpp-channel-type%\"}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:interface/ethernet=%name%/tunable-optics/sfpp/channel

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"description\": \"%string%\"}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/brocade-interface:interface/ve=%name%/description

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

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"bfd-shutdown\": {}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-common-def:routing-system/brocade-interface:interface/ve=%name%/bfd/bfd-shutdown

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

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"global-l2-mtu\": \"%mtu-type%\"}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:global-mtu-conf/global-l2-mtu

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"global-l2-bpdu\": {}}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:global-mtu-conf/global-l2-bpdu

curl -v -X PUT -H "Content-Type: application/yang-data+json" -k -d "{\"global-reload-delay\": \"%reload-delay-type%\"}"  -u admin:password https://%ipaddress%:443/restconf/data/brocade-interface:global-mtu-conf/global-reload-delay

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

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

