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

Python Telnet script

Thanks to Python Library i was able to use their example to telnet to Cisco switches, I am using this for learning purposes, specifically learning python. However, although all the code seem generally easy to read, I am a bit confused as to the…
tafiela
  • 93
  • 2
  • 10
-1
votes
1 answer

How to loop over list of IP addresses, one per line in Python

I have the below code which will open the .txt file containing IP addresses and then connect to the device and capturethe command output, it will then print the output to file and state that everything works. I can't get it to loop through a series…
Chris Jones
  • 45
  • 2
  • 9
-1
votes
1 answer

looking for specific mac address in switch

I use Packet Tracer 6.0.1 to implement a lab and I trying to find command to look for a specific mac address in a switch. I already tried all these and no succeed ‪#‎show‬ mac address-table address 0254.008c.259e ‪#‎show‬ mac address-table address |…
-1
votes
1 answer

Problems executing Cisco Python script

Running the following script that I got off of stackoverflow to login into a Cisco switch connected to a console server, and issue a "sh run" command. #!usr/bin/python import getpass import telnetlib HOST = "10.252.128.81:3132" user =…
-1
votes
1 answer

does the "set" command works in cisco switches?

I was trying to change the default port priority on cisco switch and it came with an error as invalid input detected. can someone excplain the mistake in this code ! Switch# Switch#set ? Switch#set spanning-tree ? % Unrecognized…
-1
votes
2 answers

Sending complex, multi-line command via plink to Cisco Router =Unexplained behavior

I'm trying to get the below part of the code done in a relatively condensed fashion (to plug in to a much bigger script). I don't have any problems sending multiple commands this way. However, there's something that's causing the multi-line…
MKANET
  • 573
  • 6
  • 27
  • 51
-1
votes
1 answer

Cisco 2911 - Password Recovery Functionality Disabled. Need to Reset to defaults

EDIT- The solution is to use a different IOS version on a newly formatted flash card. This forces the config out of the router due to an IOS mismatch. You will be free to do any configuration from here on out because the router will be wiped. I am…
Adam Walker
  • 56
  • 3
  • 13
-1
votes
1 answer

how to get only one public IP address from ISP to two Routers in the Core layer

I have a problem with my core layer. I have given public IP address of 142.48.2.0/30 by the internet service provider(ISP) and the private address is 172.16.0.0/24. In the core layer, I have active and standby router which have been configured using…
JAMES
  • 75
  • 2
  • 2
  • 10
-1
votes
1 answer

Cisco IOS password types - relative security

Cisco has finally gotten around to offering two relatively modern ways to store passwords in configuration files: PBKDF2-HMAC-SHA256 with 20,000 iterations Scrypt with N=16384, r=1, p=1 My question for the security gods is, given the two…
-1
votes
1 answer

How to schedule a process in a router

I am using the below code to execute a TCL script inside a cisco router. Router#tclsh Router(tcl)#source tftp://tftp-server/tcl-script.tcl Everyday I wanted to execute same script in my router at 10 PM. how can I schedule it? Regards, Varghese
user3424922
  • 22
  • 1
  • 4
-1
votes
1 answer

ssh to cisco router c3745

I am able to ssh to the C3745 router. But, by default it enters into the normal exec mode. Is it possible to ssh directly into privilege exec mode.I don't want to use enable and then enter into the privilege mode. I have given the user privilege…
-1
votes
1 answer

How to write a Cisco IOS script to run a set of commands at a certain time each day?

I am trying to write a tcl script that will delete and un-register certain policies in my router every morning, but when I try to upload it to the device it wont work. Here is what I have done so far; ::cisco::eem::event_register_timer cron name…
Dan
  • 2,020
  • 5
  • 32
  • 55
-1
votes
1 answer

tcl script in GNS3 .... wrong # args: should be "foreach varList list ?varList list ...? command"

I'm trying to run a tcl script on a Cisco router in GNS3; SanJose1(tcl)#foreach address { +>192.168.1.1 +>192.168.1.2 +>172.16.224.5 +>172.16.224.6 +>192.168.72.1 +>172.16.224.2 +>172.16.224.1 +>10.2.1.1 +>10.2.2.1 +>} { ping $address } When I do…
bordeltabernacle
  • 1,603
  • 5
  • 24
  • 46
-1
votes
2 answers

Cisco 1800 NAT configuration

I have Cisco 1812 router which I would like to setup as our office internet gateway. Although I followed guides on Cisco web site, I cannot get NAT to work. My problem is that NAT is not happening, and I cannot get why. When I connect to router, I…
Marko
  • 115
  • 4
-1
votes
1 answer

Writing a tcl script using event_register_syslog

I am a newby to this but I am tasked at writing a tcl script. The script is to print a message on the command line "Warning, system error detected" when a syslog system_error is found. Now I am completely new to tcl and all I know is that an…
Dan
  • 2,020
  • 5
  • 32
  • 55