
********************************************************************************
* 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 POST -d "<evpn-instance><instance-name>%evpn-type%</instance-name></evpn-instance>"  -u admin:password http://%ipaddress%:80/rest/config/running/evpn


curl -v -X POST -d "<both><target-community>%rt-type%</target-community></both>"  -u admin:password http://%ipaddress%:80/rest/config/running/evpn/evpn-instance/%instance-name%/route-target


curl -v -X POST -d "<export><target-community>%rt-type%</target-community></export>"  -u admin:password http://%ipaddress%:80/rest/config/running/evpn/evpn-instance/%instance-name%/route-target


curl -v -X POST -d "<import><target-community>%rt-type%</target-community></import>"  -u admin:password http://%ipaddress%:80/rest/config/running/evpn/evpn-instance/%instance-name%/route-target


curl -v -X POST -d "<evpn-bd><bd-number>%bridge-domain:bridge-domain-id-type%</bd-number></evpn-bd>"  -u admin:password http://%ipaddress%:80/rest/config/running/evpn/evpn-instance/%instance-name%/bridge-domain


curl -v -X POST -d "<import><target-community>%rd-rt-type%</target-community></import>"  -u admin:password http://%ipaddress%:80/rest/config/running/evpn/evpn-instance/%instance-name%/bridge-domain/evpn-bd/%bd-number%/route-target


curl -v -X POST -d "<export><target-community>%rd-rt-type%</target-community></export>"  -u admin:password http://%ipaddress%:80/rest/config/running/evpn/evpn-instance/%instance-name%/bridge-domain/evpn-bd/%bd-number%/route-target


curl -v -X POST -d "<both><target-community>%rd-rt-type%</target-community></both>"  -u admin:password http://%ipaddress%:80/rest/config/running/evpn/evpn-instance/%instance-name%/bridge-domain/evpn-bd/%bd-number%/route-target


curl -v -X POST -d "<evpn-vlan><vlan-number>%interface:vlan-type%</vlan-number></evpn-vlan>"  -u admin:password http://%ipaddress%:80/rest/config/running/evpn/evpn-instance/%instance-name%/vlan


curl -v -X POST -d "<import><target-community>%rd-rt-type%</target-community></import>"  -u admin:password http://%ipaddress%:80/rest/config/running/evpn/evpn-instance/%instance-name%/vlan/evpn-vlan/%vlan-number%/route-target


curl -v -X POST -d "<export><target-community>%rd-rt-type%</target-community></export>"  -u admin:password http://%ipaddress%:80/rest/config/running/evpn/evpn-instance/%instance-name%/vlan/evpn-vlan/%vlan-number%/route-target


curl -v -X POST -d "<both><target-community>%rd-rt-type%</target-community></both>"  -u admin:password http://%ipaddress%:80/rest/config/running/evpn/evpn-instance/%instance-name%/vlan/evpn-vlan/%vlan-number%/route-target


curl -v -X POST -d "<prefix-independent-convergence />"  -u admin:password http://%ipaddress%:80/rest/config/running


curl -v -X POST -d "<bgp />"  -u admin:password http://%ipaddress%:80/rest/config/running/router


curl -v -X POST -d "<peer-dampening-flag>true</peer-dampening-flag>"  -u admin:password http://%ipaddress%:80/rest/config/running

curl -v -X POST -d "<delay-hold><values><log-dampening-debug>true</log-dampening-debug></values></delay-hold>"  -u admin:password http://%ipaddress%:80/rest/config/running

curl -v -X POST -d "<penalty><values><log-dampening-debug>true</log-dampening-debug></values></penalty>"  -u admin:password http://%ipaddress%:80/rest/config/running

curl -v -X POST -d "<max-penalty><values><log-dampening-debug>true</log-dampening-debug></values></max-penalty>"  -u admin:password http://%ipaddress%:80/rest/config/running

curl -v -X POST -d "<stability-interval>%nei-stability-interval%</stability-interval>"  -u admin:password http://%ipaddress%:80/rest/config/running


curl -v -X POST -d "<neighbor-peer-grp><address>%bgp-peergroup%</address><peer-group>true</peer-group></neighbor-peer-grp>"  -u admin:password http://%ipaddress%:80/rest/config/running/router/bgp/neighbor


curl -v -X POST -d "<sip-ipv4-address>%sip-ipv4-address%</sip-ipv4-address>"  -u admin:password http://%ipaddress%:80/rest/config/running/router/bgp/neighbor

curl -v -X POST -d "<sip-ipv6-address>%sip-ipv6-address%</sip-ipv6-address>"  -u admin:password http://%ipaddress%:80/rest/config/running/router/bgp/neighbor

