Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Here is an example which would utilize a variable with name "snmp_community" to create an SNMPv2 community on MikroTik RouterOS:

Code Block
languagetext
 //snmp community
add security=none write-access=no name=${snmp_community}

Alternatively, here is an example of creating a user on Cisco IOS, where the password for the user is read from a device variable:

...