Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

REST API Method: PUT /rest/ripconfig/{identifier}

Page Tree
rootResource - ripconfig

Creates a new RIP configuration on the Sonus SBC 1000/2000 system. Logical interface name should be provided for configuring RIP protocol on that interface. If multiple interfaces needs to be configured then the interface name should be comma separated.

Info

Only one RIP configuration can be created.

URL:

https://134.56.227.163/rest/ripconfig/{identifier}

HTTP Method

PUT

Requires Authentication:

true



Parameters

Parameter Name Required Service Affecting Data Type Default Value Possible Values Description
ConfigIEStateNoYesEnum1Possible values:
  • 0 - esDISABLED
  • 1 - esENABLED
Specifies the Administrative State of the resource.
RIPInstanceNameYesYesstringnone16 - Max LengthSpecifies RIP Protocol instance.
enableDefaultInfoOriginateYesYesEnum0Possible values:
  • 0 - btFalse
  • 1 - btTrue
Specifies whether Default Information Originate is to be enabled or disabled.
ifNameYesYesstringnone500 - Max LengthSpecifies logical interface name configured for particular routing instance name. If multiple interfaces need to be configured then the interface names should be comma separated.
Tip

Logical interfaces configured in the system can be obtained by performing a lookup on logicalinterface resource using GET logicalinterface

Usage Example: (about cURL | requires a session token)

Code Block
languagebash
curl --cookie PHPSESSID=cuc2h83fqaispmu6m519sa5642 -s -k -i https://134.56.72.218/rest/ripconfig/1 -X PUT --data "ConfigIEState=1&RIPInstanceName=REST One&enableDefaultInfoOriginate=0&ifName=vlan1.4031"

Response:

Code Block
languagehtml/xml
<?xml version="1.0"?>
<root>
 <status>
  <http_code>200</http_code>
 </status>
 <ripconfig id="1" href="https://134.56.72.218/rest/ripconfig/1">
  <RIPInstanceName>REST One</RIPInstanceName>
  <enableDefaultInfoOriginate>0</enableDefaultInfoOriginate>
  <ifName>vlan1.4031</ifName>
 </ripconfig>
</root>