curl -v -X POST -d "<interface-type><ethernet-interface><description>%neighbor-description%</description></ethernet-interface></interface-type>"  -u admin:password http://%ipaddress%:80/rest/config/running/router/bgp/neighbor

curl -v -X POST -d "<interface-name>%update-source-ethernet-type%</interface-name>"  -u admin:password http://%ipaddress%:80/rest/config/running/router/bgp/neighbor

curl -v -X POST -d "<port-channel>%interface:portchannel-type%</port-channel>"  -u admin:password http://%ipaddress%:80/rest/config/running/router/bgp/neighbor

curl -v -X POST -d "<loopback>%loopback-interface%</loopback>"  -u admin:password http://%ipaddress%:80/rest/config/running/router/bgp/neighbor

curl -v -X POST -d "<ve-interface>%interface:ve-type%</ve-interface>"  -u admin:password http://%ipaddress%:80/rest/config/running/router/bgp/neighbor


curl -v -X POST -d "<nei-peer-dampening-flag>true</nei-peer-dampening-flag>"  -u admin:password http://%ipaddress%:80/rest/config/running/router/bgp/neighbor

curl -v -X POST -d "<delay-hold><values><remove-private-as>true</remove-private-as></values></delay-hold>"  -u admin:password http://%ipaddress%:80/rest/config/running/router/bgp/neighbor

curl -v -X POST -d "<penalty><values><remove-private-as>true</remove-private-as></values></penalty>"  -u admin:password http://%ipaddress%:80/rest/config/running/router/bgp/neighbor

curl -v -X POST -d "<max-penalty><values><remove-private-as>true</remove-private-as></values></max-penalty>"  -u admin:password http://%ipaddress%:80/rest/config/running/router/bgp/neighbor

curl -v -X POST -d "<stability-interval>%nei-stability-interval%</stability-interval>"  -u admin:password http://%ipaddress%:80/rest/config/running/router/bgp/neighbor


curl -v -X POST -d "<neighbor-ipv6-addr><address>%inet:ipv6-address%</address><remote-as>%bgp-remote-as%</remote-as></neighbor-ipv6-addr>"  -u admin:password http://%ipaddress%:80/rest/config/running/router/bgp/neighbor


curl -v -X POST -d "<sip-ipv6-address>%sip-ipv6-address%</sip-ipv6-address>"  -u admin:password http://%ipaddress%:80/rest/config/running/router/bgp/neighbor

curl -v -X POST -d "<interface-type><ethernet-interface><description>%neighbor-description%</description></ethernet-interface></interface-type>"  -u admin:password http://%ipaddress%:80/rest/config/running/router/bgp/neighbor

curl -v -X POST -d "<interface-name>%update-source-ethernet-type%</interface-name>"  -u admin:password http://%ipaddress%:80/rest/config/running/router/bgp/neighbor

curl -v -X POST -d "<port-channel>%interface:portchannel-type%</port-channel>"  -u admin:password http://%ipaddress%:80/rest/config/running/router/bgp/neighbor

curl -v -X POST -d "<loopback>%loopback-interface%</loopback>"  -u admin:password http://%ipaddress%:80/rest/config/running/router/bgp/neighbor

curl -v -X POST -d "<ve-interface>%interface:ve-type%</ve-interface>"  -u admin:password http://%ipaddress%:80/rest/config/running/router/bgp/neighbor


curl -v -X POST -d "<nei-peer-dampening-flag>true</nei-peer-dampening-flag>"  -u admin:password http://%ipaddress%:80/rest/config/running/router/bgp/neighbor

curl -v -X POST -d "<delay-hold><values><remove-private-as>true</remove-private-as></values></delay-hold>"  -u admin:password http://%ipaddress%:80/rest/config/running/router/bgp/neighbor

curl -v -X POST -d "<penalty><values><remove-private-as>true</remove-private-as></values></penalty>"  -u admin:password http://%ipaddress%:80/rest/config/running/router/bgp/neighbor

curl -v -X POST -d "<max-penalty><values><remove-private-as>true</remove-private-as></values></max-penalty>"  -u admin:password http://%ipaddress%:80/rest/config/running/router/bgp/neighbor

curl -v -X POST -d "<stability-interval>%nei-stability-interval%</stability-interval>"  -u admin:password http://%ipaddress%:80/rest/config/running/router/bgp/neighbor


curl -v -X POST -d "<neighbor-addr><address>%inet:ipv4-address%</address><remote-as>%bgp-remote-as%</remote-as></neighbor-addr>"  -u admin:password http://%ipaddress%:80/rest/config/running/router/bgp/neighbor


curl -v -X POST -d "<sip-ipv4-address>%sip-ipv4-address%</sip-ipv4-address>"  -u admin:password http://%ipaddress%:80/rest/config/running/router/bgp/neighbor

