Automating Cisco IOS using NSO 5.3 on Ubuntu Linux 20.04 – Part 2 (Device Configuration)

Categories Automation, Cisco, Devnet, NSO
  • NSO can read the current configuration and easily update the configurations across your network.

Reading Device Configurations

  • We can review the full device configuration with the following commands for c0.
  • We can use the de-select keyword to filter out elements of our returned data. In this example we are excluding the config data and should be returned with the config used to add the device into the NSO inventory. Think of this as the vanilla config.
  • Next let’s create an SVI for vlan 2 on the c0 device and then verify the configuration all through the ncs_cli.
As you can see we can create many different types of interfaces to mimic that of most devices.
The alarm sates c0’s device is out of sync
  • To fix this we can either re-sync the device to NSO or commit and ignore the sync check for the commit.
  • Finally we can run our show command for the C0 device and parse out only the interface information we’re looking for. All from the same CLI.
  • Repeat this process creating a vlan for the SVI, an access port for that vlan and other configuratios. Then you can verify with show commands parsing data after the commits.
  • NSO supports * wildcarding so you can pull configuration data from multiple ‘modules’ at once.
  • We have now explored connecting to an IOS device, Creating configurations on the device and verifying for sanity using show commands all from the NSO developer box.

6 Comments

  • JamesBex
    01/27/2023

    [Link deleted]over the counter viagra

  • User Login
    03/08/2023

    I have read your article carefully and I agree with you very much. This has provided a great help for my thesis writing, and I will seriously improve it. However, I don’t know much about a certain place. Can you help me?

  • Latest Hairstyles
    03/21/2023

    When I initially commented I clicked the “Notify me when new comments are added” checkbox and now each time a comment is added I get four emails with the same comment. Is there any way you can remove people from that service? Thanks!

  • Beauty Fashion
    03/26/2023

    Pretty nice post. I just stumbled upon your weblog and wanted to say that I have truly enjoyed surfing around your blog posts. After all I抣l be subscribing to your rss feed and I hope you write again very soon!

  • mZlfOpUL
    08/06/2023

    6; histidine 3 <a href=[Link deleted]buy

  • Vanna
    09/06/2023

    The main reason to claim and redeem and online gambling offer is to be able to test out the newest free slots and or new online casino sites risk-free. They are not a quick fix for winning and getting free cash, so you should try not to view them this way. They are essentially a trial of a site, so you should use these freebie incentives to test the games, enjoy the entertainment, and assess the different features that are presented. Not only are you getting amazing free spins no deposit bonus, but you can also choose between one of five bonuses, which include a deposit bonus and extra free spins. This is a common promotion that will offer a handful of Free Slot spins (between 10 and 50) on a particular slot or a small selection of slot games. The spins are usually played out on the lowest possible stake (so, often 1p per line) and anything you win might be yours to keep up to a certain value, depending upon the website and their T&C’s. It is rare, but sometimes free spins can be used on any slot, although progressive jackpots slots are usually excluded. These are especially popular in the USA, Canada, and the UK.
    [Link deleted]
    No Deposit Slots is operated by Jumpman Gaming Limited which is licensed and regulated in Great Britain by the Gambling Commission under account number 39175. For customers outside of Great Britain No Deposit Slots is regulated by the Alderney Gambling Control Commission. Registered business address (no correspondence): La Corvee House, La Corvee, Alderney, Channel Islands, GY9 3TQ However, if you pay attention to the fine print, you may find that sweetest of free spin offers — the no requirement free spin bonus. In free spin bonuses of this type, the money that you win during your free spins is immediately yours to keep and available for withdrawal. So, if you manage to pick up a sizable win and or had no intention of playing on the site in question otherwise, this kind of bonus is perfect for you to use.

Leave a Reply

Your email address will not be published.