NetAppDocs / ontap-metrocluster

https://docs.netapp.com/us-en/ontap-metrocluster/
3 stars 13 forks source link

Adding SNMPv3 config steps for MetroCluster IP switches #314

Closed viktorpenev closed 9 months ago

viktorpenev commented 1 year ago

Page URL

https://docs.netapp.com/us-en/ontap-metrocluster/maintain/task_replace_an_ip_switch.html

Page title

Replace an IP switch or change the use of existing MetroCluster IP switches

Summary

Hi all,

This might not be the right page, but we might need to add additional steps on configuring SNMPv3 with MetroCluster IP switches.
I've found a burt, which has steps listed for different devices, but they still might have to be verified:

https://burtview.netapp.com/burts/1358228#Unit_Test_Plan_aclose_FriFeb1111:21:57EST2022

Setup the SNMPv3 user on the switch: (Items in parentheses are optional)

Public issues must not contain sensitive information

netapp-aoife commented 1 year ago

Hi @viktorpenev Thanks very much for raising this and for providing the inputs. I'll verify this and will let you know when the documentation has been updated.

viktorpenev commented 1 year ago

Quick update, there's this KB https://kb.netapp.com/onprem/Switches/Broadcom/How_to_setup_SNMPv3_monitoring_on_a_BES-53248_cluster_switch (but the burt in it is fixed) - steps might be easier to read here.

In the KB the snmp-group used already exist on the switch, but if it doesn't it has to be created separately. Something along the lines of:

  1. Setup the SNMPv3 user on the switch:

snmp-server user [USER] network-admin [auth-md5/auth-sha/noauth] "(AUTH-PASSWORD)" ( [priv-aes128/priv-des] "[PRIV-PASSWORD]" )

e.g. snmp-server user admin1 network-admin auth-md5 "netapp123" priv-des "netapp123"

  1. If the 'network-admin' user group doesn't exist, create it:

snmp-server group network-admin v3 auth read "Default"

show snmp group

  1. Setup the SNMPv3 user on ONTAP:

    > security login create -user-or-group-name [USER] -application snmp -authentication-method usm -remote-switch-ipaddress [IP]

  2. Configure SHM to monitor with the new SNMPv3 user:

    > system switch ethernet modify -device [DEVICE] -snmp-version SNMPv3 -community-or-username [USER]

But this is just for BES switches. I could probably test with Cisco as well if needed, but I don't have access to any systems with SN2100.

Thanks!

netapp-aoife commented 9 months ago

Hi @viktorpenev thanks for raising this issue. This has now been addressed in the documentation here: https://docs.netapp.com/us-en/ontap-metrocluster/install-ip/task_config_switch_health.html