Setting basic system information
224
SmartWare Software Configuration Guide
19 • SNMP configuration
Mode:
Administrator execution
If any of the command options name, location, or hostname has to be formed out of more than one word, the
information is put in “double quotes”.
Note
Enter an empty string “” to get rid of any of the system settings.
The MIB-II system group values are accessible for reading and writing via the following SNMP objects:
•
.iso.org.dod.internet.mgmt.mib-2.system.sysContact
•
.iso.org.dod.internet.mgmt.mib-2.system.sysName
•
.iso.org.dod.internet.mgmt.mib-2.system.sysLocation
After setting these values according to 1 through 3 any SNMP MIB browser application should read the values
using a
get
or
get-next
command as shown in
figure 34
.
The procedure to use the SNMP MIB browser is:
•
Enter the community string
public
into the Community field in the upper right corner of the window. For
safety reasons each entered character is displayed with a “*”.
•
Access any of the supported MIB system group object by using the
GetNext
button from the button bar of
the window.
Step
Command
Purpose
1
node(cfg)#system contact
name
Sets the contact persons name
2
node(cfg)#system location
location
Sets the system location
3
node(cfg)#system hostname
hostname Sets the system hostname and command line prompt