How do I create a default SNMPv2 OmniSwitch user?

CAUTION 

CAUTION

Service Disruption

Modifying the server configuration can have serious consequences including service disruption.

Contact technical support before you attempt to modify the server configuration.

Note: You must perform the procedure on each main server in the NFM-P system.

Note: In a redundant system, you must perform the procedure on the standby main server station first.

Steps
 

Log in to the main server station as the nsp user.


Open a console window.


Navigate to the /opt/nsp/nfmp/server/nms/config directory.


Create a backup copy of the nms-server.xml file.


Open the nms-server.xml file using a plain-text editor.


Locate the section that begins with following XML tag:

<snmp


Insert the following before the section end, which is marked by a /> tag:

snmpV2UserName=”username

where username is a user name that is configured on the OmniSwitch

Note: If the inserted text and end tag are on the same line, you must include a space between the text and the end tag.

The section now reads as follows:

<snmp

ip="IPv4_address"

port="nnnnn"

ipv6="IPv6_address"

msgMaxSize="nnnn"

natEnabled="value"

trapLogId="nn"

snmpV2UserName="username" >


Save and close the nms-server.xml file.


On a standalone main server, or the primary main server in a redundant system, enter the following:

bash$ /opt/nsp/nfmp/server/nms/bin/nmsserver.bash read_config ↵

The NFM-P puts the configuration change into effect.


10 

Close the console window.

End of steps