cisco / cisco.nxos / 7.0.0 / module / nxos_snmp_community
Removed in None
Reason:Updated modules released with more functionality | Alternative:nxos_snmp_server
(deprecated, removed after 2024-01-01) Manages SNMP community configs.
| "added in version" 1.0.0 of cisco.nxos"
Authors: Jason Edelman (@jedelman8), Gabriele Gerbino (@GGabriele)
Install with ansible-galaxy collection install cisco.nxos:==7.0.0
collections: - name: cisco.nxos version: 7.0.0
Manages SNMP community configuration.
# ensure snmp community is configured - cisco.nxos.nxos_snmp_community: community: TESTING7 group: network-operator state: present
acl: description: - ACL name to filter snmp requests or keyword 'default'. type: str group: description: - Group to which the community belongs. type: str state: choices: - present - absent default: present description: - Manage the state of the resource. type: str access: choices: - ro - rw description: - Access type for community. type: str community: description: - Case-sensitive community string. required: true type: str
commands: description: commands sent to the device returned: always sample: - snmp-server community TESTING7 group network-operator type: list