• No results found

Introduction This chapter contains procedures that an administrator will perform when first installing the management system software. This chapter includes information on enabling the subnetwork management protocol (SNMP) on the management server:

Supported SNMP MIBs, page 2-21

Location of SNMP MIB File, page 2-21

Enable SNMP Agent, page 2-21

Configure the SNMP Access Control List, page 2-23

Ethernet Performance Monitoring and SNMP, page 2-24

Supported SNMP MIBs

The SNMP northbound interface implements the SNMP v1 protocol and maintains a proprietary MIB. The TransNav management system supports a subset of the following RFCs for alarm management and performance monitoring purposes:

RFC 2863 - the Interfaces Group MIB

RFC 2819 - Remote Network Monitoring Management Information Base

RFC 2665 - Definitions of Managed Objects for the Ethernet-like Interface Types Location of

SNMP MIB File

The proprietary SNMP MIB (filename=ems.mib) file is located in the same directory where you installed the server application.

Enable SNMP Agent

Use the following procedure to allow the management system to receive SNMP queries and forward system events.

Table 2-9 Enable SNMP Agent Components

Step Procedure

1 Start the server administration tool. See the procedure Start the Server Administration Tool, page 2-7.

2 If the server is running, stop the server. See the procedure Stop the Server, page 2-41.

TransNav Server Guide, Section 2: Management Server Procedures Enable SNMP Agent

3 From the Execution menu, click Configure Server, then click Parameter.

Figure 2-18 Configure Server

4 In the Configure Server dialog box, configure the SNMP Agent components.

Figure 2-19 Configure Server Dialog Box

Set the SnmpAgentEnable variable to TRUE.

Set the SnmpAgentSnmpAdaptorPort variable to the port on which the system receives requests; default is 7001.

Set the SnmpAgentSnmpTrapsPort variable to the port on which the system sends SNMP traps; default is 7002.

5 Click OK to save the changes and close the Execution Configuration dialog box.

6 Restart the server. See the procedure Start the Server, page 2-34.

7 Continue to the procedure Configure the SNMP Access Control List, page 2-23.

8 The Enable SNMP Agent Components procedure is complete.

Continue to the next procedure Configure the SNMP Access Control List, page 2-23.

Table 2-9 Enable SNMP Agent Components (continued)

Step Procedure

Chapter 2 Management Server SNMP Configure the SNMP Access Control List

Configure the SNMP Access Control List

The SNMP access control list (ACL) stores information on the access rights for SNMP communities and host machines.

The ACL mechanism also defines the communities and managers to which the SNMP agent will send traps. When you rely on the ACL trap group, the agent sends traps to all hosts listed in the ACL file.

Use the following procedure to help you configure the ACL file.

Table 2-10 Configure the SNMP Access Control List

Step Procedure

1 Start the server administration tool. See the procedure Start the Server Administration Tool, page 2-7.

2 If the server is running, stop the server. See the procedure Stop the Server, page 2-41.

3 From the Execution menu, click Configure SNMP.

Figure 2-20 Configure SNMP 4 The ACL file appears in a text editor window.

Figure 2-21 Edit the SNMP Access Control List Step 5

Step 6

Step 7

TransNav Server Guide, Section 2: Management Server Procedures Ethernet Performance Monitoring and SNMP

Ethernet Performance Monitoring and SNMP

The SNMP MIB supports performance data counters for the current day interval for every Ethernet interface in the TransNav-managed network.

The management server collects the performance data and allows third-party equipment to query these PM counters through the SNMP interface. The server refreshes the data after the time specified in the server parameter

SnmpCurrentCounterValidity (seconds). Default is 120 seconds.

The Ethernet Interface Index is created using the following algorithm:

SlotIndex * 10 000 000 + PortIndex * 100 000 where:

SlotIndex range is from 1 to 20 PortIndex range is from 1 to 50

Allocating 10,000,000 identifiers per slot allows SNMP to extend to lower layer interfaces but still provides the capability to manage more than 200 slots.

Ethernet Interfaces

The Ethernet current day table in the SNMP MIB maintains one entry per Ethernet interface in the TransNav-managed network. When SNMP is enabled, SNMP queries all nodes for all Ethernet interfaces and populates the Ethernet current day table. SNMP also updates the table when new Ethernet interfaces are created or deleted.

5 Edit the acl group:

communities: Specifies a list of SNMP community names to which this access control applies. If there is more than one community name, separate the communities by commas. Default is public, private.

access: Specifies the access rights to be granted to all connecting managers. There are two possible values: read-write or read-only.

Default is read-only.

managers: The IP addresses of the servers which can send SNMP requests. If there is more than one address, separate the list with commas.

6 Edit the trap group:

trap-community: The community string the SNMP component will use to send traps. The default value is public. This value cannot contain the word “trap.”

hosts: The IP addresses of the servers (separated by commas) to which the SNMP component will send traps.

7 Click Save, then Done to exit the text editor.

8 Restart the server. See the procedure Start the Server, page 2-34.

9 The Configure the SNMP Access Control List procedure is complete.

Table 2-10 Configure the SNMP Access Control List (continued)

Step Procedure

Chapter 2 Management Server SNMP Ethernet Performance Monitoring and SNMP

A new entry in the Ethernet current day table has performance data counters set to zero.

The counters are populated with real values from network elements only upon reception of a SNMP query.

Performance Data

The time is recorded every time a row in the table is updated. Each time SNMP queries a row’s counter, the current time is checked against the time the counter was updated. If the elapsed time is less than 120 seconds (the time specified in the

SNMPCurrentCounterValidity parameter), the data already recorded is returned to the SNMP request. Data is collected from the time the PM collection is enabled on unlocked objects. Only data through the last collection period is shown. For example, if the PM collection is set to occur every 15 minutes and the last period that data was collected ended 5 minutes previously, the data collected in the last 5 minutes will not be available until the next collection period.

When a counter’s data has to be refreshed, SNMP builds the list of ALL Ethernet interfaces collocated on the same node and sends ONE query to that node to refresh all the counters.

TransNav Server Guide, Section 2: Management Server Procedures Ethernet Performance Monitoring and SNMP

SECTION 2MANAGEMENT SERVER PROCEDURES

Chapter 3

Related documents