<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Open NX API Sandbox access in DevNet Sandbox</title>
    <link>https://community.cisco.com/t5/devnet-sandbox/open-nx-api-sandbox-access/m-p/3788923#M3311</link>
    <description>&lt;P&gt;I'm trying to do the NX-OS sandbox lab from devnet site.I'm trying to make API calls using the postman but i get below error.Not sure what is wrong.I'm doing the same steps as in tutorial.Would be great if someone helps me out&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="response-error-viewer-header-text"&gt;Could not get any response&lt;/DIV&gt;&lt;DIV class="response-error-viewer-url-description-text"&gt;&lt;SPAN&gt;There was an error connecting to&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://sbx-nxos-mgmt.cisco.com/api/aaaLogin.json" target="_blank"&gt;https://sbx-nxos-mgmt.cisco.com/api/aaaLogin.json&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="response-error-viewer-reasons-header-text"&gt;Why this might have happened:&lt;/DIV&gt;&lt;UL&gt;&lt;LI&gt;&lt;DIV class="response-error-viewer-reason-wrapper"&gt;&lt;DIV class="response-error-viewer-reason-problem"&gt;The server couldn't send a response:&lt;/DIV&gt;&lt;DIV class="response-error-viewer-reason-cause"&gt;Ensure that the backend is working properly&lt;/DIV&gt;&lt;/DIV&gt;&lt;/LI&gt;&lt;LI&gt;&lt;DIV class="response-error-viewer-reason-wrapper"&gt;&lt;DIV class="response-error-viewer-reason-problem"&gt;Self-signed SSL certificates are being blocked:&lt;/DIV&gt;&lt;DIV class="response-error-viewer-reason-cause"&gt;Fix this by turning off 'SSL certificate verification' in&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;I&gt;Settings &amp;gt; General&lt;/I&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/LI&gt;&lt;LI&gt;&lt;DIV class="response-error-viewer-reason-wrapper"&gt;&lt;DIV class="response-error-viewer-reason-problem"&gt;Proxy configured incorrectly&lt;/DIV&gt;&lt;DIV class="response-error-viewer-reason-cause"&gt;Ensure that proxy is configured correctly in&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;I&gt;Settings &amp;gt; Proxy&lt;/I&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/LI&gt;&lt;LI&gt;&lt;DIV class="response-error-viewer-reason-wrapper"&gt;&lt;DIV class="response-error-viewer-reason-problem"&gt;Request timeout:&lt;/DIV&gt;&lt;DIV class="response-error-viewer-reason-cause"&gt;Change request timeout in&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;I&gt;Settings &amp;gt; General&lt;/I&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/LI&gt;&lt;/UL&gt;</description>
    <pubDate>Sun, 27 Jan 2019 13:37:29 GMT</pubDate>
    <dc:creator>avinashpro4</dc:creator>
    <dc:date>2019-01-27T13:37:29Z</dc:date>
    <item>
      <title>Open NX API Sandbox access</title>
      <link>https://community.cisco.com/t5/devnet-sandbox/open-nx-api-sandbox-access/m-p/3521379#M1605</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333px;"&gt;Hi I am trying to do REST calls to N9K and am having difficulty.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Instructions say - '&lt;SPAN style="color: #000000; font-family: Helvetica, Arial; font-size: medium;"&gt;After Software VPN connection: Telnet/SSH access to the tool server and virtual network element. If required, to enable nxapi, run 'feature nxapi' on the switch. Use POSTMAN to post objects to the virtual element.'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Helvetica, Arial; font-size: medium;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;1/ I have SSH access to N9k and toolbox server from windows PC.&lt;/P&gt;&lt;P&gt;2/ I enable feature nxapi on N9k and confirm running&lt;/P&gt;&lt;P&gt;switch-n9kV2# sh nxapi&lt;/P&gt;&lt;P&gt;nxapi enabled&lt;/P&gt;&lt;P&gt;HTTP Listen on port 80&lt;/P&gt;&lt;P&gt;HTTPS Listen on port 443&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3/ When I try and use postman or standard HTTP/HTTPS from home PC to N9K sandbox management IP address i keep getting connection refused.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I try and test if port 80/443 is open via telnei to those ports from toolbox server I get&amp;nbsp; connection refused&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cisco@toolserver:~$ telnet 10.10.10.51 80&lt;/P&gt;&lt;P&gt;Trying 10.10.10.51...&lt;/P&gt;&lt;P&gt;telnet: Unable to connect to remote host: Connection refused&lt;/P&gt;&lt;P&gt;cisco@toolserver:~$&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any tips?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jun 2019 09:20:43 GMT</pubDate>
      <guid>https://community.cisco.com/t5/devnet-sandbox/open-nx-api-sandbox-access/m-p/3521379#M1605</guid>
      <dc:creator>chris.lambert</dc:creator>
      <dc:date>2019-06-04T09:20:43Z</dc:date>
    </item>
    <item>
      <title>Re: Open NX API Sandbox access</title>
      <link>https://community.cisco.com/t5/devnet-sandbox/open-nx-api-sandbox-access/m-p/3521380#M1606</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi chris&lt;/P&gt;&lt;P&gt;thanks for the enquiry. we'll reach out to the engineering team for support on your request. we hopefully&lt;/P&gt;&lt;P&gt;should hear back soon. as an possible solution&amp;nbsp; you may have to enable the http and/or https port on the n9kv switch.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;engineering should be able to provide input.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks eddie&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 24 Oct 2015 09:42:51 GMT</pubDate>
      <guid>https://community.cisco.com/t5/devnet-sandbox/open-nx-api-sandbox-access/m-p/3521380#M1606</guid>
      <dc:creator>ecorban</dc:creator>
      <dc:date>2015-10-24T09:42:51Z</dc:date>
    </item>
    <item>
      <title>Re: Open NX API Sandbox access</title>
      <link>https://community.cisco.com/t5/devnet-sandbox/open-nx-api-sandbox-access/m-p/3521381#M1607</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;please follow the steps to run NXAPI using postman.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;On switch:&lt;/SPAN&gt;&lt;/P&gt;&lt;UL style="list-style-type: disc;"&gt;&lt;LI&gt;&lt;SPAN style="color: #1f497d;"&gt;Login to the switch.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: #1f497d;"&gt;Run ‘config t’&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: #1f497d;"&gt;Enable nxapi using ‘feature nxapi’. Exit to switch prompt&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: #1f497d;"&gt;Run ‘copy r s’&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;NXAPI code:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-indent: .5in;"&gt;&lt;SPAN style="font-size: 9.0pt;"&gt;POST-URL : &lt;A href="http://SWITCH-IP/api/aaaLogin.json"&gt;http://SWITCH-IP/api/aaaLogin.json&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-indent: .5in;"&gt;&lt;SPAN style="font-size: 9.0pt;"&gt;Content-Type: application/json&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-indent: .5in;"&gt;&lt;SPAN style="font-size: 9.0pt;"&gt;Cache-Control: no-cache&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-indent: .5in;"&gt;&lt;SPAN style="font-size: 9.0pt;"&gt;POST BODY :&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-left: .5in; text-indent: .5in;"&gt;&lt;SPAN style="font-size: 9.0pt;"&gt;{&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-left: 1.0in;"&gt;&lt;SPAN style="font-size: 9.0pt;"&gt;&amp;nbsp; "aaaUser" : {&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-left: 1.0in;"&gt;&lt;SPAN style="font-size: 9.0pt;"&gt; "attributes" : {&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-left: 1.0in;"&gt;&lt;SPAN style="font-size: 9.0pt;"&gt; "name" : "SWITCH_USER",&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-left: 1.0in;"&gt;&lt;SPAN style="font-size: 9.0pt;"&gt; "pwd" : "SWITCH_PASSWORD"&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-left: 1.0in;"&gt;&lt;SPAN style="font-size: 9.0pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-left: 1.0in;"&gt;&lt;SPAN style="font-size: 9.0pt;"&gt;&amp;nbsp; }&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-left: 1.0in;"&gt;&lt;SPAN style="font-size: 9.0pt;"&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;Postman:&lt;/SPAN&gt;&lt;/P&gt;&lt;UL style="list-style-type: disc;"&gt;&lt;LI&gt;&lt;SPAN style="font-size: 9.0pt; color: #1f497d;"&gt;Open postman&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 9.0pt; color: #1f497d;"&gt;Copy POST URL, mentioned in above section, after replacing SWITCH-IP with IP address of Nexus switch .&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 9.0pt; color: #1f497d;"&gt;Select method as POST&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 9.0pt; color: #1f497d;"&gt;Open raw JSON section.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 9.0pt; color: #1f497d;"&gt;Copy POST-BODY JSON to raw JSON body section of postman.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 9.0pt; color: #1f497d;"&gt;Replace SWITCH_USERNAME with switch user.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 9.0pt; color: #1f497d;"&gt;Replace SWITCH_PASSWORD with switch password.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 9.0pt; color: #1f497d;"&gt;Click send button&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;This would save the cookie and after that, you can query other NXAPI using postman without login. And HTTP and HTTPS query from browser should work.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Oct 2015 11:34:02 GMT</pubDate>
      <guid>https://community.cisco.com/t5/devnet-sandbox/open-nx-api-sandbox-access/m-p/3521381#M1607</guid>
      <dc:creator>ecorban</dc:creator>
      <dc:date>2015-10-28T11:34:02Z</dc:date>
    </item>
    <item>
      <title>Re: Open NX API Sandbox access</title>
      <link>https://community.cisco.com/t5/devnet-sandbox/open-nx-api-sandbox-access/m-p/3788923#M3311</link>
      <description>&lt;P&gt;I'm trying to do the NX-OS sandbox lab from devnet site.I'm trying to make API calls using the postman but i get below error.Not sure what is wrong.I'm doing the same steps as in tutorial.Would be great if someone helps me out&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="response-error-viewer-header-text"&gt;Could not get any response&lt;/DIV&gt;&lt;DIV class="response-error-viewer-url-description-text"&gt;&lt;SPAN&gt;There was an error connecting to&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://sbx-nxos-mgmt.cisco.com/api/aaaLogin.json" target="_blank"&gt;https://sbx-nxos-mgmt.cisco.com/api/aaaLogin.json&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="response-error-viewer-reasons-header-text"&gt;Why this might have happened:&lt;/DIV&gt;&lt;UL&gt;&lt;LI&gt;&lt;DIV class="response-error-viewer-reason-wrapper"&gt;&lt;DIV class="response-error-viewer-reason-problem"&gt;The server couldn't send a response:&lt;/DIV&gt;&lt;DIV class="response-error-viewer-reason-cause"&gt;Ensure that the backend is working properly&lt;/DIV&gt;&lt;/DIV&gt;&lt;/LI&gt;&lt;LI&gt;&lt;DIV class="response-error-viewer-reason-wrapper"&gt;&lt;DIV class="response-error-viewer-reason-problem"&gt;Self-signed SSL certificates are being blocked:&lt;/DIV&gt;&lt;DIV class="response-error-viewer-reason-cause"&gt;Fix this by turning off 'SSL certificate verification' in&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;I&gt;Settings &amp;gt; General&lt;/I&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/LI&gt;&lt;LI&gt;&lt;DIV class="response-error-viewer-reason-wrapper"&gt;&lt;DIV class="response-error-viewer-reason-problem"&gt;Proxy configured incorrectly&lt;/DIV&gt;&lt;DIV class="response-error-viewer-reason-cause"&gt;Ensure that proxy is configured correctly in&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;I&gt;Settings &amp;gt; Proxy&lt;/I&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/LI&gt;&lt;LI&gt;&lt;DIV class="response-error-viewer-reason-wrapper"&gt;&lt;DIV class="response-error-viewer-reason-problem"&gt;Request timeout:&lt;/DIV&gt;&lt;DIV class="response-error-viewer-reason-cause"&gt;Change request timeout in&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;I&gt;Settings &amp;gt; General&lt;/I&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Sun, 27 Jan 2019 13:37:29 GMT</pubDate>
      <guid>https://community.cisco.com/t5/devnet-sandbox/open-nx-api-sandbox-access/m-p/3788923#M3311</guid>
      <dc:creator>avinashpro4</dc:creator>
      <dc:date>2019-01-27T13:37:29Z</dc:date>
    </item>
    <item>
      <title>Re: Open NX API Sandbox access</title>
      <link>https://community.cisco.com/t5/devnet-sandbox/open-nx-api-sandbox-access/m-p/3788932#M3313</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We are using self-signed SSL cert for the sandbox. Please disable "&lt;STRONG&gt;SSL certificate verification&lt;/STRONG&gt;" in your Postman to allow the request. The detailed postman settings could be found at &lt;A href="https://learning.getpostman.com/docs/postman/launching_postman/settings/" target="_self"&gt;https://learning.getpostman.com/docs/postman/launching_postman/settings/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Bob&lt;/P&gt;</description>
      <pubDate>Sun, 27 Jan 2019 14:32:25 GMT</pubDate>
      <guid>https://community.cisco.com/t5/devnet-sandbox/open-nx-api-sandbox-access/m-p/3788932#M3313</guid>
      <dc:creator>zowu</dc:creator>
      <dc:date>2019-01-27T14:32:25Z</dc:date>
    </item>
  </channel>
</rss>

