How do I create a default SNMPv2 OmniSwitch user?
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
1 |
Log in to the main server station as the nsp user. |
2 |
Open a console window. |
3 |
Navigate to the /opt/nsp/nfmp/server/nms/config directory. |
4 |
Create a backup copy of the nms-server.xml file. |
5 |
Open the nms-server.xml file using a plain-text editor. |
6 |
Locate the section that begins with following XML tag: <snmp |
7 |
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" > |
8 |
Save and close the nms-server.xml file. |
9 |
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 |