The Model S20 software includes an SNMP agent, a software module that responds to SNMP requests. To manage a 7318 using SNMP, you will need a third-party SNMP manager, a program that generates SNMP requests.
The Model S20 SNMP agent supports MIB-II (Management Information Base) as described in RFC 1213 (a document publicly distributed on the Internet). In addition to MIB-II, it supports three additional MIBs:
These MIBs define the most common requests to the 7318, namely to the ports on the 7318.
Note: Any configuration changes made with an SNMP manager will be temporary changes. To make permanent configuration changes, you need to modify the configuration file that gets downloaded when the 7318 boots.
Some of the MIB variables such as the system location are blank in the default configuration file. To return meaningful values for these variables, you need to add them to the [SNMP] section of the configuration file.
The default configuration file allows you to use SNMP to get variables from the 7318 using the public community. To add communities or modify the access rights of public community, you need to modify the configuration file.
Finally, the Model S20 software will issue certain SNMP traps. It will only do so, however, if the target managers are listed in the configuration file.
The following information describes how to update the configuration file with SNMP-related information (such as system variables, communities, and traps).
Certain information is normally provided by all SNMP-managed devices, such as their description. Default values for some of these items are computed by the system. Other values such as the location are blank by default. You can override these values by specifying values in the SNMP section of the configuration file. The values that you can override are shown in the following table:
SNMP Configuration Values | |||
Entry | Value | Default | Description |
sysDescr | string | 7318 S20 software versions n.n.n | Describes the device. The version number n.n.n is the current version of the software. |
sysObject | string | Specifies unique ID for the S20 product. | |
sysContact | string | Specifies name of the contact person. | |
sysName | string | Default configuration file | Specifies full domain name of the device. |
sysLocation | string | Specifies the devices's physical location. | |
sysServices | number | 72 | Defines the services offered by the device. |
The following procedure provides an example of how to set these variables:
To define the contact who administers a 7318:
sysContact=Jack Smith, Room 327, Ext. 123
Rudimentary security for SNMP is provided by the use of communities. You can use the configuration file to specify what managers the Model S20 agent will respond to and whether the manager can modify the 7318 configuration (temporarily) or only read it. The default configuration file provides read-only access to all managers in the public community.
ncommunities=2
[Community01]
name=private mgrAddress=192.132.4.3 access=readWriteThe name is the name of the community. The mgrAddress is the Internet address of manager node in dotted decimal notation or 0.0.0.0 to accept any manager in this community. The access type is read to allow the manager to get SNMP variables only, readWrite to allow the manager to get and set variables, or none to disable access for this manager.
The Model S20 SNMP agent has the ability to issue SNMP traps in response to system events. An SNMP trap is a datagram from the S20 agent to an SNMP manager indicating that some event on the 7318 has occurred. The agent will only send these traps, however, to managers that are listed in the configuration file.
The following traps are issued by the S20 SNMP agent:
Trap Name | Event Description |
---|---|
coldStart | Issued when the 7318 comes online or reboots. |
authenticationFailure | Issued when an SNMP request is received from an unsupported community or host. |
Each manager who is sent traps is listed in a separate section of the configuration file. The number of these trap sections is defined by the ntraps entry in the [SNMP] section.
To send traps to a new manager:
ntraps=2
[Trap01]
name=private mgrAddress=192.132.4.3 port=162The name is the name of the community. The mgrAddress is the Internet address of manager node in dotted decimal notation or 255.255.255.255 to broadcast to all managers in this community. The port is the UDP port where the trap is to be sent. It is optional and defaults to 162.