<?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 Using netmiko to edit public IOS XR Always-On Sandbox router? in DevNet Sandbox</title>
    <link>https://community.cisco.com/t5/devnet-sandbox/using-netmiko-to-edit-public-ios-xr-always-on-sandbox-router/m-p/4091702#M4919</link>
    <description>&lt;P&gt;Hello everyone,&lt;BR /&gt;&lt;BR /&gt;I'm following different labs about network automation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I went through the NETCONF/YAML lab with the Always-On Sandbox router, worked like a charm.&lt;BR /&gt;I also used netmiko to do basic operations like get running config and it worked well.&lt;BR /&gt;&lt;BR /&gt;However, I can't seem to edit configuration with &lt;STRONG&gt;send_config_set&lt;/STRONG&gt; on this router.&lt;BR /&gt;Code example :&lt;/P&gt;&lt;PRE&gt;from netmiko import Netmiko
from getpass import getpass

net_connect = Netmiko(
    "sbx-iosxr-mgmt.cisco.com",
    username="admin",
    port="8181",
    password=getpass(),
    device_type="cisco_ios",
)

print(net_connect.find_prompt())
commands = ["logging history size 500"]
net_connect.send_config_set(commands)
net_connect.disconnect()&lt;/PRE&gt;&lt;P&gt;But I get a socket timeout exception. Is this router configured to block these kind of calls?&lt;/P&gt;&lt;P&gt;Am I doing something wrong?&lt;BR /&gt;&lt;BR /&gt;Thankfully&lt;/P&gt;</description>
    <pubDate>Mon, 25 May 2020 14:09:28 GMT</pubDate>
    <dc:creator>yoshi--power</dc:creator>
    <dc:date>2020-05-25T14:09:28Z</dc:date>
    <item>
      <title>Using netmiko to edit public IOS XR Always-On Sandbox router?</title>
      <link>https://community.cisco.com/t5/devnet-sandbox/using-netmiko-to-edit-public-ios-xr-always-on-sandbox-router/m-p/4091702#M4919</link>
      <description>&lt;P&gt;Hello everyone,&lt;BR /&gt;&lt;BR /&gt;I'm following different labs about network automation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I went through the NETCONF/YAML lab with the Always-On Sandbox router, worked like a charm.&lt;BR /&gt;I also used netmiko to do basic operations like get running config and it worked well.&lt;BR /&gt;&lt;BR /&gt;However, I can't seem to edit configuration with &lt;STRONG&gt;send_config_set&lt;/STRONG&gt; on this router.&lt;BR /&gt;Code example :&lt;/P&gt;&lt;PRE&gt;from netmiko import Netmiko
from getpass import getpass

net_connect = Netmiko(
    "sbx-iosxr-mgmt.cisco.com",
    username="admin",
    port="8181",
    password=getpass(),
    device_type="cisco_ios",
)

print(net_connect.find_prompt())
commands = ["logging history size 500"]
net_connect.send_config_set(commands)
net_connect.disconnect()&lt;/PRE&gt;&lt;P&gt;But I get a socket timeout exception. Is this router configured to block these kind of calls?&lt;/P&gt;&lt;P&gt;Am I doing something wrong?&lt;BR /&gt;&lt;BR /&gt;Thankfully&lt;/P&gt;</description>
      <pubDate>Mon, 25 May 2020 14:09:28 GMT</pubDate>
      <guid>https://community.cisco.com/t5/devnet-sandbox/using-netmiko-to-edit-public-ios-xr-always-on-sandbox-router/m-p/4091702#M4919</guid>
      <dc:creator>yoshi--power</dc:creator>
      <dc:date>2020-05-25T14:09:28Z</dc:date>
    </item>
    <item>
      <title>Re: Using netmiko to edit public IOS XR Always-On Sandbox router?</title>
      <link>https://community.cisco.com/t5/devnet-sandbox/using-netmiko-to-edit-public-ios-xr-always-on-sandbox-router/m-p/4091728#M4920</link>
      <description>&lt;P class="lia-align-left"&gt;Hi&lt;/P&gt;&lt;PRE&gt;device_type="cisco_xr"&lt;BR /&gt;commands = ["logging history size 500", 'commit']&lt;/PRE&gt;&lt;P class="lia-align-left"&gt;and it should work&amp;nbsp;&lt;/P&gt;&lt;P class="lia-align-left"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sbx-logging.gif" style="width: 701px;"&gt;&lt;img src="https://community.cisco.com/t5/image/serverpage/image-id/75311i22B54B7CDFD371AE/image-size/large?v=v2&amp;amp;px=999" role="button" title="sbx-logging.gif" alt="sbx-logging.gif" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 25 May 2020 15:10:53 GMT</pubDate>
      <guid>https://community.cisco.com/t5/devnet-sandbox/using-netmiko-to-edit-public-ios-xr-always-on-sandbox-router/m-p/4091728#M4920</guid>
      <dc:creator>omz</dc:creator>
      <dc:date>2020-05-25T15:10:53Z</dc:date>
    </item>
    <item>
      <title>Re: Using netmiko to edit public IOS XR Always-On Sandbox router?</title>
      <link>https://community.cisco.com/t5/devnet-sandbox/using-netmiko-to-edit-public-ios-xr-always-on-sandbox-router/m-p/4091746#M4921</link>
      <description>Simple as that, maybe I should've read the documentation more. Thanks!&lt;BR /&gt;&lt;BR /&gt;On a sub-question is this Sandbox router virtualized or is it the same for anyone?&lt;BR /&gt;Say for instance 100 users access it at the same time and create the same Loopback interfaces, will it create conflicts?</description>
      <pubDate>Mon, 25 May 2020 15:46:06 GMT</pubDate>
      <guid>https://community.cisco.com/t5/devnet-sandbox/using-netmiko-to-edit-public-ios-xr-always-on-sandbox-router/m-p/4091746#M4921</guid>
      <dc:creator>yoshi--power</dc:creator>
      <dc:date>2020-05-25T15:46:06Z</dc:date>
    </item>
    <item>
      <title>Re: Using netmiko to edit public IOS XR Always-On Sandbox router?</title>
      <link>https://community.cisco.com/t5/devnet-sandbox/using-netmiko-to-edit-public-ios-xr-always-on-sandbox-router/m-p/4091756#M4922</link>
      <description>&lt;P&gt;Pretty sure its virtualised .. everyone accesses the same box.&lt;/P&gt;&lt;P&gt;More than one user configuring at the same time ..&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sbx-multi.gif" style="width: 808px;"&gt;&lt;img src="https://community.cisco.com/t5/image/serverpage/image-id/75314i490B1F8329178DCA/image-size/large?v=v2&amp;amp;px=999" role="button" title="sbx-multi.gif" alt="sbx-multi.gif" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 25 May 2020 16:14:58 GMT</pubDate>
      <guid>https://community.cisco.com/t5/devnet-sandbox/using-netmiko-to-edit-public-ios-xr-always-on-sandbox-router/m-p/4091756#M4922</guid>
      <dc:creator>omz</dc:creator>
      <dc:date>2020-05-25T16:14:58Z</dc:date>
    </item>
    <item>
      <title>Re: Using netmiko to edit public IOS XR Always-On Sandbox router?</title>
      <link>https://community.cisco.com/t5/devnet-sandbox/using-netmiko-to-edit-public-ios-xr-always-on-sandbox-router/m-p/4091782#M4923</link>
      <description>Correct, it's an XRv9000.</description>
      <pubDate>Mon, 25 May 2020 17:10:00 GMT</pubDate>
      <guid>https://community.cisco.com/t5/devnet-sandbox/using-netmiko-to-edit-public-ios-xr-always-on-sandbox-router/m-p/4091782#M4923</guid>
      <dc:creator>bigevilbeard</dc:creator>
      <dc:date>2020-05-25T17:10:00Z</dc:date>
    </item>
  </channel>
</rss>

