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
0
votes
0 answers

Saved 9800 WLC file cuts off configuration

I am having an issue where my script logs into a Cisco WLC 9800, sends the commands "show run" and then saves it to a file, but the file cuts off a big chunk of the config. I verified with a debug that the whole configuration is pulled from the…
Choppers16
  • 11
  • 2
0
votes
1 answer

Error While exiting Configuration mode using Python Script

It's been long since I opened stack websites. please ignore any mistakes. I am using telnetlib library to login into my Multilayer switch on GNS3. I am Successfully able to configure loopback interfaces using script and execute show commands in it,…
0
votes
2 answers

Continue not properly in loop (python)

I have the following script that is used to log into Cisco devices and make config changes. The script seems ok except for the very end where the IDE complains that the "continue is not properly in loop". I want this script to be able to continue if…
ccsmooth
  • 37
  • 3
0
votes
0 answers

Ansible Playbook command timeout when connecting to cisco switch using SSH key

Summary: im trying to setup a playbook to get a list of IOS devices from netbox and then export the config files Versions: ansible-playbook [core 2.13.2] python version = 3.8.13 switch IOS = 15.0(2)EX5 ansible host = Ubuntu 18.04.6 LTS Issue: When…
DrunkMunki
  • 1
  • 1
  • 4
0
votes
1 answer

Failure condition for free space check in Ansible

Working on writing a playbook to update the fleet of Cisco switches we run, but I am having trouble with a specific line I am using to verify there is sufficient free space on the stack. Cut the relevant sections of the playbook here. --- - hosts:…
Moridn
  • 35
  • 6
0
votes
2 answers

Sending Cisco commands from a text file using Netmiko fails. send_config_set works but send_config_from_file doesn't

I have been using this link as guide. https://pyneng.readthedocs.io/en/latest/book/18_ssh_telnet/netmiko.html#:~:text=Netmiko%20is%20a%20module%20that,pip%20install%20netmiko XXXXXX:/Test # cat test2.py from netmiko import ConnectHandler with…
0
votes
1 answer

Telnet action failed: telnet connection closed

I am unable to connect via telnet (SSH is not an option) using ansible Steps to mimic - name: Fetch Show Version ansible.netcommon.telnet: user: '{{ username }}' password: '{{ password }}' login_prompt: 'username: ' …
0
votes
0 answers

Passing port: 23 in ios_command module where default is (22)

I am building a workflow where I try to SSH a device if that doesn't work I will telnet to the device, If telnet is succesfull, I will continue my workflow, Now when SSH is working, my play is running successfully that is ios_command module works,…
0
votes
1 answer

BGP Protocol configuration between two VPC

I would need to configure a cross connect between two networks via SFP Fiber. Unfortunately I'm new on BGP configuration and would need confirmation that I'm doing it on the right way... I have Two VPC: VPC A: ASN 200 IP Router: 169.254.250.1 Sub…
tiamat
  • 879
  • 2
  • 12
  • 35
0
votes
0 answers

Posh-SSH script on Cisco devices

I made a Posh-SSH based script that will let me send commands to Cisco routers. It works great... except for a very specific case. function Send-SSHCommand { Param( [Parameter(Mandatory=$true)] [String]$Command, …
MKANET
  • 573
  • 6
  • 27
  • 51
0
votes
1 answer

Python Parallel SSH - Netmiko/Napalm - Cisco SMB switches stuck at sending command

I am trying to determine vendor + version (using python NAPALM and parallel-ssh) of network switches (Huawei VRP5/8, Cisco Catalyst and Cisco SMB (SF/SG): admin@server:~$ python3 Python 3.8.10 (default, Nov 26 2021, 20:14:08) [GCC 9.3.0] on…
sweedcorn
  • 1
  • 2
0
votes
1 answer

Python Network devices.. General query:

This WORKS: I used to write device drivers for Cisco vendor.. Where I login to there device using putty via Telnet device IP and it enters into device and use some commands in my script to get information .. like show version command in my script n…
Vinod HC
  • 1,557
  • 5
  • 20
  • 38
0
votes
0 answers

Cisco-module (Filebeat) to Logstash - Configuration issue - Unable to write to existing indices

I was able to send logs to Elasticsearch using Filebeat using the below configuration successfully. # ============================== Filebeat inputs =============================== filebeat.inputs: - type: log enabled: false paths: -…
0
votes
2 answers

Ansible Cisco Config Terminal

I have a problem with Cisco Routers. I can't open a config terminal because it's saying always invalid input. I done everything what are docs saying. Inventory file: all: vars: ansible_connection: network_cli ansible_network_os: ios …
SPR
  • 15
  • 4
0
votes
0 answers

Ansible's 'community.network.pn_stp' fails

I am trying to run a simple playbook that changes some STP parameters, but I cannot understand where the following error comes from: fatal: [Sw3]: FAILED! => { "changed": false, "invocation": { "module_args": { …
Anda
  • 670
  • 7
  • 7