
********************************************************************************
* 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 GET -H "application/vnd.configuration.resource+json"  -u admin:password http://%ipaddress%:80/rest/config/running/port-profile/%name%


curl -v -X GET -H "application/vnd.configuration.resource+json"  -u admin:password http://%ipaddress%:80/rest/config/running/port-profile/%name%/allow


curl -v -X GET -H "application/vnd.configuration.resource+json"  -u admin:password http://%ipaddress%:80/rest/config/running/port-profile/%name%/allow/non-profiled-macs


curl -v -X GET -H "application/vnd.configuration.resource+json"  -u admin:password http://%ipaddress%:80/rest/config/running/port-profile/%name%/vlan-profile


curl -v -X GET -H "application/vnd.configuration.resource+json"  -u admin:password http://%ipaddress%:80/rest/config/running/port-profile/%name%/qos-profile


curl -v -X GET -H "application/vnd.configuration.resource+json"  -u admin:password http://%ipaddress%:80/rest/config/running/port-profile/%name%/security-profile


curl -v -X GET -H "application/vnd.configuration.resource+json"  -u admin:password http://%ipaddress%:80/rest/config/running/port-profile/%name%/restrict-flooding


curl -v -X GET -H "application/vnd.configuration.resource+json"  -u admin:password http://%ipaddress%:80/rest/config/running/port-profile/%name%


curl -v -X GET -H "application/vnd.configuration.resource+json"  -u admin:password http://%ipaddress%:80/rest/config/running/port-profile/%name%/static/%mac-address%


curl -v -X GET -H "application/vnd.configuration.resource+json"  -u admin:password http://%ipaddress%:80/rest/config/running/port-profile/%name%/vlan-profile/switchport


curl -v -X GET -H "application/vnd.configuration.resource+json"  -u admin:password http://%ipaddress%:80/rest/config/running/port-profile/%name%/vlan-profile/switchport


curl -v -X GET -H "application/vnd.configuration.resource+json"  -u admin:password http://%ipaddress%:80/rest/config/running/port-profile/%name%/vlan-profile/switchport/mode


curl -v -X GET -H "application/vnd.configuration.resource+json"  -u admin:password http://%ipaddress%:80/rest/config/running/port-profile/%name%/vlan-profile/switchport/mode/vlan-mode


curl -v -X GET -H "application/vnd.configuration.resource+json"  -u admin:password http://%ipaddress%:80/rest/config/running/port-profile/%name%/vlan-profile/switchport/access


curl -v -X GET -H "application/vnd.configuration.resource+json"  -u admin:password http://%ipaddress%:80/rest/config/running/port-profile/%name%/vlan-profile/switchport/access/vlan


curl -v -X GET -H "application/vnd.configuration.resource+json"  -u admin:password http://%ipaddress%:80/rest/config/running/port-profile/%name%/vlan-profile/switchport/access/vlan/name


curl -v -X GET -H "application/vnd.configuration.resource+json"  -u admin:password http://%ipaddress%:80/rest/config/running/port-profile/%name%/vlan-profile/switchport/access


curl -v -X GET -H "application/vnd.configuration.resource+json"  -u admin:password http://%ipaddress%:80/rest/config/running/port-profile/%name%/vlan-profile/switchport/access/vlan/%access-vlan-id%/%mac%


curl -v -X GET -H "application/vnd.configuration.resource+json"  -u admin:password http://%ipaddress%:80/rest/config/running/port-profile/%name%/vlan-profile/switchport/access


curl -v -X GET -H "application/vnd.configuration.resource+json"  -u admin:password http://%ipaddress%:80/rest/config/running/port-profile/%name%/vlan-profile/switchport/access/vlan/%access-vlan-id%/%mac-group%


curl -v -X GET -H "application/vnd.configuration.resource+json"  -u admin:password http://%ipaddress%:80/rest/config/running/port-profile/%name%/vlan-profile/switchport/trunk


