
Setting basic system information
229
IPLink Software Configuration Guide
20 • SNMP configuration
Setting basic system information
The implementation of the MIB-II system group is mandatory for all systems. By default, an SNMP agent is
configured to have a value for any of these variables and responds to get commands from a NMS.
On the IPLink devices appropriate values should be set for the following MIB-II system group objects:
•
sysContact
•
sysLocation
•
sysName
The system sysContact object is used to define the contact person for this managed IPLink, together with
information on how to contact that person.
Assigning explanatory location information to describe the system physical location of your IPLink (e.g. server
room, wiring closet, 3rd floor, etc.) is very supportive. Such an entry corresponds to the MIB II system sysLo-
cation object.
The name used for sysName should follow the rules for ARPANET host names. Names must start with a letter,
end with a letter or digit, and have as interior characters only letters, digits, and hyphens. Names must be 63
characters or fewer. For more information, refer to RFC 1035.
This procedure describes how to set these MIB-II system group objects
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.
After setting a hostname the prompt of the command line, normally representing the IP address of the Ether-
net port over which the IPLink is accessed via Telnet, is replaced with the hostname.
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 35
.
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