Verify SNMP configuration

For this challenge we will verify the existing configuration on the Cisco

Modules

  • Modules do the actual work in Ansible, they are what gets executed in each playbook task.

    • Typically written in Python (but not limited to it)

    • Modules can be idempotent

    • Modules take user input in the form of parameters

      picture of task

Network modules

  • Ansible modules for network automation typically references the vendor OS followed by the module name.

    • namespace.collection.facts

    • namespace.collection.command

    • namespace.collection.config

    • namespace.collection.resource

  • Examples of network vendors:

    • Arista EOS = arista.eos

    • Cisco IOS/IOS-XE = cisco.ios

    • Cisco NX-OS = cisco.nxos

    • Cisco IOS-XR = cisco.iosxr

    • F5 BIG-IP = f5networks.f5_bigip_bigip

    • Juniper Junos = junipsnetworks.junos

    • VyOS = vyos.vyos

  • Network Automation Module

    resrouce modules slide
  • Network Automation Module

    resrouce modules slide2

Lets get started

That is the end of of your lab briefing!

Step 1 - Verify SNMP configuration

Login to an Cisco IOS router and verify the current SNMP configuration.

  • From the terminal, you can ssh cisco and type enable

    ssh cisco
  • Use the command show snmp to examine the SNMP configuration (SNMP should say agent not available):

    show snmp
    It will show output similar to the following:
    %SNMP agent not enabled
  • Use the show run | s snmp to examine the SNMP running-configuration on the Cisco device. When running this command expect no output as there is no running SNMP configuration.

    show run | s snmp
    It will show output similar to the following:
    cisco#
  • Exit the router CLI to complete the challenge.

    exit