
278
SNMP Configuration
•
Setting basic system information (Required)
•
Setting access community information (Required)
•
Setting allowed host information (Required)
•
Specifying the default SNMP trap target (Optional)
•
Displaying SNMP related information (Optional)
28.6 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 SmartNode 1000 and 2000 series device 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 SmartNode,
together with information on how to contact that person.
Assigning explanatory location information to describe the system physical location of your
SmartNode (e.g. server room, wiring closet, 3rd floor, etc.) is very supportive. Such an entry
corresponds to the MIB II system sysLocation 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.
Procedure
To set these MIB-II system group objects
Mode
Administrator execution
Command
Purpose
Step 1
node
(cfg)#system contact
name
Sets the contact persons name
Step 2
node
(cfg)#system location
location
Sets the system location
Step 3
node
(cfg)#system hostname
hostname
Sets the system hostname and
command line prompt
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 Ethernet port over which the SmartNode is accessed via Telnet, is replaced with the hostname.
Software Configuration Guide, Revision 1.03
The MIB-II system group values are accessible for reading and writing via the following SNMP
objects: