
********************************************************************************
* 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" "{\"match\": {\"uda\": \"%common-def:name-string63%\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/route-map/%name%/%action-rm%/%instance%/match


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"match\": {\"vrf\": \"%common-def:vrf-name%\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/route-map/%name%/%action-rm%/%instance%/match


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"rpki\": {\"rpki-state-type\": \"%enumeration%\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/route-map/%name%/%action-rm%/%instance%/match/rpki


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"advertise-set\": {\"all\": \"true\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/route-map/%name%/%action-rm%/%instance%/match/additional-paths/advertise-set


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"advertise-set\": {\"best\": \"%uint32%\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/route-map/%name%/%action-rm%/%instance%/match/additional-paths/advertise-set


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"best-range\": {\"range-start\": \"%uint32%\", \"range-end\": \"%uint32%\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/route-map/%name%/%action-rm%/%instance%/match/additional-paths/advertise-set/best-range


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"advertise-set\": {\"group-best\": \"true\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/route-map/%name%/%action-rm%/%instance%/match/additional-paths/advertise-set


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"interface\": {\"ethernet\": \"%interface:interface-type%\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/route-map/%name%/%action-rm%/%instance%/match/interface


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"interface\": {\"port-channel\": \"%interface:portchannel-type%\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/route-map/%name%/%action-rm%/%instance%/match/interface


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"interface\": {\"loopback\": \"%loopback-intf:intf-loopback-port-type%\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/route-map/%name%/%action-rm%/%instance%/match/interface


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"interface\": {\"ve\": \"%interface:ve-type%\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/route-map/%name%/%action-rm%/%instance%/match/interface


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"address\": {\"prefix-list\": \"%match-prefix-list-name-t%\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/route-map/%name%/%action-rm%/%instance%/match/ipv6/address


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"address\": {\"acl\": \"%ipv6-access-list:ipv6-l3-acl-policy-name%\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/route-map/%name%/%action-rm%/%instance%/match/ipv6/address


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "[DO NOT USE]{\"ipv6\": {\"source-address\": \"%inet:ipv6-prefix%\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/route-map/%name%/%action-rm%/%instance%/match/ipv6


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "[DO NOT USE]{\"ipv6\": {\"destination-address\": \"%inet:ipv6-prefix%\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/route-map/%name%/%action-rm%/%instance%/match/ipv6


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "[DO NOT USE]{\"icmp-type\": {\"max-value\": \"%icmp-type-t%\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/route-map/%name%/%action-rm%/%instance%/match/ipv6/icmp-type/%compare-op%/%value%


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "[DO NOT USE]{\"icmp-type\": {\"neq\": \"true\", \"neq-extra-values\": \"%string%\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/route-map/%name%/%action-rm%/%instance%/match/ipv6/icmp-type/%compare-op%/%value%


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"icmp-type\": {\"empty-leaf\": \"true\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/route-map/%name%/%action-rm%/%instance%/match/ipv6/icmp-type/%compare-op%/%value%


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "[DO NOT USE]{\"icmp-code\": {\"max-value\": \"%icmp-code-t%\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/route-map/%name%/%action-rm%/%instance%/match/ipv6/icmp-code/%compare-op%/%value%


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "[DO NOT USE]{\"icmp-code\": {\"neq\": \"true\", \"neq-extra-values\": \"%string%\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/route-map/%name%/%action-rm%/%instance%/match/ipv6/icmp-code/%compare-op%/%value%


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"icmp-code\": {\"empty-leaf\": \"true\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/route-map/%name%/%action-rm%/%instance%/match/ipv6/icmp-code/%compare-op%/%value%


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "[DO NOT USE]{\"flow-label\": {\"max-value\": \"%flow-label-t%\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/route-map/%name%/%action-rm%/%instance%/match/ipv6/flow-label/%compare-op%/%value%


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "[DO NOT USE]{\"flow-label\": {\"neq\": \"true\", \"neq-extra-values\": \"%string%\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/route-map/%name%/%action-rm%/%instance%/match/ipv6/flow-label/%compare-op%/%value%


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"flow-label\": {\"empty-leaf\": \"true\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/route-map/%name%/%action-rm%/%instance%/match/ipv6/flow-label/%compare-op%/%value%


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"next-hop\": {\"prefix-list\": \"%match-prefix-list-name-t%\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/route-map/%name%/%action-rm%/%instance%/match/ipv6/next-hop


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"route-source\": {\"prefix-list\": \"%string%\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/route-map/%name%/%action-rm%/%instance%/match/ipv6/route-source


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"address\": {\"prefix-list\": \"%match-prefix-list-name-t%\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/route-map/%name%/%action-rm%/%instance%/match/ip/address


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"address\": {\"acl\": \"%ip-access-list:l3-acl-policy-name%\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/route-map/%name%/%action-rm%/%instance%/match/ip/address


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "[DO NOT USE]{\"ip\": {\"source-address\": \"%inet:ipv4-prefix%\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/route-map/%name%/%action-rm%/%instance%/match/ip


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "[DO NOT USE]{\"ip\": {\"destination-address\": \"%inet:ipv4-prefix%\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/route-map/%name%/%action-rm%/%instance%/match/ip


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "[DO NOT USE]{\"icmp-type\": {\"max-value\": \"%icmp-type-t%\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/route-map/%name%/%action-rm%/%instance%/match/ip/icmp-type/%compare-op%/%value%


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "[DO NOT USE]{\"icmp-type\": {\"neq\": \"true\", \"neq-extra-values\": \"%string%\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/route-map/%name%/%action-rm%/%instance%/match/ip/icmp-type/%compare-op%/%value%


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"icmp-type\": {\"empty-leaf\": \"true\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/route-map/%name%/%action-rm%/%instance%/match/ip/icmp-type/%compare-op%/%value%


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "[DO NOT USE]{\"icmp-code\": {\"max-value\": \"%icmp-code-t%\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/route-map/%name%/%action-rm%/%instance%/match/ip/icmp-code/%compare-op%/%value%


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "[DO NOT USE]{\"icmp-code\": {\"neq\": \"true\", \"neq-extra-values\": \"%string%\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/route-map/%name%/%action-rm%/%instance%/match/ip/icmp-code/%compare-op%/%value%


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"icmp-code\": {\"empty-leaf\": \"true\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/route-map/%name%/%action-rm%/%instance%/match/ip/icmp-code/%compare-op%/%value%


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"next-hop\": {\"prefix-list\": \"%match-prefix-list-name-t%\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/route-map/%name%/%action-rm%/%instance%/match/ip/next-hop


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"route-source\": {\"prefix-list\": \"%string%\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/route-map/%name%/%action-rm%/%instance%/match/ip/route-source


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"extcommunity\": {\"extcommunity-name\": \"%match-extcommunity-list-name-t%\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/route-map/%name%/%action-rm%/%instance%/match/extcommunity


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"metric\": {\"metric-rmm\": \"%metric-t%\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/route-map/%name%/%action-rm%/%instance%/match/metric


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"route-type\": {\"route-type-rmm\": \"%match-route-type-t%\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/route-map/%name%/%action-rm%/%instance%/match/route-type


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"tag\": {\"tag-rmm\": \"%tag-t%\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/route-map/%name%/%action-rm%/%instance%/match/tag


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"as-path\": {\"as-path-access-list-name\": \"%ip-match-as-path-name-t%\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/route-map/%name%/%action-rm%/%instance%/match/as-path


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"community\": {\"community-access-list-name\": \"%match-community-list-name-t%\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/route-map/%name%/%action-rm%/%instance%/match/community


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"large-community\": {\"large-community-access-list-name\": \"%match-large-community-list-name-t%\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/route-map/%name%/%action-rm%/%instance%/match/large-community


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "[DO NOT USE]{\"protocol-match-list\": {\"max-value\": \"%ip-access-list:proto-type%\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/route-map/%name%/%action-rm%/%instance%/match/protocol/protocol-match-list/%compare-op%/%value%


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "[DO NOT USE]{\"protocol-match-list\": {\"neq\": \"true\", \"neq-extra-values\": \"%string%\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/route-map/%name%/%action-rm%/%instance%/match/protocol/protocol-match-list/%compare-op%/%value%


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"protocol-match-list\": {\"empty-leaf\": \"true\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/route-map/%name%/%action-rm%/%instance%/match/protocol/protocol-match-list/%compare-op%/%value%


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"protocol\": {\"static\": \"true\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/route-map/%name%/%action-rm%/%instance%/match/protocol


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"protocol\": {\"bgp\": \"true\", \"bgp-route-type\": \"%enumeration%\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/route-map/%name%/%action-rm%/%instance%/match/protocol


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"protocol\": {\"isis\": \"true\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/route-map/%name%/%action-rm%/%instance%/match/protocol


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"protocol\": {\"match-isis-level\": \"%enumeration%\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/route-map/%name%/%action-rm%/%instance%/match/protocol


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"protocol\": {\"ospf\": \"true\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/route-map/%name%/%action-rm%/%instance%/match/protocol


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"protocol\": {\"ospf-route-type\": \"%enumeration%\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/route-map/%name%/%action-rm%/%instance%/match/protocol


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "[DO NOT USE]{\"port\": {\"max-value\": \"%ip-access-list:sport-number-eq-neq-tcp-udp%\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/route-map/%name%/%action-rm%/%instance%/match/port/%compare-op%/%value%


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "[DO NOT USE]{\"port\": {\"neq\": \"true\", \"neq-extra-values\": \"%string%\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/route-map/%name%/%action-rm%/%instance%/match/port/%compare-op%/%value%


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"port\": {\"empty-leaf\": \"true\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/route-map/%name%/%action-rm%/%instance%/match/port/%compare-op%/%value%


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "[DO NOT USE]{\"source-port\": {\"max-value\": \"%ip-access-list:sport-number-eq-neq-tcp-udp%\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/route-map/%name%/%action-rm%/%instance%/match/source-port/%compare-op%/%value%


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "[DO NOT USE]{\"source-port\": {\"neq\": \"true\", \"neq-extra-values\": \"%string%\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/route-map/%name%/%action-rm%/%instance%/match/source-port/%compare-op%/%value%


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"source-port\": {\"empty-leaf\": \"true\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/route-map/%name%/%action-rm%/%instance%/match/source-port/%compare-op%/%value%


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "[DO NOT USE]{\"destination-port\": {\"max-value\": \"%ip-access-list:dport-number-eq-neq-tcp-udp%\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/route-map/%name%/%action-rm%/%instance%/match/destination-port/%compare-op%/%value%


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "[DO NOT USE]{\"destination-port\": {\"neq\": \"true\", \"neq-extra-values\": \"%string%\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/route-map/%name%/%action-rm%/%instance%/match/destination-port/%compare-op%/%value%


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"destination-port\": {\"empty-leaf\": \"true\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/route-map/%name%/%action-rm%/%instance%/match/destination-port/%compare-op%/%value%


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "[DO NOT USE]{\"packet-length\": {\"max-value\": \"%packet-length-t%\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/route-map/%name%/%action-rm%/%instance%/match/packet-length/%compare-op%/%value%


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "[DO NOT USE]{\"packet-length\": {\"neq\": \"true\", \"neq-extra-values\": \"%string%\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/route-map/%name%/%action-rm%/%instance%/match/packet-length/%compare-op%/%value%


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"packet-length\": {\"empty-leaf\": \"true\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/route-map/%name%/%action-rm%/%instance%/match/packet-length/%compare-op%/%value%


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "[DO NOT USE]{\"dscp\": {\"max-value\": \"%dscp-precedence%\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/route-map/%name%/%action-rm%/%instance%/match/dscp/%compare-op%/%value%


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "[DO NOT USE]{\"dscp\": {\"neq\": \"true\", \"neq-extra-values\": \"%string%\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/route-map/%name%/%action-rm%/%instance%/match/dscp/%compare-op%/%value%


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"dscp\": {\"empty-leaf\": \"true\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/route-map/%name%/%action-rm%/%instance%/match/dscp/%compare-op%/%value%


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "[DO NOT USE]{\"tcp-flags\": {\"empty-leaf\": \"true\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/route-map/%name%/%action-rm%/%instance%/match/tcp-flags/%flags-op%/%flags-string%


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "[DO NOT USE]{\"fragment-type\": {\"empty-leaf\": \"true\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/route-map/%name%/%action-rm%/%instance%/match/fragment-type/%fragment-type-op%/%fragment-type-string%


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"route-map\": {\"rule-name\": \"%rmap-rule-name%\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/route-map/%name%/%action-rm%/%instance%


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"route-map\": {\"next-hop-recursion\": \"true\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/route-map/%name%/%action-rm%/%instance%


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "[DO NOT USE]{\"police\": {\"cir\": \"%uint64%\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/route-map/%name%/%action-rm%/%instance%/set/police


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "[DO NOT USE]{\"sflow\": {\"default-profile\": \"true\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/route-map/%name%/%action-rm%/%instance%/set/sflow


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "[DO NOT USE]{\"traffic-action\": {\"continue\": \"true\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/route-map/%name%/%action-rm%/%instance%/set/traffic-action


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"level\": {\"set-isis-level\": \"%enumeration%\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/route-map/%name%/%action-rm%/%instance%/set/level


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"dscp\": {\"dscp-rms\": \"%dscp-precedence%\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/route-map/%name%/%action-rm%/%instance%/set/ip/dscp


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"interface\": {\"{}0\": \"true\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/route-map/%name%/%action-rm%/%instance%/set/ip/interface


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"next-hop\": {\"peer-address\": \"true\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/route-map/%name%/%action-rm%/%instance%/set/ip/next-hop


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"dscp\": {\"dscp-rms-ipv6\": \"%dscp-precedence%\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/route-map/%name%/%action-rm%/%instance%/set/ipv6/dscp


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"interface\": {\"{}0\": \"true\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/route-map/%name%/%action-rm%/%instance%/set/ipv6/interface


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"next-hop\": {\"peer-address\": \"true\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/route-map/%name%/%action-rm%/%instance%/set/ipv6/next-hop


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"rt\": {\"ASN-NN-rt\": \"%ext-community-rt-expr-t%\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/route-map/%name%/%action-rm%/%instance%/set/extcommunity/rt


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"soo\": {\"ASN-NN-soo\": \"%ext-community-soo-expr-t%\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/route-map/%name%/%action-rm%/%instance%/set/extcommunity/soo


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"community\": {\"set-community-expr\": \"%set-community-expr-t%\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/route-map/%name%/%action-rm%/%instance%/set/community


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"large-community\": {\"set-large-community-expr\": \"%set-large-community-expr-t%\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/route-map/%name%/%action-rm%/%instance%/set/large-community


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"metric\": {\"delta-rms\": \"%enumeration%\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/route-map/%name%/%action-rm%/%instance%/set/metric


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "[DO NOT USE]{\"metric\": {\"metric-rms\": \"%metric-t%\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/route-map/%name%/%action-rm%/%instance%/set/metric


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"distance\": {\"dist-rms\": \"%distance-t%\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/route-map/%name%/%action-rm%/%instance%/set/distance


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"tag\": {\"tag-rms\": \"%tag-t%\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/route-map/%name%/%action-rm%/%instance%/set/tag


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"weight\": {\"weight-value\": \"%uint32%\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/route-map/%name%/%action-rm%/%instance%/set/weight


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"interface\": {\"{}0\": \"true\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/route-map/%name%/%action-rm%/%instance%/set/uda/interface


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"as-path\": {\"tag\": \"true\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/route-map/%name%/%action-rm%/%instance%/set/as-path


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"as-path\": {\"prepend\": \"%string%\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/route-map/%name%/%action-rm%/%instance%/set/as-path


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"automatic-tag\": {\"tag-empty\": \"true\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/route-map/%name%/%action-rm%/%instance%/set/automatic-tag


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"comm-list\": {\"comm-list-name\": \"%ip-community-list-name-t%\", \"delete\": \"true\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/route-map/%name%/%action-rm%/%instance%/set/comm-list


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"large-community-list\": {\"large-comm-list-name\": \"%ip-large-community-list-name-t%\", \"delete\": \"true\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/route-map/%name%/%action-rm%/%instance%/set/large-community-list


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"dampening\": {\"half-life\": \"%uint32%\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/route-map/%name%/%action-rm%/%instance%/set/dampening


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"dampening\": {\"reuse\": \"%uint32%\", \"suppress\": \"%uint32%\", \"max-suppress-time\": \"%uint32%\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/route-map/%name%/%action-rm%/%instance%/set/dampening


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"local-preference\": {\"local-preference-value\": \"%uint32%\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/route-map/%name%/%action-rm%/%instance%/set/local-preference


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"origin\": {\"igp\": \"true\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/route-map/%name%/%action-rm%/%instance%/set/origin


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"origin\": {\"incomplete\": \"true\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/route-map/%name%/%action-rm%/%instance%/set/origin


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"metric-type\": {\"internal\": \"true\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/route-map/%name%/%action-rm%/%instance%/set/metric-type


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"metric-type\": {\"type-1\": \"true\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/route-map/%name%/%action-rm%/%instance%/set/metric-type


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"metric-type\": {\"type-2\": \"true\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/route-map/%name%/%action-rm%/%instance%/set/metric-type


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"route-map\": {\"continue\": \"true\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/route-map/%name%/%action-rm%/%instance%


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"route-map\": {\"continue-val\": \"%uint32%\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/route-map/%name%/%action-rm%/%instance%


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "[DO NOT USE]{\"prefix-list\": {\"description\": \"%common-def:name-string63%\", \"action-ipp\": \"%action-t%\", \"ipv6-prefix-ipp\": \"%inet:ipv6-prefix%\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/ipv6/prefix-list/%name%/%seq-keyword%/%instance%


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"prefix-list\": {\"ge\": \"%ipv6-prefix-len-t%\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/ipv6/prefix-list/%name%/%seq-keyword%/%instance%


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"prefix-list\": {\"le\": \"%ipv6-prefix-len-t%\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/ipv6/prefix-list/%name%/%seq-keyword%/%instance%


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


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "[DO NOT USE]{\"prefix-list\": {\"description\": \"%common-def:name-string63%\", \"action-ipp\": \"%action-t%\", \"prefix-ipp\": \"%inet:ipv4-prefix%\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/ip/prefix-list/%name%/%seq-keyword%/%instance%


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"prefix-list\": {\"ge\": \"%prefix-len-t%\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/ip/prefix-list/%name%/%seq-keyword%/%instance%


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"prefix-list\": {\"le\": \"%prefix-len-t%\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/ip/prefix-list/%name%/%seq-keyword%/%instance%


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


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


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"route-map\": {\"ipv6-route-map-name\": \"%common-def:name-string63%\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Ve/%name%/ipv6/policy/route-map


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


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


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


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"route-map\": {\"route-map-name\": \"%common-def:name-string63%\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/interface/Ve/%name%/ip/policy/route-map


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"access-list\": {\"ip-action\": \"%action-t%\", \"ip-reg-expr\": \"%ip-as-path-reg-expr-t%\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/ip/as-path/access-list/%name%/%seq-keyword%/%instance%


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"standard\": {\"ip-action\": \"%action-t%\", \"std-community-expr\": \"%ip-std-community-expr-t%\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/ip/community-list/standard/%name%/%seq-keyword%/%instance%


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"extended\": {\"ip-action\": \"%action-t%\", \"ip-community-reg-expr\": \"%ip-community-reg-expr-t%\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/ip/community-list/extended/%name%/%seq-keyword%/%instance%


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"seq\": {\"ext-community-action\": \"%action-t%\", \"ext-community-expr\": \"%extcommunity-list-expr-t%\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/ip/extcommunity-list/standard/%extcommunity-list-name%/seq/%seq-id%


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"seq\": {\"exp-ext-community-action\": \"%action-t%\", \"ext-community-regex\": \"%extcommunity-list-reg-expr-t%\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/ip/extcommunity-list/extended/%extended-extcommunity-list-name%/seq/%extended-seq-id%


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"standard\": {\"action\": \"%action-t%\", \"expr\": \"%large-community-expr-t%\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/ip/large-community-list/standard/%name%/%seq-keyword%/%instance%


curl -v -X PATCH -d -H "application/vnd.configuration.resource+json" "{\"extended\": {\"action\": \"%action-t%\", \"regex-expr\": \"%ip-community-reg-expr-t%\"}}"  -u admin:password http://%ipaddress%:80/rest/config/running/ip/large-community-list/extended/%name%/%seq-keyword%/%instance%