curl -v -X POST -d "<interface-type><ethernet-interface><description>%neighbor-description%</description></ethernet-interface></interface-type>"  -u admin:password http://%ipaddress%:80/rest/config/running/router/bgp/neighbor

curl -v -X POST -d "<interface-name>%update-source-ethernet-type%</interface-name>"  -u admin:password http://%ipaddress%:80/rest/config/running/router/bgp/neighbor

curl -v -X POST -d "<port-channel>%interface:portchannel-type%</port-channel>"  -u admin:password http://%ipaddress%:80/rest/config/running/router/bgp/neighbor

curl -v -X POST -d "<loopback>%loopback-interface%</loopback>"  -u admin:password http://%ipaddress%:80/rest/config/running/router/bgp/neighbor

curl -v -X POST -d "<ve-interface>%interface:ve-type%</ve-interface>"  -u admin:password http://%ipaddress%:80/rest/config/running/router/bgp/neighbor


curl -v -X POST -d "<nei-peer-dampening-flag>true</nei-peer-dampening-flag>"  -u admin:password http://%ipaddress%:80/rest/config/running/router/bgp/neighbor

curl -v -X POST -d "<delay-hold><values><remove-private-as>true</remove-private-as></values></delay-hold>"  -u admin:password http://%ipaddress%:80/rest/config/running/router/bgp/neighbor

curl -v -X POST -d "<penalty><values><remove-private-as>true</remove-private-as></values></penalty>"  -u admin:password http://%ipaddress%:80/rest/config/running/router/bgp/neighbor

curl -v -X POST -d "<max-penalty><values><remove-private-as>true</remove-private-as></values></max-penalty>"  -u admin:password http://%ipaddress%:80/rest/config/running/router/bgp/neighbor

curl -v -X POST -d "<stability-interval>%nei-stability-interval%</stability-interval>"  -u admin:password http://%ipaddress%:80/rest/config/running/router/bgp/neighbor


curl -v -X POST -d "<listen-range><listen-range-prefix>%inet:ipv4-prefix%</listen-range-prefix><peer-group>%bgp-peergroup%</peer-group></listen-range>"  -u admin:password http://%ipaddress%:80/rest/config/running/router/bgp


curl -v -X POST -d "<listen-range><listen-range-prefix>%inet:ipv6-prefix%</listen-range-prefix><peer-group>%bgp-peergroup%</peer-group></listen-range>"  -u admin:password http://%ipaddress%:80/rest/config/running/router/bgp


curl -v -X POST -d "<isis />"  -u admin:password http://%ipaddress%:80/rest/config/running/router/bgp/address-family/ipv4/unicast/redistribute


curl -v -X POST -d "<static-network><static-network-address>%inet:ipv4-prefix%</static-network-address></static-network>"  -u admin:password http://%ipaddress%:80/rest/config/running/router/bgp/address-family/ipv4/unicast


curl -v -X POST -d "<aggregate-address><aggregate-ip-prefix>%inet:ipv4-prefix%</aggregate-ip-prefix></aggregate-address>"  -u admin:password http://%ipaddress%:80/rest/config/running/router/bgp/address-family/ipv4/unicast


curl -v -X POST -d "<network><network-ipv4-address>%inet:ipv4-prefix%</network-ipv4-address></network>"  -u admin:password http://%ipaddress%:80/rest/config/running/router/bgp/address-family/ipv4/unicast


curl -v -X POST -d "<af-ipv4-neighbor-peergroup><address>%bgp-peergroup%</address><send-community><send-community-status>true</send-community-status></send-community></af-ipv4-neighbor-peergroup>"  -u admin:password http://%ipaddress%:80/rest/config/running/router/bgp/address-family/ipv4/unicast/neighbor


curl -v -X POST -d "<address><address>%inet:ipv4-address%</address><send-community><send-community-status>true</send-community-status></send-community></address>"  -u admin:password http://%ipaddress%:80/rest/config/running/router/bgp/address-family/ipv4/unicast/neighbor


curl -v -X POST -d "<dampening-flag>true</dampening-flag>"  -u admin:password http://%ipaddress%:80/rest/config/running/router/bgp/address-family/ipv4/unicast/neighbor

curl -v -X POST -d "<half-time><values><default-metric>%default-metric-number%</default-metric></values></half-time>"  -u admin:password http://%ipaddress%:80/rest/config/running/router/bgp/address-family/ipv4/unicast/neighbor

curl -v -X POST -d "<reuse-value><values><default-metric>%default-metric-number%</default-metric></values></reuse-value>"  -u admin:password http://%ipaddress%:80/rest/config/running/router/bgp/address-family/ipv4/unicast/neighbor

curl -v -X POST -d "<start-suppress-time><values><default-metric>%default-metric-number%</default-metric></values></start-suppress-time>"  -u admin:password http://%ipaddress%:80/rest/config/running/router/bgp/address-family/ipv4/unicast/neighbor

