Questions tagged [cisco-ios]

Cisco IOS (Internetwork Operating System) is the name of the operating system that is run by virtually all enterprise-class Cisco switches and routers, as well as in certain other Cisco networking products.

Cisco IOS is an embedded operating system for Cisco networking products. It is found in nearly all of Cisco's enterprise-class switches and routers.

Cisco IOS is a monolithic-kernel OS with no GUI. It is designed to perform some of its functions in software, and to delegate others to specialized hardware. For example, routing and other protocols run as IOS processes and contribute to the Routing Information Base (RIB). The RIB is processed to generate the final IP forwarding table (FIB, Forwarding Information Base), which is used by the forwarding function of the router. However, in routers with hardware-based forwarding, such as the Cisco 12000 series, IOS computes the FIB in software and loads it into the forwarding hardware (such as an ASIC or network processor), which performs the actual packet forwarding function.

Cisco releases and supports several versions of the IOS software, roughly parallel to the stable/unstable/nightly versions of open source projects. Cisco calls these versions "trains," and it releases several of them. The mainline and T trains are the most common, and the rest are specialized for specific groups of customers.

  • The mainline train is designed to be the most stable release the company can offer, and its feature set never expands during its lifetime. Updates are released only to address bugs in the product.
  • The T is the Technology train, gets new features and bug fixes throughout its life, and is therefore potentially less stable than the mainline. The T train, once mature, becomes the basis for the next version of the mainline train.
  • The S is the Service Provider train, runs only on Cisco's core router products and is heavily customized for Service Provider customers.
  • The E is the Enterprise train, customized for implementation in enterprise environments.
  • The B is the broadband train, meant to support broadband features.
  • The X* trains (e.g. XA, XB) are a series of speciality trains and are not widely available.
238 questions
1
vote
2 answers

Cisco 857 Restore Missing Lines

I have backup up my Cisco 857 using HyperTerminal and the Cisco Serial Cable. The settings are: 9600 baud, 8 data bits, 1 stop bit, No parity, no flow control. I have then tried to restore onto another Cisco 857 again using the HyperTerminal "Paste…
lankylad
  • 43
  • 6
1
vote
1 answer

Cisco/AWS IKEv2/IPSEC Site-to-Site VPN: Received an IKE msg id outside supported window

I'm encountering an issue with an IKEv2 setup where the authentication exchange fails and I receive the error message: "Response is outside of window received 0x1, expect 0x2 <= mess_id < 0x2 : Received an IKE msg id outside supported window". I am…
1
vote
1 answer

Read a particular status keyword from Cisco output in Ansible

I am trying to run a show command on a cisco router to find out the down interfaces. I would like to print only the Ethernet Interface name(for eg:Eth1/3) for those are having the Status as down in the command output in a JSON fromat. Cisco…
Vinny
  • 302
  • 2
  • 11
1
vote
1 answer

How to get SNMPv3 by python with auth no priv?

How to get SNMPv3 by python with auth no priv? i try to do it with pysnmp but it not work. device :switch CISCO 2960 from pysnmp.hlapi import UsmUserData, usmHMACSHAAuthProtocol,usmAesCfb256Protocol from pysnmp.hlapi import SnmpEngine,…
Alchimie
  • 426
  • 4
  • 12
1
vote
1 answer

ansible CSV header options when appending with for loop

i'm trying to gather network devices data using ansible and add to csv file which is working fine for me but then now i would like to have the headers to the match to whats been gathered . - name: Playbook to collect ntp,snmp_facts and put into csv…
1
vote
1 answer

Ansible Reload Cisco Devices Hangs

I have a task that reloads a number of Cisco Routers and Cisco Firewalls. For some reason the playbook always hangs at this task after the playbook have already reloaded the first device. The reload command is actually sent to the second device and…
uncowandy
  • 59
  • 3
1
vote
1 answer

Syslog receives logs from Cisco Switch but doesn't log them

So, I got the task of transmitting all logs made by one particular Cisco switch to our dedicated Syslog Server. Via Cisco IOS I did the following: schu-ebd-sw-vt14-11#configure terminal schu-ebd-sw-vt14-11(config)#logging 10.254.1.103 …
isacc142
  • 47
  • 5
1
vote
0 answers

Opening Test File on Cisco IOSXE python guestshell

I successfully transferred a text file (zero_conf.txt) to a Cisco IOSXE (Amsterdam) switch flash file system using python on the guestshell. However when I try to open the text file using the following code: with open('/flash/zero_conf.txt','r+') as…
Kal
  • 13
  • 4
1
vote
1 answer

Cisco IOS Script assistance

I am using the following script to log into various cisco devices and configure them: from netmiko import ConnectHandler import time import json import yaml import sys with open("devices.yml") as d: all_devices = yaml.safe_load(d) with…
ccsmooth
  • 37
  • 3
1
vote
1 answer

Exception Handling in Python Script

I have the following python script that adds configurations to different Cisco IOS devices. The script works great as long as all the devices in the file allow the SSH connection and take the configs. However, if any device in the file rejects the…
ccsmooth
  • 37
  • 3
1
vote
2 answers

Open Dictionary File in Python

I am trying to develop a Python script that will log into hundreds of Cisco IOS devices and configure them. The issue I am running into is that I do not want to define the device dictionary in the script itself, but have the script refer to a file…
ccsmooth
  • 37
  • 3
1
vote
1 answer

Error handling for updating IOS via Ansible

beginner to using Ansible. More of a network engineer, less of a scripter / programmer, but trying to learn a new skill. Attempting to write a playbook to automate updating of our fleet of Cisco switch stacks but I think I am both lost in syntax and…
Moridn
  • 35
  • 6
1
vote
1 answer

Issue connecting to cisco ios switch with custom menu enabled

I am trying to connect to a Cisco [Cisco IOS Software, C2900 Software (C2900-UNIVERSALK9-M), Version 15.4(3)M3] switch via ansible/python. But I am facing issue because we have enabled a menu when we connect to vty. Is there any working sample…
sunder
  • 1,803
  • 4
  • 29
  • 50
1
vote
1 answer

Remove first line in 'stdout_lines'

I'm just a beginner and write some small playbook. For now I get some little error. - name: Facts ios_command: commands: show interface status register: ios_comm_result In this playbook, for beginner I get the list of interfaces and then in…
Artur88
  • 43
  • 6
1
vote
0 answers

How to set vrf forwarding for interface in cisco ios via ansible

In my playbook I need to set up a new l3 interface and configure vrf forwarding for it. In cisco.nxos there is the cisco.nxos.nxos_vrf_interface which manages interface specific VRF configuration. I can not find equivalent module for cisco.ios. Is…
Jan Kreps
  • 11
  • 3
1
2
3
15 16