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

Problem to use the commit:_config of napalm, not finding the config file

Hey guys I am trying to test the commit of napalm, but it is not able to finding the cfg file, I also tried to change to "txt", but the same error. Here my code: import napalm import json driver = napalm.get_network_driver("ios") device =…
JRH
  • 69
  • 3
  • 11
0
votes
0 answers

OSPF Between Compute Engine CSRs

I am trying to run OSPF between two CSRs in GCP Compute Engine. The CSRs are deployed in the same project and are only for testing purposes right now. I am not able to get OSPF to form between the routers and also not able to get a tunnel to form…
0
votes
2 answers

loop through a nested dictionary to connect in multiple vendor devices in Napalm

I have NAPALM install and working to get facts from a single device at a time. However i deviced to make things a bit different, now I am trying to use a nested dictionary to connect to my devices, but I am getting a error. import napalm from…
JRH
  • 69
  • 3
  • 11
0
votes
2 answers

How activate OSPF in a router Cisco-IOS-XE using RESTCONF?

I'm trying to activate OSPF routing protocol in a router using a python script with restconf. I send the request to this url https://(router ip)/restconf/data/Cisco-IOS-XE-ospf-native-router:10 but i get this return message: { …
0
votes
1 answer

Asyncio doesn't work as expected while I was trying to concurrently manage Cisco devices

I want to access two Cisco IOS switches (192.168.2.11 and 2.12) and get facts from them (with help of 'pyntc' library) concurrently using asyncio, I'm using Python 3.8.2. I did a test in another script WITHOUT using asyncio, it took 25 seconds in…
Parry Wang
  • 115
  • 8
0
votes
1 answer

Elevate to Privilege Level

When I am running this on Ansible on GNS3, I am getting this error. Can anyone please help me with this error? Hosts…
MUSR
  • 133
  • 1
  • 4
0
votes
1 answer

Juniper SRX 210 vlan interface configuration

Dears, Am new to networking and i need your help to solve one issue that i am facing while setting up vlan interface in juniper srx210 device MY-PC ---> Cisco 3750 -- > srx.210 ( vlan interface) root# show vlans MGMT { vlan-id 101; l3-interface…
salim ep
  • 35
  • 5
0
votes
1 answer

Is there a way to run a script of Cisco IOS commands?

use-case: Create a VPN on AWS to a Cisco CSR v1000 router, generate a sequence of commands based on AWS-generated values replacing tokens in a template, configure the router, then save the startup-config - all in a fully automated manner, from the…
mjcconsulting
  • 75
  • 1
  • 8
0
votes
2 answers

How to filter mac address

can someone help me, i am beginner in programming, my problem is in output i would just like only to filter the mac address. how can i do it. from netmiko import ConnectHandler cisco = { 'device_type' : 'cisco_ios', 'host' :…
mcaxi
  • 1
0
votes
1 answer

How to use the ansible module ios_l2_interfaces to loop through ios facts?

I want to loop through every interface on a Cisco IOS Switch and set a specific layer 2 configuration if the description matches a particular word (-ap- stands for accesspoint). This is the playbook: --- - name: Cisco Layer 2 Interface hosts:…
0
votes
1 answer

Ansible playbook for Mapping all Routers and Switches in the network using CDP Neighbor

Hello I need help with writing a play for finding all routers and switches in the network. Environment: Ansible 2.8 Python 2.7 Test network in eve-ng Router and Switches have ios Problem Statement: Start at the core switch and by using cdp…
cRAYonhere
  • 47
  • 1
  • 10
0
votes
1 answer

SMA390 RPC port not responding for public facing IP

I have been working on CISCO's SMA390 and the RPC port for the device is not responsive when connected to a core switch. 1. The core switch is for public-facing IP/ CIMC IP of the device. 2. The IP's are configured and using ipmitool command. 3. The…
0
votes
2 answers

how get the cisco switch interfaces' status by snmp?

By using command line(ssh), I can get switch interfaces status like below(just demo): Cisco-Switch# show int status Port Name Status Vlan Duplex Speed Eth0/1 test_alias connected 1 a-full …
Zander Wong
  • 639
  • 2
  • 8
  • 15
0
votes
1 answer

Unable to collect 'sh tech-support' from Cisco switch with paramiko exec_command

I have been trying to collect logs from Cisco switch. The below code works while collecting logs for small outputs like 'show version' etc. But the script hangs when trying to run tech-support. I have tried using timeout. It collects a small amount…
Ron
  • 1
0
votes
1 answer

Ansible Playbook save telnet show run command to a file syntax error

I am facing problems with the syntax of my Ansible playbook. I am trying to use show commands using ansible's telnet module, following this resource: https://docs.ansible.com/ansible/latest/modules/telnet_module.html#telnet-module It works fine but…
Zahra
  • 3
  • 1
  • 3