curl -v -X POST -d "<max-suppress-time>%damp-max-suppress-value%</max-suppress-time>"  -u admin:password http://%ipaddress%:80/rest/config/running/router/bgp/address-family/ipv4/unicast/neighbor

curl -v -X POST -d "<route-map>%rmap-type%</route-map>"  -u admin:password http://%ipaddress%:80/rest/config/running/router/bgp/address-family/ipv4/unicast/neighbor


curl -v -X POST -d "<next-hop-mpls />"  -u admin:password http://%ipaddress%:80/rest/config/running/router/bgp/address-family/ipv4/unicast


curl -v -X POST -d "<vrf><vrf-name>%string%</vrf-name></vrf>"  -u admin:password http://%ipaddress%:80/rest/config/running/router/bgp/address-family/ipv4/unicast


curl -v -X POST -d "<isis />"  -u admin:password http://%ipaddress%:80/rest/config/running/router/bgp/address-family/ipv4/unicast/vrf/%vrf-name%/redistribute


curl -v -X POST -d "<static-network><static-network-address>%inet:ipv4-prefix%</static-network-address></static-network>"  -u admin:password http://%ipaddress%:80/rest/config/running/router/bgp/address-family/ipv4/unicast/vrf/%vrf-name%


curl -v -X POST -d "<aggregate-address><aggregate-ip-prefix>%inet:ipv4-prefix%</aggregate-ip-prefix></aggregate-address>"  -u admin:password http://%ipaddress%:80/rest/config/running/router/bgp/address-family/ipv4/unicast/vrf/%vrf-name%


curl -v -X POST -d "<network><network-ipv4-address>%inet:ipv4-prefix%</network-ipv4-address></network>"  -u admin:password http://%ipaddress%:80/rest/config/running/router/bgp/address-family/ipv4/unicast/vrf/%vrf-name%


curl -v -X POST -d "<listen-range><listen-range-prefix>%inet:ipv4-prefix%</listen-range-prefix><peer-group>%bgp-peergroup%</peer-group></listen-range>"  -u admin:password http://%ipaddress%:80/rest/config/running/router/bgp/address-family/ipv4/unicast/vrf/%vrf-name%


curl -v -X POST -d "<af-ipv4-neighbor-addr><address>%inet:ipv4-address%</address><peer-group>%bgp-peergroup%</peer-group></af-ipv4-neighbor-addr>"  -u admin:password http://%ipaddress%:80/rest/config/running/router/bgp/address-family/ipv4/unicast/vrf/%vrf-name%/neighbor


curl -v -X POST -d "<nei-peer-dampening-flag>true</nei-peer-dampening-flag>"  -u admin:password http://%ipaddress%:80/rest/config/running/router/bgp/address-family/ipv4/unicast/vrf/%vrf-name%/neighbor

curl -v -X POST -d "<delay-hold><values><remove-private-as>true</remove-private-as></values></delay-hold>"  -u admin:password http://%ipaddress%:80/rest/config/running/router/bgp/address-family/ipv4/unicast/vrf/%vrf-name%/neighbor

curl -v -X POST -d "<penalty><values><remove-private-as>true</remove-private-as></values></penalty>"  -u admin:password http://%ipaddress%:80/rest/config/running/router/bgp/address-family/ipv4/unicast/vrf/%vrf-name%/neighbor

curl -v -X POST -d "<max-penalty><values><remove-private-as>true</remove-private-as></values></max-penalty>"  -u admin:password http://%ipaddress%:80/rest/config/running/router/bgp/address-family/ipv4/unicast/vrf/%vrf-name%/neighbor

curl -v -X POST -d "<stability-interval>%nei-stability-interval%</stability-interval>"  -u admin:password http://%ipaddress%:80/rest/config/running/router/bgp/address-family/ipv4/unicast/vrf/%vrf-name%/neighbor


curl -v -X POST -d "<sip-ipv4-address>%sip-ipv4-address%</sip-ipv4-address>"  -u admin:password http://%ipaddress%:80/rest/config/running/router/bgp/address-family/ipv4/unicast/vrf/%vrf-name%/neighbor

curl -v -X POST -d "<interface-type><ethernet-interface><send-community><send-community-status>true</send-community-status></send-community></ethernet-interface></interface-type>"  -u admin:password http://%ipaddress%:80/rest/config/running/router/bgp/address-family/ipv4/unicast/vrf/%vrf-name%/neighbor

curl -v -X POST -d "<interface-name>%update-source-ethernet-type%</interface-name>"  -u admin:password http://%ipaddress%:80/rest/config/running/router/bgp/address-family/ipv4/unicast/vrf/%vrf-name%/neighbor

