All Projects → ansible-collections → cisco.ios

ansible-collections / cisco.ios

Licence: GPL-3.0 license
Ansible Network Collection for Cisco IOS

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to cisco.ios

pyats-sample-scripts
Various pyATS-based Test Automation Scripts
Stars: ✭ 79 (-60.89%)
Mutual labels:  cisco, cisco-ios
notes
CCIE routing and switching notes and references, with a general directory and specific topic directories.
Stars: ✭ 23 (-88.61%)
Mutual labels:  cisco, cisco-ios
Network-Automation
Cisco ACI, Firepower, Meraki, NETCONF, and SQL Python Programs
Stars: ✭ 47 (-76.73%)
Mutual labels:  cisco, cisco-ios
cisco-cheatsheet
A Cisco Cheatsheet: Commands and Snippets for bootstrapping, boilerplate, configuration, and hardening of Cisco routers and switches.
Stars: ✭ 66 (-67.33%)
Mutual labels:  cisco, cisco-ios
genielibs
genie.libs contains libraries for configuring, retrieving and testing topologies
Stars: ✭ 80 (-60.4%)
Mutual labels:  cisco, cisco-ios
cisco-ansible-lan-switching
Automate Cisco LAN Switching Configuration using Ansible
Stars: ✭ 13 (-93.56%)
Mutual labels:  cisco
solutions examples
pyATS example solutions for NetDevOps use cases
Stars: ✭ 59 (-70.79%)
Mutual labels:  cisco
panoptes-stream
A cloud native distributed streaming network telemetry.
Stars: ✭ 34 (-83.17%)
Mutual labels:  cisco
aci-learning-labs-code-samples
No description or website provided.
Stars: ✭ 21 (-89.6%)
Mutual labels:  cisco
cicd-howto
A short howto-guide for implementing CI/CD for Cisco NSO using gitlab
Stars: ✭ 19 (-90.59%)
Mutual labels:  cisco
xrgrpc
gRPC library for Cisco IOS XR
Stars: ✭ 40 (-80.2%)
Mutual labels:  cisco
Cisco2Checkpoint
Tool that assists in migrating firewall rules from Cisco to Checkpoint. Will optimize rules for you (rationalization, reuse merging, etc.).
Stars: ✭ 19 (-90.59%)
Mutual labels:  cisco
wcae
WCAE Troubleshooting tool
Stars: ✭ 25 (-87.62%)
Mutual labels:  cisco
merlin
Network Magic: Transforming the CLI and REST API using Infrastructure As Code automation
Stars: ✭ 50 (-75.25%)
Mutual labels:  cisco
ciscoisesdk
Cisco Identity Services Engine Platform SDK for Python
Stars: ✭ 34 (-83.17%)
Mutual labels:  cisco
ishell
Create shell environments with Python
Stars: ✭ 70 (-65.35%)
Mutual labels:  cisco
vrnetlab
Run virtual routers with docker
Stars: ✭ 879 (+335.15%)
Mutual labels:  cisco
fireREST
Python library for interacting with Cisco Firepower Management Center REST API
Stars: ✭ 47 (-76.73%)
Mutual labels:  cisco
ciscoaxl
Python SDK for Cisco CUCM AXL API
Stars: ✭ 51 (-74.75%)
Mutual labels:  cisco
netcrawl
Netcrawl is a tool designed to discover and poll one or more devices, inventory them, and then provide useful data on the processed devices.
Stars: ✭ 49 (-75.74%)
Mutual labels:  cisco

Cisco IOS Collection

CI Codecov

The Ansible Cisco IOS collection includes a variety of Ansible content to help automate the management of Cisco IOS and Cisco IOS XE network appliances.

This collection has been tested against Cisco IOS XE Version 17.3 on CML.

Ansible version compatibility

This collection has been tested against following Ansible versions: >=2.9.10.

For collections that support Ansible 2.9, please ensure you update your network_os to use the fully qualified collection name (for example, cisco.ios.ios). Plugins and modules within a collection may be tested with only specific Ansible versions. A collection may contain metadata that identifies these versions. PEP440 is the schema used to describe the versions of Ansible.

Supported connections

The Cisco IOS collection supports network_cli connections.

Included content

Cliconf plugins

Name Description
cisco.ios.ios Use ios cliconf to run command on Cisco IOS platform

Modules