curl -v -X GET -H "application/vnd.configuration.resource+json"  -u admin:password http://%ipaddress%:80/rest/config/running/port-profile/%name%/vlan-profile/switchport/trunk/allowed


curl -v -X GET -H "application/vnd.configuration.resource+json"  -u admin:password http://%ipaddress%:80/rest/config/running/port-profile/%name%/vlan-profile/switchport/trunk/allowed/vlan


curl -v -X GET -H "application/vnd.configuration.resource+json"  -u admin:password http://%ipaddress%:80/rest/config/running/port-profile/%name%/vlan-profile/switchport/trunk/allowed/vlan/all


curl -v -X GET -H "application/vnd.configuration.resource+json"  -u admin:password http://%ipaddress%:80/rest/config/running/port-profile/%name%/vlan-profile/switchport/trunk/allowed/vlan/none


curl -v -X GET -H "application/vnd.configuration.resource+json"  -u admin:password http://%ipaddress%:80/rest/config/running/port-profile/%name%/vlan-profile/switchport/trunk/allowed/vlan/add


curl -v -X GET -H "application/vnd.configuration.resource+json"  -u admin:password http://%ipaddress%:80/rest/config/running/port-profile/%name%/vlan-profile/switchport/trunk/allowed/vlan/except


curl -v -X GET -H "application/vnd.configuration.resource+json"  -u admin:password http://%ipaddress%:80/rest/config/running/port-profile/%name%/vlan-profile/switchport/trunk/allowed/vlan/remove


curl -v -X GET -H "application/vnd.configuration.resource+json"  -u admin:password http://%ipaddress%:80/rest/config/running/port-profile/%name%/vlan-profile/switchport/trunk/allowed


curl -v -X GET -H "application/vnd.configuration.resource+json"  -u admin:password http://%ipaddress%:80/rest/config/running/port-profile/%name%/vlan-profile/switchport/trunk/allowed/vlan


curl -v -X GET -H "application/vnd.configuration.resource+json"  -u admin:password http://%ipaddress%:80/rest/config/running/port-profile/%name%/vlan-profile/switchport/trunk/allowed/vlan/add/%trunk-vlan-id%/%ctag%


curl -v -X GET -H "application/vnd.configuration.resource+json"  -u admin:password http://%ipaddress%:80/rest/config/running/port-profile/%name%/vlan-profile/switchport/trunk/allowed/vlan/remove/%trunk-vlan-id%/%ctag%


curl -v -X GET -H "application/vnd.configuration.resource+json"  -u admin:password http://%ipaddress%:80/rest/config/running/port-profile/%name%/vlan-profile/switchport/trunk/native-vlan


curl -v -X GET -H "application/vnd.configuration.resource+json"  -u admin:password http://%ipaddress%:80/rest/config/running/port-profile/%name%/vlan-profile/switchport/trunk/ctag


curl -v -X GET -H "application/vnd.configuration.resource+json"  -u admin:password http://%ipaddress%:80/rest/config/running/port-profile/%name%/vlan-profile/switchport/trunk/native-vlan


curl -v -X GET -H "application/vnd.configuration.resource+json"  -u admin:password http://%ipaddress%:80/rest/config/running/port-profile/%name%/qos-profile/cee


curl -v -X GET -H "application/vnd.configuration.resource+json"  -u admin:password http://%ipaddress%:80/rest/config/running/port-profile/%name%/qos-profile/qos


curl -v -X GET -H "application/vnd.configuration.resource+json"  -u admin:password http://%ipaddress%:80/rest/config/running/port-profile/%name%/qos-profile/qos/cos


curl -v -X GET -H "application/vnd.configuration.resource+json"  -u admin:password http://%ipaddress%:80/rest/config/running/port-profile/%name%/qos-profile/qos/trust


curl -v -X GET -H "application/vnd.configuration.resource+json"  -u admin:password http://%ipaddress%:80/rest/config/running/port-profile/%name%/qos-profile/qos/trust/cos


curl -v -X GET -H "application/vnd.configuration.resource+json"  -u admin:password http://%ipaddress%:80/rest/config/running/port-profile/%name%/qos-profile/qos/cos-mutation


curl -v -X GET -H "application/vnd.configuration.resource+json"  -u admin:password http://%ipaddress%:80/rest/config/running/port-profile/%name%/qos-profile/qos/cos-traffic-class


curl -v -X GET -H "application/vnd.configuration.resource+json"  -u admin:password http://%ipaddress%:80/rest/config/running/port-profile/%name%/qos-profile/qos/flowcontrol


curl -v -X GET -H "application/vnd.configuration.resource+json"  -u admin:password http://%ipaddress%:80/rest/config/running/port-profile/%name%/qos-profile/qos/flowcontrol/rx


curl -v -X GET -H "application/vnd.configuration.resource+json"  -u admin:password http://%ipaddress%:80/rest/config/running/port-profile/%name%/qos-profile/qos/flowcontrol/pfc/%cos%


curl -v -X GET -H "application/vnd.configuration.resource+json"  -u admin:password http://%ipaddress%:80/rest/config/running/port-profile/%name%/security-profile/mac


curl -v -X GET -H "application/vnd.configuration.resource+json"  -u admin:password http://%ipaddress%:80/rest/config/running/port-profile/%name%/security-profile/mac/access-group


curl -v -X GET -H "application/vnd.configuration.resource+json"  -u admin:password http://%ipaddress%:80/rest/config/running/port-profile/%name%/security-profile/mac/access-group/in


curl -v -X GET -H "application/vnd.configuration.resource+json"  -u admin:password http://%ipaddress%:80/rest/config/running/port-profile/%name%/security-profile/ip


curl -v -X GET -H "application/vnd.configuration.resource+json"  -u admin:password http://%ipaddress%:80/rest/config/running/port-profile/%name%/security-profile/ip/access-group


curl -v -X GET -H "application/vnd.configuration.resource+json"  -u admin:password http://%ipaddress%:80/rest/config/running/port-profile/%name%/security-profile/ip/access-group/in


curl -v -X GET -H "application/vnd.configuration.resource+json"  -u admin:password http://%ipaddress%:80/rest/config/running/port-profile/%name%/security-profile/ipv6


curl -v -X GET -H "application/vnd.configuration.resource+json"  -u admin:password http://%ipaddress%:80/rest/config/running/port-profile/%name%/security-profile/ipv6/access-group


curl -v -X GET -H "application/vnd.configuration.resource+json"  -u admin:password http://%ipaddress%:80/rest/config/running/port-profile/%name%/security-profile/ipv6/access-group/in


curl -v -X GET -H "application/vnd.configuration.resource+json"  -u admin:password http://%ipaddress%:80/rest/config/running/port-profile-domain/%port-profile-domain-name%


curl -v -X GET -H "application/vnd.configuration.resource+json"  -u admin:password http://%ipaddress%:80/rest/config/running/port-profile-domain/%port-profile-domain-name%/port-profile/%profile-name%


curl -v -X GET -H "application/vnd.configuration.resource+json"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Ethernet/%name%/port-profile-port


curl -v -X GET -H "application/vnd.configuration.resource+json"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Ethernet/%name%/port-profile-port


curl -v -X GET -H "application/vnd.configuration.resource+json"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Ethernet/%name%/port-profile-port/domain


curl -v -X GET -H "application/vnd.configuration.resource+json"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Ethernet/%name%/port-profile-port/domain/profile-domain-name


curl -v -X GET -H "application/vnd.configuration.resource+json"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Port-channel/%name%/port-profile-port


curl -v -X GET -H "application/vnd.configuration.resource+json"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Port-channel/%name%/port-profile-port


curl -v -X GET -H "application/vnd.configuration.resource+json"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Port-channel/%name%/port-profile-port/domain


curl -v -X GET -H "application/vnd.configuration.resource+json"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Port-channel/%name%/port-profile-port/domain/profile-domain-name