curl -v -X POST -d "<port-channel>%interface:portchannel-type%</port-channel>"  -u admin:password http://%ipaddress%:80/rest/config/running/router/bgp/address-family/ipv4/unicast/vrf/%vrf-name%/neighbor

curl -v -X POST -d "<loopback>%loopback-interface%</loopback>"  -u admin:password http://%ipaddress%:80/rest/config/running/router/bgp/address-family/ipv4/unicast/vrf/%vrf-name%/neighbor

curl -v -X POST -d "<ve-interface>%interface:ve-type%</ve-interface>"  -u admin:password http://%ipaddress%:80/rest/config/running/router/bgp/address-family/ipv4/unicast/vrf/%vrf-name%/neighbor


curl -v -X POST -d "<dampening-flag>true</dampening-flag>"  -u admin:password http://%ipaddress%:80/rest/config/running/router/bgp/address-family/ipv4/unicast/vrf/%vrf-name%/neighbor

curl -v -X POST -d "<half-time><values><default-metric>%default-metric-number%</default-metric></values></half-time>"  -u admin:password http://%ipaddress%:80/rest/config/running/router/bgp/address-family/ipv4/unicast/vrf/%vrf-name%/neighbor

curl -v -X POST -d "<reuse-value><values><default-metric>%default-metric-number%</default-metric></values></reuse-value>"  -u admin:password http://%ipaddress%:80/rest/config/running/router/bgp/address-family/ipv4/unicast/vrf/%vrf-name%/neighbor

curl -v -X POST -d "<start-suppress-time><values><default-metric>%default-metric-number%</default-metric></values></start-suppress-time>"  -u admin:password http://%ipaddress%:80/rest/config/running/router/bgp/address-family/ipv4/unicast/vrf/%vrf-name%/neighbor

curl -v -X POST -d "<max-suppress-time>%damp-max-suppress-value%</max-suppress-time>"  -u admin:password http://%ipaddress%:80/rest/config/running/router/bgp/address-family/ipv4/unicast/vrf/%vrf-name%/neighbor

curl -v -X POST -d "<route-map>%rmap-type%</route-map>"  -u admin:password http://%ipaddress%:80/rest/config/running/router/bgp/address-family/ipv4/unicast/vrf/%vrf-name%/neighbor


curl -v -X POST -d "[DO NOT USE]<ipv4-flowspec-default-vrf />"  -u admin:password http://%ipaddress%:80/rest/config/running/router/bgp/address-family/ipv4/flowspec


curl -v -X POST -d "<af-ipv4-neighbor-peergroup><address>%bgp-peergroup%</address><activate>true</activate></af-ipv4-neighbor-peergroup>"  -u admin:password http://%ipaddress%:80/rest/config/running/router/bgp/address-family/ipv4/flowspec/neighbor


curl -v -X POST -d "<address><address>%inet:ipv4-address%</address><activate>true</activate></address>"  -u admin:password http://%ipaddress%:80/rest/config/running/router/bgp/address-family/ipv4/flowspec/neighbor


curl -v -X POST -d "[DO NOT USE]<vrf><vrf-name>%string%</vrf-name></vrf>"  -u admin:password http://%ipaddress%:80/rest/config/running/router/bgp/address-family/ipv4/flowspec


curl -v -X POST -d "<address><address>%inet:ipv4-address%</address><activate>true</activate></address>"  -u admin:password http://%ipaddress%:80/rest/config/running/router/bgp/address-family/ipv4/flowspec/vrf/%vrf-name%/neighbor


curl -v -X POST -d "<listen-range><listen-range-prefix>%inet:ipv4-prefix%</listen-range-prefix><peer-group>%bgp-peergroup%</peer-group></listen-range>"  -u admin:password http://%ipaddress%:80/rest/config/running/router/bgp/address-family/ipv4/flowspec/vrf/%vrf-name%


curl -v -X POST -d "<isis />"  -u admin:password http://%ipaddress%:80/rest/config/running/router/bgp/address-family/ipv6/unicast/redistribute


curl -v -X POST -d "<aggregate-address><aggregate-ip-prefix>%inet:ipv6-prefix%</aggregate-ip-prefix></aggregate-address>"  -u admin:password http://%ipaddress%:80/rest/config/running/router/bgp/address-family/ipv6/unicast


curl -v -X POST -d "<network><network-ipv6-address>%inet:ipv6-prefix%</network-ipv6-address></network>"  -u admin:password http://%ipaddress%:80/rest/config/running/router/bgp/address-family/ipv6/unicast


curl -v -X POST -d "<af-ipv6-neighbor-peergroup><address>%bgp-peergroup%</address><send-community><send-community-status>true</send-community-status></send-community></af-ipv6-neighbor-peergroup>"  -u admin:password http://%ipaddress%:80/rest/config/running/router/bgp/address-family/ipv6/unicast/neighbor


