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

Configuring an access list on a Cisco router

I'm trying to set up an acl on a cisco router. I want the router to allow connection to the http server, while blocking the connection to the ftp server. My setup: ip access-list extended blockade_ftp deny tcp any any eq ftp permit tcp any any eq…
Przemek
  • 59
  • 1
  • 6
0
votes
1 answer

Storing a value from ios-xe router command output in python

After making a connection to a cisco device using python, and executing a command I get a output as shown below, Basically I want to get only one value, that the value for Services which is shown as 1 below and store it in a variable. #show ethernet…
mac
  • 863
  • 3
  • 21
  • 42
0
votes
0 answers

how do i change the date of birth in Cisco

error:"Due to GDPR requirements, you must be at least 16 years old to participate in Networking Academy." This error popped up as I mistakenly chose the wrong date of birth, how can I change the Date of Birth in Cisco I tried changing the date of…
0
votes
0 answers

Ansible | snmp host and its version data (cisco) | using lists in ansible

I am using ansible to gather snmp hosts configured on each of the cisco switch and also its version . i'm able to achieve to get the list but some how i'm unable to understand on how to really have the list with only items needed and remove all of…
Yashas K.M
  • 47
  • 4
0
votes
0 answers

Extract and save Cisco devices output with Python

so I m very new to python I have a devices.txt file that includes all the IPs and nothing else (ex 10.10.10.1, 10.10.10.2 etc ..) I managed to get the output I want but I cannot find a way to get the script to go through the list and save the…
0
votes
1 answer

Cisco ansible show running-config

As per documentation, this should fetch the running config by running show running-config all cisco.ios.ios_config: defaults: yes It ends up erroring out with "msg": "show running-config ?\\r\\n% Unrecognized…
NRJ
  • 1,064
  • 3
  • 15
  • 32
0
votes
0 answers

Is my HSRP along with DHCP configuration correct?

I have two routers: Router A Router B Router A is the primary router and B is the one with lowest priority in HSRP. What I did was to configure 3 subinterfaces with encapsulation dot1 to assign them to a VLAN. Everything is clear to me up to this…
0
votes
1 answer

How to compare Cisco software versions in Python

I need to compare software versions for Cisco devices in Python, but unfortunately packaging.version doesn't support this format when 3rd and 4th indexes are joined by letters. Maybe someone knows a package that can compare the following versioning…
pyjedy
  • 389
  • 2
  • 9
0
votes
0 answers

How to Extract FileSystem from Cisco IOS?

this is my first time analyzing firmware. Im trying to extract the Filesystem if possible, or at least extract the OS to load in IDA. Using Binwalk on the ELF binary gives me the output below. DECIMAL HEXADECIMAL …
0
votes
2 answers

Odd error when attempting net_put via Ansible

Looking for assistance with an odd error I am troubleshooting with a playbook. I have a working SSH session to a switch, but having difficulty with transferring files via SCP on Ansible. I can start a SCP session directly from the same server with…
Moridn
  • 35
  • 6
0
votes
0 answers

How do a I iterate through IP Addresses for a Cisco show command in Python using Netmiko then RegEx the output?

The goal of this script is to iterate through a list of IP addresses and loop the show command for multiple Cisco devices i.e. ASR 9K Routers. I want to RegEx the send_command to show only the total prefixes for BGP peer. import re from netmiko…
Dakenrick
  • 1
  • 1
0
votes
1 answer

libssh vs paramiko - ios_facts are different when running Ansible playbooks

I have a playbook I am writing that automates the install of firmware to our fleet of C2960Xs. I recently moved the location of the Ansible server I am using from my homelab to a VM in Azure. We have security rules on our sites to only allow remote…
0
votes
1 answer

How do I get Ansible to pass a variable into Python Script that has an Input Function?

I have tried to run a Python script in Ansible. The script works by itself. When I run it in the playbook it gives me the following error: line 14, in \n revisionamount = input(\"Please enter how much you want to increase VTP revision by…
Dakenrick
  • 1
  • 1
0
votes
1 answer

Ansible Jinja Template Failing on Cisco.ios.ios_config playbook

I have the following playbook, jinja template and yaml data. I am running this against a Cisco 9300 or 3850 switch. I just get the following error. If I run just the commands without the template the playbook runs fine. I have output the template to…
0
votes
0 answers

Is this a bug with python3 and ciscoconfparse?

I'm wondering if I should report this as a bug. I've used this Python module before (ciscoconfparse) and haven't had a problem. I recently switched to a MacBook and I get an error just trying to open a file using the syntax recommended in the…