...
Here is an example which would utilize a variable with name "snmp_community" to create an SNMPv2 community on MikroTik RouterOS:
Code Block | ||
---|---|---|
| ||
//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:
...