curl -v -X POST -d "<address><address>%inet:ipv6-address%</address><send-community><send-community-status>true</send-community-status></send-community></address>"  -u admin:password http://%ipaddress%:80/rest/config/running/router/bgp/address-family/ipv6/unicast/neighbor


curl -v -X POST -d "<af-ipv6u-ipv4-neighbor><address>%inet:ipv4-address%</address><activate>true</activate></af-ipv6u-ipv4-neighbor>"  -u admin:password http://%ipaddress%:80/rest/config/running/router/bgp/address-family/ipv6/unicast/neighbor


curl -v -X POST -d "<dampening-flag>true</dampening-flag>"  -u admin:password http://%ipaddress%:80/rest/config/running/router/bgp/address-family/ipv6/unicast/neighbor

curl -v -X POST -d "<half-time><values><default-metric>%default-metric-number%</default-metric></values></half-time>"  -u admin:password http://%ipaddress%:80/rest/config/running/router/bgp/address-family/ipv6/unicast/neighbor

curl -v -X POST -d "<reuse-value><values><default-metric>%default-metric-number%</default-metric></values></reuse-value>"  -u admin:password http://%ipaddress%:80/rest/config/running/router/bgp/address-family/ipv6/unicast/neighbor

curl -v -X POST -d "<start-suppress-time><values><default-metric>%default-metric-number%</default-metric></values></start-suppress-time>"  -u admin:password http://%ipaddress%:80/rest/config/running/router/bgp/address-family/ipv6/unicast/neighbor

curl -v -X POST -d "<max-suppress-time>%damp-max-suppress-value%</max-suppress-time>"  -u admin:password http://%ipaddress%:80/rest/config/running/router/bgp/address-family/ipv6/unicast/neighbor

curl -v -X POST -d "<route-map>%rmap-type%</route-map>"  -u admin:password http://%ipaddress%:80/rest/config/running/router/bgp/address-family/ipv6/unicast/neighbor


curl -v -X POST -d "<vrf><vrf-name>%string%</vrf-name></vrf>"  -u admin:password http://%ipaddress%:80/rest/config/running/router/bgp/address-family/ipv6/unicast


curl -v -X POST -d "<isis />"  -u admin:password http://%ipaddress%:80/rest/config/running/router/bgp/address-family/ipv6/unicast/vrf/%vrf-name%/redistribute


curl -v -X POST -d "<aggregate-address><aggregate-ip-prefix>%inet:ipv6-prefix%</aggregate-ip-prefix></aggregate-address>"  -u admin:password http://%ipaddress%:80/rest/config/running/router/bgp/address-family/ipv6/unicast/vrf/%vrf-name%


curl -v -X POST -d "<network><network-ipv6-address>%inet:ipv6-prefix%</network-ipv6-address></network>"  -u admin:password http://%ipaddress%:80/rest/config/running/router/bgp/address-family/ipv6/unicast/vrf/%vrf-name%


curl -v -X POST -d "<listen-range><listen-range-prefix>%inet:ipv6-prefix%</listen-range-prefix><peer-group>%bgp-peergroup%</peer-group></listen-range>"  -u admin:password http://%ipaddress%:80/rest/config/running/router/bgp/address-family/ipv6/unicast/vrf/%vrf-name%


curl -v -X POST -d "<af-ipv6-neighbor-addr><address>%inet:ipv6-address%</address><peer-group>%bgp-peergroup%</peer-group></af-ipv6-neighbor-addr>"  -u admin:password http://%ipaddress%:80/rest/config/running/router/bgp/address-family/ipv6/unicast/vrf/%vrf-name%/neighbor


curl -v -X POST -d "<sip-ipv6-address>%sip-ipv6-address%</sip-ipv6-address>"  -u admin:password http://%ipaddress%:80/rest/config/running/router/bgp/address-family/ipv6/unicast/vrf/%vrf-name%/neighbor

curl -v -X POST -d "<interface-type><ethernet-interface><send-community><send-community-status>true</send-community-status></send-community></ethernet-interface></interface-type>"  -u admin:password http://%ipaddress%:80/rest/config/running/router/bgp/address-family/ipv6/unicast/vrf/%vrf-name%/neighbor

curl -v -X POST -d "<interface-name>%update-source-ethernet-type%</interface-name>"  -u admin:password http://%ipaddress%:80/rest/config/running/router/bgp/address-family/ipv6/unicast/vrf/%vrf-name%/neighbor

curl -v -X POST -d "<port-channel>%interface:portchannel-type%</port-channel>"  -u admin:password http://%ipaddress%:80/rest/config/running/router/bgp/address-family/ipv6/unicast/vrf/%vrf-name%/neighbor

