Shiva Logo

SNMP: Overview

The Simple Network Management Protocol (SNMP) is a request/response protocol that communicates management information between two types of SNMP software entities: applications and agents.

For more information, see the following topics:

Applications

Agents

SNMP Transport Protocols

SNMP Communities

Security

Access to a Shiva Device

Maintaining Management Information

Automatic Event Notification

Administrative Information

Applications

SNMP applications (also called managers) run in a network management center. The applications issue queries to get information about the status, configuration, and performance of external network devices. In SNMP terminology, these devices are called network elements.

Queries in SNMP consist of the variable identifiers and instructions either to get the value for the identifier or set the identifier to a new value. The variable identifiers are referred to as Management Information Base (MIB) object identifiers or variables.

Agents

SNMP agent software runs in network elements (for example, in the LanRover Access Switch or LanRover D/56) and responds to SNMP requests for information from the network management tools. Agent software also sends unsolicited reports (called traps) back to the network management center when certain activities occur, such as link connections going down, authentication failures, accountant server time-outs, T1 lines going into red or yellow alerts, and Digital Modem Card (DMC) modems going down.

SNMP Transport Protocols

Shiva devices implement SNMP over the Internet Protocol (IP), the Internetwork Packet Exchange (IPX) protocol (per RFC 1420), and the AppleTalk protocol (per RFC 1419).

SNMP Communities

An SNMP community is a group of managed devices and network management systems within the same administrative domain. Each Shiva device supports an SNMP community table that enables you to control SNMP access to the device. The SNMP community table lists all SNMP communities and their access levels that are supported on the Shiva device. In practice, the SNMP communities act like passwords, providing certain levels of MIB access.

When the Shiva device receives an SNMP request packet, it compares the SNMP community name in the packet with those in its SNMP community table. If the name is not found, the request is denied and an error is returned.

If the name is found, the associated access level is checked and, if the access level allows the request, the request is performed.

By default, Shiva devices support the following SNMP communities (and their privileges):

  • Public (read-only access)

  • Private (read and clear statistics)

  • Admin (read and write capabilities)

  • Proxy (read-only access)

Note: For IP, write capability is restricted to the trusted host. A trusted host is a computer that is configured with SNMP write capabilities for a device. All IP SNMP requests coming from anywhere other than the trusted host can be restricted to read-only access. SNMP over IPX and AppleTalk is always restricted to read-only access.

Security

For security reasons, the SNMP agent validates each request from an application before responding to the request. The validation procedure consists of verifying that the application entity belongs to an SNMP community with access privileges to the agent. For example, a management station attempts an SNMP set operation to a given Shiva device using a community string (for example, «Shiva»). If the Shiva device has that community in its community table with access privileges of read-write, the operation succeeds.

Access privileges range from NO ACCESS (members of the community cannot view management information on the network element) to READ/WRITE access (members of the community can view and change management information on the network element). (Members of a community are management stations that know about the community string and any devices offering access to that community string.)

All message exchanges have an SNMP community name and a data field. The data field contains the SNMP operation and its associated operands.

You can only configure the agent to receive requests from, and send responses to, managers that are members of a known community. If the agent knows the community name in the SNMP message, then the agent considers the message to be authentic and gives it the access allowed for members of that community. This is how the community prevents unauthorized managers from viewing or changing the configuration of a network element running the agent.

Access to a Shiva Device

Shiva devices support an SNMP community table. This table lists all the communities and their access levels that are supported on each device. In practice, the communities behave like passwords, providing certain levels of MIB access.

When the Shiva device receives an SNMP request packet, it compares the community name in the packet with the names it finds in its community table. If the name is not found, the request is denied and an error is returned.

If the name is found, the associated access level is verified, and if the access level corresponds to the request, it is accepted.

Maintaining Management Information

SNMP management information on the network element is maintained in a Management Information Base (MIB). The MIB is an extensive collection of configuration and performance information about the network element. Each piece of information in the MIB is called a MIB variable.

The SNMP application issues commands to MIB variables to receive information about their status or to change information about them:

  • The application issues SNMP get commands to retrieve configuration and performance information from the network element.

  • The application issues set commands to change certain configuration information and to reset statistics (performance information) on the network element.

Automatic Event Notification

SNMP uses trap messages to provide automatic event notification. Rather than waiting for the SNMP application to query the agent about the event, the agent automatically sends reports (traps) to the application when certain events occur.

You can configure the agent software on a Shiva device to send traps to a specific host. (Only one host on the network can receive automatic event notification.) The host that receives the traps is called the SNMP trap host; it can be an IP or an IPX workstation.

Note: The network administrator should be aware that trap messages are not guaranteed to be reliable and are not intended to replace polling, only to supplement it. The trap messages require a certain amount of the SNMP agent's resources. Occasionally, trap messages are not delivered due to a lack of these SNMP agent resources. Traps should only be considered hints to the management application that a significant event has occurred in the Shiva device. The network administrator should then run polling to get more information on the event.

Administrative Information

Shiva devices support SNMP administrative parameters (such as name, location, and support contact) for display purposes by most SNMP applications. This administrative information helps an SNMP management or monitoring application identify the Shiva device.

Related Information

Network Management

SNMP: Management Information Bases

SNMP: Message Format

Message Format of SNMP Traps

[ Top of Page... ]

[ Back to Shiva Configurator Directory ]