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
1 answer

Python - capture the output from a sh command, obtain IP address and run a ping

Below is my working code which is used to show my router arp table on Cisco Routers. I have a task at my hand which requires me to read specific values from the output of the "sh arp " command and use it as input for another command to be executed…
zenki
  • 41
  • 4
1
vote
1 answer

Cisco IOS random number generator

I was wondering if anyone knew if Cisco IOS (that is, the mainline IOS, not the XE or XR trains) had an internal secure random number generator similar to Unix-style /dev/urandom? If so, what and if not, what does eg. OpenSSL use for seed entropy in…
ayylmao
  • 39
  • 2
1
vote
1 answer

Apache Velocity: Checking the count of array

I am working with Cisco Prime Infrastructure and need to create a CLI template for mass deployment to some switches. Prime uses Apache Velocity for its CLI content to script. I have run into a problem where I am running some code that loops…
tron_jones
  • 199
  • 1
  • 12
1
vote
1 answer

Last expect instruction is not executed

I'm working on a script to automatize instructions on an IOS Cisco router, using the expect commands. Here is the script I wrote: #!/bin/expect #log_user 0 set timeout 60 set mode [lindex $argv 0] spawn ssh myuser@10.0.0.254 expect "*assword:" { …
Razaborg
  • 151
  • 1
  • 7
1
vote
1 answer

Facing issue while running a Python Script on Cisco CLI

I am trying to write a Python Script to enable port-security on one of the interfaces of a Cisco Switch and bind them to a group of MAC_addresses, wherein I am taking the following as input from the users: The number of MAC Addresses to be…
sholmes
  • 13
  • 4
1
vote
1 answer

Displaying a portion of the configuration (--More)

I have got this error when i try to connect to my switch ! use Net::OpenSSH; use warnings; use Expect; my $password = 'admin'; my $enable = ''; my $ip = '192.16.25.39'; my $username='user'; my $ssh = Net::OpenSSH->new("$username:$password\@$ip",…
ahmed
  • 19
  • 4
1
vote
4 answers

How to manage Cisco IOS configuration file versioning?

Just wondering what is the best way to give configurations a version. To elaborate - I want to have different versions of configuration files and query the running-config for the currently running configuration version. Is there a MIB OID that I…
ac84
  • 91
  • 1
  • 5
1
vote
0 answers

Connect to server via VPN

I have to develop an iPhone application that connects to a server via VPN. And I believe there is no way to make VPN connection / check for VPN connection activity programatically. I know this is a pretty old question. And what I need to know is,…
Nina
  • 1,579
  • 2
  • 21
  • 51
0
votes
1 answer

How to read returned parameter from RADIUS server

I have configured a Cisco voice gateway to use a Cisco ACS on a windows server 2003. Meanwhile, I have configured an external database through an ODBC connection with a MSSQL server. As mentioned in the TCLIVR document, I have to use a stored…
Yasser Sobhdel
  • 611
  • 8
  • 26
0
votes
0 answers

Unable to connect to CSR Router using NCClient on PPC64LE /REL 9.2

I have a simple program using netconf client version ncclient 0.6.13 with Python3 running on PPC64LE Red hat Version Red Hat Enterprise Linux release 9.2 (Plow) which is using netconf yang to connect to the remote Cisco router. import os from…
0
votes
0 answers

Beginner with Ansible. ""socket path /home/user/.ansible/pc/213a4a4412 does not exist or cannot be found."

First time running Ansible. I am not sure what I am doing wrong but i cant seem to Google my way out of this error. Very basic script asking to run show version on a Cisco IOS Switch. but it doesnt seem like the playbook is ever getting to even the…
0
votes
0 answers

Communication between Routers with different CIDER values for Ethernet/Serial Ports

I have three Routers, A B and C. Each Router has the following configurations: Serial: classA IP/30 Ethernet: ClassC IP/29 Subnets: Two end Devices, ClassC subnet/29 Ip Route is configured using RIP I can't send data packets from Router A's end…
Splendour
  • 1
  • 2
0
votes
0 answers

Ansible Cisco.Iosxr collection not working with virtual Cisco IOS XR Router

I'm trying to configure Cisco IOS XR devices with Ansible. I assume the Cisco.Iosxr collection would be suitable for such task. But the Cisco.Iosxr collection seems to envoke a command "show inventory", which does not exist on my IOS XR…
0
votes
0 answers

automate cisco FMC using Ansible tower

I'm trying to automate Cisco FMC (v6.2) using Ansible tower (v3.8.6), But I have problems with starting the connection, known That I want to use an "HTTP API" connection, every time I try to establish a connection it ends with this error { "msg":…
CHebbah
  • 1
  • 1
0
votes
1 answer

RestConf in Cisco Device uri Keypath not found for /ip/prefix-lists/prefixes/name

I am trying to execute below restconf API Get Request and getting error "uri keypath not found". The Path is present in Yang module https:///restconf/data/Cisco-IOS-XE-native:native/ip/prefix-lists/prefixes/name --- Response { …
Alok Kumar
  • 49
  • 10