curl -v -X POST -d "<loopback>%loopback-interface%</loopback>"  -u admin:password http://%ipaddress%:80/rest/config/running/router/bgp/address-family/ipv6/unicast/vrf/%vrf-name%/neighbor

curl -v -X POST -d "<ve-interface>%interface:ve-type%</ve-interface>"  -u admin:password http://%ipaddress%:80/rest/config/running/router/bgp/address-family/ipv6/unicast/vrf/%vrf-name%/neighbor


curl -v -X POST -d "<af-ipv6u-ipv4-neighbor><address>%inet:ipv4-address%</address><activate>true</activate></af-ipv6u-ipv4-neighbor>"  -u admin:password http://%ipaddress%:80/rest/config/running/router/bgp/address-family/ipv6/unicast/vrf/%vrf-name%/neighbor


curl -v -X POST -d "<dampening-flag>true</dampening-flag>"  -u admin:password http://%ipaddress%:80/rest/config/running/router/bgp/address-family/ipv6/unicast/vrf/%vrf-name%/neighbor

curl -v -X POST -d "<half-time><values><default-metric>%default-metric-number%</default-metric></values></half-time>"  -u admin:password http://%ipaddress%:80/rest/config/running/router/bgp/address-family/ipv6/unicast/vrf/%vrf-name%/neighbor

curl -v -X POST -d "<reuse-value><values><default-metric>%default-metric-number%</default-metric></values></reuse-value>"  -u admin:password http://%ipaddress%:80/rest/config/running/router/bgp/address-family/ipv6/unicast/vrf/%vrf-name%/neighbor

curl -v -X POST -d "<start-suppress-time><values><default-metric>%default-metric-number%</default-metric></values></start-suppress-time>"  -u admin:password http://%ipaddress%:80/rest/config/running/router/bgp/address-family/ipv6/unicast/vrf/%vrf-name%/neighbor

curl -v -X POST -d "<max-suppress-time>%damp-max-suppress-value%</max-suppress-time>"  -u admin:password http://%ipaddress%:80/rest/config/running/router/bgp/address-family/ipv6/unicast/vrf/%vrf-name%/neighbor

curl -v -X POST -d "<route-map>%rmap-type%</route-map>"  -u admin:password http://%ipaddress%:80/rest/config/running/router/bgp/address-family/ipv6/unicast/vrf/%vrf-name%/neighbor


curl -v -X POST -d "[DO NOT USE]<ipv6-flowspec-default-vrf />"  -u admin:password http://%ipaddress%:80/rest/config/running/router/bgp/address-family/ipv6/flowspec


curl -v -X POST -d "<af-ipv6-neighbor-peergroup><address>%bgp-peergroup%</address><activate>true</activate></af-ipv6-neighbor-peergroup>"  -u admin:password http://%ipaddress%:80/rest/config/running/router/bgp/address-family/ipv6/flowspec/neighbor


curl -v -X POST -d "<address><address>%inet:ipv6-address%</address><activate>true</activate></address>"  -u admin:password http://%ipaddress%:80/rest/config/running/router/bgp/address-family/ipv6/flowspec/neighbor


curl -v -X POST -d "[DO NOT USE]<vrf><vrf-name>%string%</vrf-name></vrf>"  -u admin:password http://%ipaddress%:80/rest/config/running/router/bgp/address-family/ipv6/flowspec


curl -v -X POST -d "<address><address>%inet:ipv6-address%</address><activate>true</activate></address>"  -u admin:password http://%ipaddress%:80/rest/config/running/router/bgp/address-family/ipv6/flowspec/vrf/%vrf-name%/neighbor


curl -v -X POST -d "<listen-range><listen-range-prefix>%inet:ipv6-prefix%</listen-range-prefix><peer-group>%bgp-peergroup%</peer-group></listen-range>"  -u admin:password http://%ipaddress%:80/rest/config/running/router/bgp/address-family/ipv6/flowspec/vrf/%vrf-name%


curl -v -X POST -d "<evpn />"  -u admin:password http://%ipaddress%:80/rest/config/running/router/bgp/address-family/l2vpn


curl -v -X POST -d "<evpn-peer-group><evpn-neighbor-peergroup-name>%bgp-peergroup%</evpn-neighbor-peergroup-name><encapsulation>%encapsulation-t%</encapsulation></evpn-peer-group>"  -u admin:password http://%ipaddress%:80/rest/config/running/router/bgp/address-family/l2vpn/evpn/neighbor


curl -v -X POST -d "<evpn-neighbor-ipv4><evpn-neighbor-ipv4-address>%inet:ipv4-address%</evpn-neighbor-ipv4-address><encapsulation>%encapsulation-t%</encapsulation></evpn-neighbor-ipv4>"  -u admin:password http://%ipaddress%:80/rest/config/running/router/bgp/address-family/l2vpn/evpn/neighbor


