After completing this section, you be able to enable SNMP management and configure a read-only community with Ansible.
Ansible makes it easy to manage configuration of SNMP settings, including the community string and access restrictions.
The following task configures the community string for read-only access on an IOS device:
- name: set the RO community string
ios_config:
lines:
- snmp-server community {{ ro_community }} ROA similar configuration statement for VyOS is shown below:
- name: set the RO community string
vyos_config:
lines:
- set service snmp community {{ ro_community }} authorization roClick CREATE to build all of the virtual machines needed for the classroom lab environment. This may take several minutes to complete. Once created the environment can then be stopped and restarted to pause your experience.
If you DELETE your lab, you will remove all of the virtual machines in your classroom and lose all of your progress.