Name Description
cisco.ios.ios_acl_interfaces Resource module to configure ACL interfaces.
cisco.ios.ios_acls Resource module to configure ACLs.
cisco.ios.ios_banner Module to configure multiline banners.
cisco.ios.ios_bgp Module to configure BGP protocol settings.
cisco.ios.ios_bgp_address_family Resource module to configure BGP Address family.
cisco.ios.ios_bgp_global Resource module to configure BGP.
cisco.ios.ios_command Module to run commands on remote devices.
cisco.ios.ios_config Module to manage configuration sections.
cisco.ios.ios_facts Module to collect facts from remote devices.
cisco.ios.ios_hostname Resource module to configure hostname.
cisco.ios.ios_interfaces Resource module to configure interfaces.
cisco.ios.ios_l2_interfaces Resource Module to configure L2 interfaces.
cisco.ios.ios_l3_interfaces Resource module to configure L3 interfaces.
cisco.ios.ios_lacp Resource module to configure LACP.
cisco.ios.ios_lacp_interfaces Resource module to configure LACP interfaces.
cisco.ios.ios_lag_interfaces Resource module to configure LAG interfaces.
cisco.ios.ios_linkagg Module to configure link aggregation groups.
cisco.ios.ios_lldp (deprecated, removed after 2024-06-01) Manage LLDP configuration on Cisco IOS network devices.
cisco.ios.ios_lldp_global Resource module to configure LLDP.
cisco.ios.ios_lldp_interfaces Resource module to configure LLDP interfaces.
cisco.ios.ios_logging (deprecated, removed after 2023-06-01) Manage logging on network devices
cisco.ios.ios_logging_global Resource module to configure logging.
cisco.ios.ios_ntp (deprecated, removed after 2024-01-01) Manages core NTP configuration.
cisco.ios.ios_ntp_global Resource module to configure NTP.
cisco.ios.ios_ospf_interfaces Resource module to configure OSPF interfaces.
cisco.ios.ios_ospfv2 Resource module to configure OSPFv2.
cisco.ios.ios_ospfv3 Resource module to configure OSPFv3.
cisco.ios.ios_ping Tests reachability using ping from IOS switch.
cisco.ios.ios_prefix_lists Resource module to configure prefix lists.
cisco.ios.ios_route_maps Resource module to configure route maps.
cisco.ios.ios_snmp_server Resource module to configure snmp server.
cisco.ios.ios_static_routes Resource module to configure static routes.
cisco.ios.ios_system Module to manage the system attributes.
cisco.ios.ios_user Module to manage the aggregates of local users.
cisco.ios.ios_vlans Resource module to configure VLANs.
cisco.ios.ios_vrf Module to configure VRF definitions.

Installing this collection

You can install the Cisco IOS collection with the Ansible Galaxy CLI:

ansible-galaxy collection install cisco.ios

You can also include it in a requirements.yml file and install it with ansible-galaxy collection install -r requirements.yml, using the format:

---
collections:
  - name: cisco.ios

Using this collection

This collection includes network resource modules.

Using modules from the Cisco IOS collection in your playbooks

You can call modules by their Fully Qualified Collection Namespace (FQCN), such as cisco.ios.ios_l2_interfaces. The following example task replaces configuration changes in the existing configuration on a Cisco IOS network device, using the FQCN:

---
- name: Replace device configuration of specified L2 interfaces with provided configuration.
  cisco.ios.ios_l2_interfaces:
    config:
      - name: GigabitEthernet0/2
        trunk:
          - allowed_vlans: 20-25,40
            native_vlan: 20
            pruning_vlans: 10
            encapsulation: isl
    state: replaced

NOTE: For Ansible 2.9, you may not see deprecation warnings when you run your playbooks with this collection. Use this documentation to track when a module is deprecated.

See Also:

Contributing to this collection

We welcome community contributions to this collection. If you find problems, please open an issue or create a PR against the Cisco IOS collection repository. See Contributing to Ansible-maintained collections for complete details.

You can also join us on:

See the Ansible Community Guide for details on contributing to Ansible.

Code of Conduct

This collection follows the Ansible project's Code of Conduct. Please read and familiarize yourself with this document.

Release notes

Release notes are available here.

Roadmap

More information

Licensing

GNU General Public License v3.0 or later.

See LICENSE to see the full text.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].