curl -v -X POST -d "<evpn-neighbor-ipv6><evpn-neighbor-ipv6-address>%inet:ipv6-address%</evpn-neighbor-ipv6-address><encapsulation>%encapsulation-t%</encapsulation></evpn-neighbor-ipv6>"  -u admin:password http://%ipaddress%:80/rest/config/running/router/bgp/address-family/l2vpn/evpn/neighbor


curl -v -X POST -d "<unicast />"  -u admin:password http://%ipaddress%:80/rest/config/running/router/bgp/address-family/vpnv4


curl -v -X POST -d "<neighbor><af-vpn-neighbor-peergroup-address>%bgp-peergroup%</af-vpn-neighbor-peergroup-address><capability><orf><prefix-list><prefixlist-status>true</prefixlist-status></prefix-list></orf></capability></neighbor>"  -u admin:password http://%ipaddress%:80/rest/config/running/router/bgp/address-family/vpnv4/unicast


curl -v -X POST -d "<neighbor><af-vpnv4-neighbor-address>%inet:ipv4-address%</af-vpnv4-neighbor-address><capability><orf><prefix-list><prefixlist-status>true</prefixlist-status></prefix-list></orf></capability></neighbor>"  -u admin:password http://%ipaddress%:80/rest/config/running/router/bgp/address-family/vpnv4/unicast


curl -v -X POST -d "<unicast />"  -u admin:password http://%ipaddress%:80/rest/config/running/router/bgp/address-family/vpnv6


curl -v -X POST -d "<neighbor><af-vpn-neighbor-peergroup-address>%bgp-peergroup%</af-vpn-neighbor-peergroup-address><capability><orf><prefix-list><prefixlist-status>true</prefixlist-status></prefix-list></orf></capability></neighbor>"  -u admin:password http://%ipaddress%:80/rest/config/running/router/bgp/address-family/vpnv6/unicast


curl -v -X POST -d "<neighbor><af-vpnv6-neighbor-address>%inet:ipv4-address%</af-vpnv6-neighbor-address><capability><orf><prefix-list><prefixlist-status>true</prefixlist-status></prefix-list></orf></capability></neighbor>"  -u admin:password http://%ipaddress%:80/rest/config/running/router/bgp/address-family/vpnv6/unicast


curl -v -X POST -d "<priority><priority-num>%rpki-priority-num%</priority-num></priority>"  -u admin:password http://%ipaddress%:80/rest/config/running/router/bgp/rpki


curl -v -X POST -d "<ssh-server-name><rpki-ssh-server-name>%bgp-peergroup%</rpki-ssh-server-name><port><port>%uint32%</port><username>%string%</username><password-file>%string%</password-file></port></ssh-server-name>"  -u admin:password http://%ipaddress%:80/rest/config/running/router/bgp/rpki/priority/%priority-num%/server/ssh


curl -v -X POST -d "<ssh-server-ip><rpki-ssh-server-ip>%inet:ipv4-address%</rpki-ssh-server-ip><port><port>%uint32%</port><username>%string%</username><password-file>%string%</password-file></port></ssh-server-ip>"  -u admin:password http://%ipaddress%:80/rest/config/running/router/bgp/rpki/priority/%priority-num%/server/ssh


curl -v -X POST -d "<ssh-server-ipv6><rpki-ssh-server-ipv6>%inet:ipv6-address%</rpki-ssh-server-ipv6><port><port>%uint32%</port><username>%string%</username><password-file>%string%</password-file></port></ssh-server-ipv6>"  -u admin:password http://%ipaddress%:80/rest/config/running/router/bgp/rpki/priority/%priority-num%/server/ssh


curl -v -X POST -d "<tcp-server-name><rpki-tcp-server-name>%bgp-peergroup%</rpki-tcp-server-name><port>%uint32%</port></tcp-server-name>"  -u admin:password http://%ipaddress%:80/rest/config/running/router/bgp/rpki/priority/%priority-num%/server/tcp


curl -v -X POST -d "<tcp-server-ip><rpki-tcp-server-ip>%inet:ipv4-address%</rpki-tcp-server-ip><port>%uint32%</port></tcp-server-ip>"  -u admin:password http://%ipaddress%:80/rest/config/running/router/bgp/rpki/priority/%priority-num%/server/tcp


curl -v -X POST -d "<tcp-server-ipv6><rpki-tcp-server-ipv6>%inet:ipv6-address%</rpki-tcp-server-ipv6><port>%uint32%</port></tcp-server-ipv6>"  -u admin:password http://%ipaddress%:80/rest/config/running/router/bgp/rpki/priority/%priority-num%/server/tcp

