Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix snmp host syntax #1073

Merged
merged 1 commit into from
May 14, 2024
Merged

Fix snmp host syntax #1073

merged 1 commit into from
May 14, 2024

Conversation

roverflow
Copy link
Member

@roverflow roverflow commented May 13, 2024

SUMMARY

Fixes issue - #1071

cisco.ios.ios_snmp_server module is NOT applying commands correctly, so causing errors.

The correct way this command should be applied is:
snmp-server host 10.1.1.1 vrf Mgmt-intf version 3 priv test_user

But in the run the playbook it tries to run the command like this instead:
snmp-server host 10.1.1.1 version 3 priv vrf Mgmt-intf test_user

Fixed based on - cisco docs

Syntax:

snmp-server host {hostname | ip-address} [vrf vrf-name | informs | traps | version {1 | 2c | 3 [auth | noauth | priv]}] community-string [udp-port port [notification-type] | notification-type] 
ISSUE TYPE
  • Bugfix Pull Request

@roverflow roverflow merged commit 46108d0 into ansible-collections:main May 14, 2024
54 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants