13.10.2  

SNMP functions 
 

13.10.2.1  

Introduction 
As part of the TCP/IP protocol family, the Simple Network Management Protocol (SNMP) is an easy-to-use platform for performing management tasks in the HiPath 3000/5000 system software. SNMP is used as a kind of management agent in HiPath 3000/5000, making it possible to monitor and administer LAN components (including HiPath 3000/5000 itself) from a central location. It is possible to
 •   addressing HiPath 3000/5000 via the TCP/IP protocol family.
 •   external management applications, such as HP Open View and IBM Tivoli, to access data in HiPath 3000/5000 (using SNMP messages, such as GET, SET, TRAP).
 •   implementing remote maintenance tasks (online port status, enabling and disabling ports, determining free ports) (HiPath Fault Management)
 •   transmit service-related Class B errors.
 •   visualizing the operating status of HiPath 3000/5000 systems.

13.10.2.2  

Overview of SNMP Functions 

Management Information Bases (MIBs)  
MIBs define the volume of data that can be administered via SNMP. They are data models that describe the network elements to be administered in a very specific form.
HiPath 3000/5000 supports
 •   standard MIB II (according to the RFC1213 Internet standard), which provides Internet and router functions;
 •   parts of the RMON 1/2 standard MIBs (RFC 1757, RFC 2021), which support
   -   Error history
   -   Trap configuration
   -   TFTP configuration
   -   General system information
 •   a user-specific MIB that processes HiPath-specific statistic data (feature counters) and internal error messages (error history), covering the following areas:
   -   ControlGroup - status variables, general configuration, supplementary TFTP configuration data
   -   SystemInfoGroup - system configuration and status
   -   StatisticsGroup - statistic data on features
   -   ErrorHistoryGroup - Error history in HiPath format
Error messages are forwarded in the form of SNMP traps via the LAN to a specific external management application. The SNMP traps form the error history data structure (time stamp, error class, error description).
These components use the IP protocol according to OSI layer 3 and the UDP protocol according to layer 4. The SNMP protocol stack uses port numbers. The system supports the SNMP protocol version 1.0.

SNMP Messages  
The following commands control SNMP messages for communication between the SNMP management agent (HiPath 3000/5000) and external applications:
 •   GET - retrieve data from agent
 •   GET NEXT - read out data sequentially
 •   SET - write data
 •   TRAP - alarm messages issued by the SNMP agent
There is an integrated mechanism for generating SNMP traps in the event of class B errors. The SNMP management agent evaluates the error messages. In the case of defined errors, it generates specific traps and transmits them in the form of IP data records to a configurable IP address (a total of five SNMP V1.0-compatible applications are supported, including HP Open View Network Node Manager for example).

13.10.2.3  

Using SNMP 
An MIB browser (available with Hewlett-Packard's "Network Node Managers") is required for using SNMP functionality.

SNMP traps  

 Table 13-6   Generic SNMP Traps (MIB-2)
Trap  
COLD START  
WARM START  
INTERFACE UP  
INTERFACE DOWN  
AUTHENTICATION ERROR (incorrect SNMP community name)  
The following HG 1500-specific trap classes are available:
 •   General traps
 •   Reboot traps
 •   Threshold/statistic, resource/diagnostic traps,
 •   Security traps
 •   License traps
 •   Traps for internal errors
The following tables list the individual traps for each of these classes. A distinction is made under "Type" between hardware traps (HW) and software traps (SW).

 Table 13-7   General Traps (HG 1500-Specific)
Type
(SW/HW)  
Trap Message  
Description  
SW  
MSG_GW_SUCCESSFULLY_STARTED  
Gateway successfully started  

 Table 13-8   Reboot Traps (HG 1500-Specific)
Type
(SW/HW)  
Trap Message  
Description  
SW  
MSG_CAT_H323_REBOOT  
Reboot with H.323  
SW  
MSG_CAT_HSA_REBOOT  
Reboot with HSA  
SW  
MSG_ADMIN_REBOOT  
Reboot with WBM/CLI-Admin,
software upgrade or data restore  
SW  
MSG_SYSTEM_REBOOT  
Automatic reboot, for example with Garbage Collection  
SW  
MSG_EXCEPTION_REBOOT  
Reboot with SW exception  
SW  
ASSERTION_FAILED_EVENT  
Reboot following declared exception  
SW  
EXIT_REBOOT_EVENT  
Reboot following exception on termination  
HW  
MSG_DSP_REBOOT  
Reboot following DSP error  
HW  
MSG_DELIC_ERROR  
Reboot following DELIC error  

 Table 13-9   Threshold/Statistic, Resource/Diagnostic Traps (HG 1500-Specific)
Type
(SW/HW)  
Trap Message  
Description  
HW  
MSG_IP_LINK_FAILURE  
IP-Link 1 up/down  
HW  
MSG_IP_LINK2_FAILURE  
IP Link 2 up/down  
HW  
MSG_OAM_HIGH_TEMPERATURE_EXCEPTION  
Temperature limit reached (too hot)  
SW  
MSG_GW_OBJ_MEMORY_EXHAUSTED  
Out of memory  
SW  
MSG_GW_OBJ_ALLOC_FAILED  
Out of memory (signaled by external source)  
SW  
MSG_GW_OBJ_MEMORY_INCONSISTENT  
Memory inconsistency  
SW  
MSG_TLS_POOL_SIZE_EXCEEDED  
No more internal pools  
SW  
MSG_OAM_RAM_THRESHOLD_REACHED  
RAM limit reached  
SW  
MSG_OAM_DMA_RAM_THRESHOLD_REACHED  
DRAM limit reached  
SW  
MSG_OAM_THRESHOLD_REACHED  
Limit reached, for example, for flash memory or IP pools  
SW  
MSG_DVMGR_LAYER2_SERVICE_TRAP  
B channel up/down  

 Table 13-10   Security Traps (HG 1500-Specific)
Type
(SW/HW)  
Trap Message  
Description  
SW  
MSG_HACKER_ON_SNMP_PORT_TRAP  
Unauthorized access to SNMP port  

 Table 13-11   License Traps (HG 1500-Specific)
Type
(SW/HW)  
Trap Message  
Description  
SW  
MSG_LIC_DATA_ACCEPTED  
License data accepted  
SW  
MSG_LIC_DATA_CORRUPTED  
License data incomplete  
SW  
MSG_LIC_DATA_NOT_ACCEPTED  
License data not accepted  

 Table 13-12   Traps for Internal Errors (HG 1500-Specific)
Type
(SW/HW)  
Trap Message  
SW  
MSG_WEBSERVER_MAJOR_ERROR  
SW  
MSG_SSM_NUM_OF_CALL_LEGS_2BIG  
SW  
MSG_SSM_SESSION_CREATION_FAILED  
SW  
MSG_IPNCV_STARTUP_ERROR  
SW  
MSG_IPNCV_STARTUP_SHUTDOWN  
SW  
MSG_IPNCV_INTERNAL_ERROR  
SW  
MSG_IPNCV_MEMORY_ERROR  
SW  
MSG_IPNCV_SIGNALING_ERROR  
The weighting of the individual traps can vary depending on the severity of the event or error and is described by the following categories:
 •   Cleared (problem already resolved)
 •   Indeterminate (no classification possible)
 •   Critical (critical error)
 •   Major (major error)
 •   Minor (minor error)
 •   Warning (warning only)
 •   Information (for information only)
General traps, such as MSG_GW_SUCCESSFULLY_STARTED, are sent as "information".
Reboot traps are always "critical", "major" or "minor" errors.
Threshold/resource traps occur as follows: When an event is received, the trap is sent as either "Warning", "Minor" or "Major". If the trap recurs, reminders are sent (at increasing intervals) with a weighting that is at least the same or higher than the initial trap. If the event was corrected (for example, "Link up" or sufficient RAM was provided), the trap is sent with the category "Cleared".

SNMP Functions  
The SNMP functions include:
 •   With MIB browser and standard MIB (based on RFC1213):
   -   querying and modifying standard MIB 2 parameters
 •   With MIB browser and private MIB:
   -   querying and modifying HG 1500's private MIB parameters
 •   With HiPath 3000 Manager E:
   -   defining communities of standard parameters (classes of service)
   -   defining trap communities and stations to which the traps are sent
   -   defining the trap level for various trap groups (error sensitivity)
 •   With trap receiver:
   -   receiving traps
MIBs also contain a brief commentary explaining the meaning of each parameter.
The following is a list of some parameters:
 •   mgmt > mib-2 > system > sysUpTime: time since the last HG 1500 startup
 •   mgmt->mib-2->ip->ipRouteTable: HG 1500 routing table
HG 1500 sends SNMP traps (diagnostic and error messages) to the stations configured under "SNMP > Trap Communities". These messages are transmitted in accordance with the severity levels set under "SNMP".
Examples of traps generated by HG 1500:
 1.   Generic traps (cannot be deactivated):
   •  warm start
   •  cold start
   •  authentication failure
 2.   Enterprise traps (can be configured)
   •  data init (WARNING - forced data reinitialization)
   •  memory low (WARNING - memory resources below the threshold)
   •  duplicate mac (MINOR - duplicated MAC address)
   •  ip firewall (WARNING - IP firewall violation)
   •  mac firewall (WARNING - MAC firewall violation)
   •  isdn access (WARNING - ISDN access verification)
SNMP information can also be sent as e-mail to a mail address configured with the WBM.