<?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: DevNet Always-On IOS XE Sandbox.- HOW TO GET INTO LINUX INTERPRETE in DevNet Sandbox</title>
    <link>https://community.cisco.com/t5/devnet-sandbox/devnet-always-on-ios-xe-sandbox-how-to-get-into-linux/m-p/4857742#M8275</link>
    <description>&lt;P&gt;Thanks again.&lt;BR /&gt;Something I came across in my own host when trying to run the code in the documentation (the snippet I sent earlier as an attachment) is a connection timeout.&amp;nbsp; After looking for possible url typo errors and finding none, I tried to run the url in my browser. No help.&amp;nbsp; Still timeout.&amp;nbsp; Finally I resolved the host ip by doing a nslookup to the host url =&amp;gt;&amp;nbsp;131.226.217.149.&lt;BR /&gt;Then I tested if I could connect to the host using my putty....The result suggests the password might have been changed...see below:&lt;BR /&gt;!-----------------------------------------------------------&lt;BR /&gt;login as: developer&lt;BR /&gt;Keyboard-interactive authentication prompts from server:&lt;BR /&gt;| Password:&lt;BR /&gt;End of keyboard-interactive prompts from server&lt;BR /&gt;Access denied&lt;BR /&gt;Keyboard-interactive authentication prompts from server:&lt;BR /&gt;| Password:&lt;BR /&gt;End of keyboard-interactive prompts from server&lt;BR /&gt;Access denied&lt;BR /&gt;Keyboard-interactive authentication prompts from server:&lt;BR /&gt;| Password:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Finally I decided to reach the host&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 19 Jun 2023 17:34:46 GMT</pubDate>
    <dc:creator>mal0304</dc:creator>
    <dc:date>2023-06-19T17:34:46Z</dc:date>
    <item>
      <title>DevNet Always-On IOS XE Sandbox.- HOW TO GET INTO LINUX INTERPRETER ?</title>
      <link>https://community.cisco.com/t5/devnet-sandbox/devnet-always-on-ios-xe-sandbox-how-to-get-into-linux/m-p/4857121#M8269</link>
      <description>&lt;P&gt;I am following the "Coding and API Fundamentals" DevNet study material Lesson.&lt;BR /&gt;I am told to use the&amp;nbsp; DevNet Always-On IOS XE Sandbox to follow the example shown in that Lesson.&lt;BR /&gt;Below is a fragment of the code being shown in that Lesson:&lt;BR /&gt;!&lt;BR /&gt;&amp;nbsp;&amp;gt;&amp;gt;&amp;gt; import requests&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt; HOST = 'ios-xe-mgmt.cisco.com'&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt; USER = 'developer'&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt; PASS = 'C1sco12345'&lt;BR /&gt;!-------- truncated for brevity --------&lt;BR /&gt;&lt;BR /&gt;I can reach the privilege &amp;amp; config mode as shown below...&lt;BR /&gt;csr1000v-1#&lt;BR /&gt;csr1000v-1(config)#&lt;BR /&gt;!----------------------------------&lt;BR /&gt;How do I enable bash shell so that I can access the Linux interpreter?&lt;/P&gt;</description>
      <pubDate>Sun, 18 Jun 2023 23:10:49 GMT</pubDate>
      <guid>https://community.cisco.com/t5/devnet-sandbox/devnet-always-on-ios-xe-sandbox-how-to-get-into-linux/m-p/4857121#M8269</guid>
      <dc:creator>mal0304</dc:creator>
      <dc:date>2023-06-18T23:10:49Z</dc:date>
    </item>
    <item>
      <title>Re: DevNet Always-On IOS XE Sandbox.- HOW TO GET INTO LINUX INTERPRETE</title>
      <link>https://community.cisco.com/t5/devnet-sandbox/devnet-always-on-ios-xe-sandbox-how-to-get-into-linux/m-p/4857223#M8271</link>
      <description>&lt;P&gt;&lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/788836"&gt;@mal0304&lt;/a&gt;&amp;nbsp;i am confused by your question here you have have posted two things. The first is the image and snip of python code, this code is meant to be ran from your local host/machine to the XE sandbox to update an interface details. This python script is not meant to be ran on the device itself.&lt;/P&gt;&lt;P&gt;If you are interested in Guestshell on XE, see this link here&amp;nbsp;&lt;A href="https://developer.cisco.com/docs/ios-xe/#!on-box-python-and-guestshell-quick-start-guide" target="_blank"&gt;https://developer.cisco.com/docs/ios-xe/#!on-box-python-and-guestshell-quick-start-guide&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jun 2023 07:09:48 GMT</pubDate>
      <guid>https://community.cisco.com/t5/devnet-sandbox/devnet-always-on-ios-xe-sandbox-how-to-get-into-linux/m-p/4857223#M8271</guid>
      <dc:creator>bigevilbeard</dc:creator>
      <dc:date>2023-06-19T07:09:48Z</dc:date>
    </item>
    <item>
      <title>Re: DevNet Always-On IOS XE Sandbox.- HOW TO GET INTO LINUX INTERPRETE</title>
      <link>https://community.cisco.com/t5/devnet-sandbox/devnet-always-on-ios-xe-sandbox-how-to-get-into-linux/m-p/4857693#M8272</link>
      <description>&lt;P&gt;Joyce,&lt;BR /&gt;Thanks for suggestion.&lt;BR /&gt;However, I noticed that you do not need to be in config mode to run "guestshell run bash to enable the Linux interpreter.&lt;BR /&gt;Privilege mode should be good enough to run the command. See snnipet below.&amp;nbsp; &amp;nbsp;&lt;BR /&gt;However, even though the command is allowed in privilege mode, there is another error as stated below, but that is a different issue.&lt;BR /&gt;&lt;BR /&gt;!--------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;csr1000v-1(config)#guestshell ?&lt;BR /&gt;% Unrecognized command&lt;BR /&gt;csr1000v-1(config)#guestshell&lt;BR /&gt;!--------------------------------------------------------------------------------------------------------&lt;BR /&gt;&lt;BR /&gt;csr1000v-1#guestshell ?&lt;BR /&gt;destroy Disable and uninstall the guest shell service package&lt;BR /&gt;disable Disable the guest shell service package&lt;BR /&gt;enable Enable the guest shell service&lt;BR /&gt;portforwarding Port forwarding through iptables&lt;BR /&gt;run Execute/run program in the guest shell&lt;BR /&gt;&amp;lt;cr&amp;gt; &amp;lt;cr&amp;gt;&lt;/P&gt;&lt;P&gt;csr1000v-1#guestshell run ?&lt;BR /&gt;LINE Linux executable command string, eg: bash, python&lt;/P&gt;&lt;P&gt;csr1000v-1#guestshell run bash&lt;BR /&gt;Error, guestshell is in disabled state, execute 'guestshell enable' before attempting this CLI&lt;BR /&gt;csr1000v-1#&lt;/P&gt;&lt;P&gt;csr1000v-1#guestshell enable ?&lt;BR /&gt;&amp;lt;cr&amp;gt; &amp;lt;cr&amp;gt;&lt;/P&gt;&lt;P&gt;csr1000v-1#guestshell enable&lt;BR /&gt;Interface will be selected if configured in app-hosting&lt;BR /&gt;Please wait for completion&lt;BR /&gt;% Error: No interface configuration for guestshell&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jun 2023 15:25:34 GMT</pubDate>
      <guid>https://community.cisco.com/t5/devnet-sandbox/devnet-always-on-ios-xe-sandbox-how-to-get-into-linux/m-p/4857693#M8272</guid>
      <dc:creator>mal0304</dc:creator>
      <dc:date>2023-06-19T15:25:34Z</dc:date>
    </item>
    <item>
      <title>Re: DevNet Always-On IOS XE Sandbox.- HOW TO GET INTO LINUX INTERPRETE</title>
      <link>https://community.cisco.com/t5/devnet-sandbox/devnet-always-on-ios-xe-sandbox-how-to-get-into-linux/m-p/4857694#M8273</link>
      <description>&lt;P&gt;Bigevilbeard,&lt;BR /&gt;Thanks for your insights.&lt;BR /&gt;You are right, I had two different questions.&lt;BR /&gt;1- How to enable bash shel and linux interpreter in the XE&amp;nbsp; sandbox.&lt;/P&gt;&lt;P&gt;2- Where to run code provided in the learning material. The code is NOT to be run in the box itself.&lt;BR /&gt;Thanks for your clarification.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jun 2023 15:29:35 GMT</pubDate>
      <guid>https://community.cisco.com/t5/devnet-sandbox/devnet-always-on-ios-xe-sandbox-how-to-get-into-linux/m-p/4857694#M8273</guid>
      <dc:creator>mal0304</dc:creator>
      <dc:date>2023-06-19T15:29:35Z</dc:date>
    </item>
    <item>
      <title>Re: DevNet Always-On IOS XE Sandbox.- HOW TO GET INTO LINUX INTERPRETE</title>
      <link>https://community.cisco.com/t5/devnet-sandbox/devnet-always-on-ios-xe-sandbox-how-to-get-into-linux/m-p/4857698#M8274</link>
      <description>&lt;P&gt;No problem! The link i provided should enable you to configure the sandbox for Guestshell, there are some steps you need to take to &lt;SPAN&gt;enable connectivity between the guest shell, which is a container and the IOS XE.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I would also take a look at setting up your local env here -&amp;nbsp;&lt;A href="https://developer.cisco.com/learning/modules/dev-setup/" target="_blank"&gt;https://developer.cisco.com/learning/modules/dev-setup/&lt;/A&gt;&amp;nbsp;having this set up correctly for running any other code you will encounter in your studies.&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jun 2023 15:53:32 GMT</pubDate>
      <guid>https://community.cisco.com/t5/devnet-sandbox/devnet-always-on-ios-xe-sandbox-how-to-get-into-linux/m-p/4857698#M8274</guid>
      <dc:creator>bigevilbeard</dc:creator>
      <dc:date>2023-06-19T15:53:32Z</dc:date>
    </item>
    <item>
      <title>Re: DevNet Always-On IOS XE Sandbox.- HOW TO GET INTO LINUX INTERPRETE</title>
      <link>https://community.cisco.com/t5/devnet-sandbox/devnet-always-on-ios-xe-sandbox-how-to-get-into-linux/m-p/4857742#M8275</link>
      <description>&lt;P&gt;Thanks again.&lt;BR /&gt;Something I came across in my own host when trying to run the code in the documentation (the snippet I sent earlier as an attachment) is a connection timeout.&amp;nbsp; After looking for possible url typo errors and finding none, I tried to run the url in my browser. No help.&amp;nbsp; Still timeout.&amp;nbsp; Finally I resolved the host ip by doing a nslookup to the host url =&amp;gt;&amp;nbsp;131.226.217.149.&lt;BR /&gt;Then I tested if I could connect to the host using my putty....The result suggests the password might have been changed...see below:&lt;BR /&gt;!-----------------------------------------------------------&lt;BR /&gt;login as: developer&lt;BR /&gt;Keyboard-interactive authentication prompts from server:&lt;BR /&gt;| Password:&lt;BR /&gt;End of keyboard-interactive prompts from server&lt;BR /&gt;Access denied&lt;BR /&gt;Keyboard-interactive authentication prompts from server:&lt;BR /&gt;| Password:&lt;BR /&gt;End of keyboard-interactive prompts from server&lt;BR /&gt;Access denied&lt;BR /&gt;Keyboard-interactive authentication prompts from server:&lt;BR /&gt;| Password:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Finally I decided to reach the host&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jun 2023 17:34:46 GMT</pubDate>
      <guid>https://community.cisco.com/t5/devnet-sandbox/devnet-always-on-ios-xe-sandbox-how-to-get-into-linux/m-p/4857742#M8275</guid>
      <dc:creator>mal0304</dc:creator>
      <dc:date>2023-06-19T17:34:46Z</dc:date>
    </item>
    <item>
      <title>Re: DevNet Always-On IOS XE Sandbox.- HOW TO GET INTO LINUX INTERPRETE</title>
      <link>https://community.cisco.com/t5/devnet-sandbox/devnet-always-on-ios-xe-sandbox-how-to-get-into-linux/m-p/4857756#M8276</link>
      <description>&lt;P&gt;I have to correct what I said earlier about SSH to the host.&amp;nbsp;&lt;BR /&gt;The result I showed earlier was from a SSH session using the default port 22. Using the port 9443 as specified in the Lab exercise, the connection times out as well (I do not even get a prompt from the host).&amp;nbsp; No idea what the problem could be...&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jun 2023 17:59:09 GMT</pubDate>
      <guid>https://community.cisco.com/t5/devnet-sandbox/devnet-always-on-ios-xe-sandbox-how-to-get-into-linux/m-p/4857756#M8276</guid>
      <dc:creator>mal0304</dc:creator>
      <dc:date>2023-06-19T17:59:09Z</dc:date>
    </item>
    <item>
      <title>Re: DevNet Always-On IOS XE Sandbox.- HOW TO GET INTO LINUX INTERPRETE</title>
      <link>https://community.cisco.com/t5/devnet-sandbox/devnet-always-on-ios-xe-sandbox-how-to-get-into-linux/m-p/4857779#M8277</link>
      <description>&lt;P&gt;&lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/788836"&gt;@mal0304&lt;/a&gt;&amp;nbsp;I just looked at your code/host again. From what I recall that sandbox was retired and replaced with&amp;nbsp;&lt;A href="https://devnetsandbox.cisco.com/RM/Diagram/Index/7b4d4209-a17c-4bc3-9b38-f15184e53a94?diagramType=Topology" target="_blank" rel="noopener"&gt;https://devnetsandbox.cisco.com/RM/Diagram/Index/7b4d4209-a17c-4bc3-9b38-f15184e53a94?diagramType=Topology&lt;/A&gt; or&amp;nbsp;&lt;A href="https://devnetsandbox.cisco.com/RM/Diagram/Index/27d9747a-db48-4565-8d44-df318fce37ad?diagramType=Topology" target="_blank" rel="noopener"&gt;https://devnetsandbox.cisco.com/RM/Diagram/Index/27d9747a-db48-4565-8d44-df318fce37ad?diagramType=Topology&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you update your code to point to one of these devices and update the username/password you should be good.&lt;/P&gt;&lt;P&gt;Edit: also check the port in the sandbox details I would have thought this would be 443&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jun 2023 19:10:13 GMT</pubDate>
      <guid>https://community.cisco.com/t5/devnet-sandbox/devnet-always-on-ios-xe-sandbox-how-to-get-into-linux/m-p/4857779#M8277</guid>
      <dc:creator>bigevilbeard</dc:creator>
      <dc:date>2023-06-19T19:10:13Z</dc:date>
    </item>
  </channel>
</rss>

