0% found this document useful (0 votes)
12 views9 pages

SNMP Network Management Explained

The document provides an overview of network management, focusing on the Simple Network Management Protocol (SNMP) and its components, including configuration, fault, performance, security, and accounting management. It explains the roles of managers and agents in SNMP, the Structure of Management Information (SMI), and the Management Information Base (MIB), detailing how they facilitate network monitoring and management. Additionally, it outlines the different types of packets exchanged in SNMP version 3 for effective communication between managers and agents.

Uploaded by

Aiman Fatima
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
12 views9 pages

SNMP Network Management Explained

The document provides an overview of network management, focusing on the Simple Network Management Protocol (SNMP) and its components, including configuration, fault, performance, security, and accounting management. It explains the roles of managers and agents in SNMP, the Structure of Management Information (SMI), and the Management Information Base (MIB), detailing how they facilitate network monitoring and management. Additionally, it outlines the different types of packets exchanged in SNMP version 3 for effective communication between managers and agents.

Uploaded by

Aiman Fatima
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

NETWORK MANAGEMENT: SNMP

Network Management can be defined as monitoring, testing, configuring and


troubleshooting network components to meet a set of requirements defined

by an organization.
Functions of Network Management System
Network Management System can be divided into five broad categories:
Configuration Management
• A large network is usually made up of hundreds of entities that are
physically or logically connected to one another.
• These entities have an initial configuration when the network is set up,
but can change with time.
• The configuration management system must know the status of each
entity and its relation to other entities.
Configuration management can be divided into two subsystems:
Reconfiguration and Documentation.
Reconfiguration
Reconfiguration means in a large network, the network components and
features are adjusted daily. There are three types of reconfiguration:
i. Hardware reconfiguration: It covers all changes to the hardware. These
are handled manually. Example: A sub network (Router) may be added or
removed from the network.
ii. Software reconfiguration: It covers all changes to the software. Most of
the software reconfiguration can be automated. Example: Updating
Operating system.
iii. User-account reconfiguration: It covers adding and deleting the users
on a system and it also considers user’s individual privileges and Group
privileges.
Example: A user may have read and write permission with regard to some
files, but only read permission with regard to other files.
Documentation
The network configuration and each subsequent change in hardware,
software and user accounts must be documented.
Hardware documentation
• It involves two sets of documents: Maps andSpecifications.
• Maps track each piece of hardware and its connection to the network.
• General maps that shows the logical relationship as well as physical
relationship between eachsub network.
• For each sub-network, there are one or more maps that show all pieces of equipment.
• Specification information such as hardware type, serial number, vendor
address and phone number, time of purchase and warranty information
must be included for each piece of hardware connected to the network.
Software Documentation It includes information such as the software type,
the version, the time installed etc.
User documentation Operating system utilities allows the documentation of
user accounts and their privileges. The information in these files are updated
and secured.
Fault Management
Fault management is the area of network management that handles the issues
in network components. Example: A fault may be a damaged
communication medium.
Fault management system has two subsystems: Reactive and Proactive.
Reactive Fault Management
The responsibilities of reactive fault management can be divided into 4 steps:
i. Detect the fault: Fault management system must have to detect the exact
location of the fault.
ii. Isolate the fault: If a fault is isolated that affects only a few users. After
isolation, the affected users are immediately notified and given an
estimated time of correction.
iii. Correct the fault: This may involve replacing or repairing the faulty components.
iv. Record the fault: After the fault is corrected, it must be recorded (i.e.
documented). The record should show the exact location of the fault, the
possible cause, the action or actions taken to correct the fault, the cost and
time it took for each step.
Proactive Fault Management
Proactive fault management tries to prevent faults from occurring. Some
failures can be predicted and prevented.

Performance Management
Performance management tries to monitor and control the network to ensure
that it is running as efficiently. It can be measured by the following concepts:
Capacity, Traffic, Throughput, Response time.
• Capacity of the Network Every network has a limited capacity, and the
performance management system must ensure that it is not used above this
capacity.
Example: If a LAN is designed for 100 stations at an average data rate of2
Mbps, it will not operate properly if 200 stations are connected to the
network.
• Traffic Traffic can be measured in two ways: Internally and Externally.
Internal traffic is measured by the number of packets (or bytes) traveling
inside the network.
External traffic is measured by the exchange of packets (or bytes) outside the network.
• Throughput It can be measured by an individual device such as a router
or a part of the network. Throughput makes sure that, the device is not
reduced to unacceptable levels.
• Response Time It is measured from the time a user requests a service to
the time the service is granted.
Security Management
Security management is responsible for controlling access to the network
based on the predefined policy.
Accounting Management
• Accounting management is the control of users' access to network
resources through charges.
• Under accounting management, individual users, departments, divisions,
or even projects are charged for the services they receive from the
network.

SIMPLE NETWORK MANAGEMENT PROTOCOL (SNMP)


The Simple Network Management Protocol (SNMP) is a framework for
managing devices in an internet using the TCP/IP protocol suite. It provides a
set of fundamental operations for monitoring and maintaining an internet.
Concept of SNMP
• SNMP is an application level protocol that uses the concept of Manager and Agent.
• A manager controls and monitors a set ofagents.
• A manager may be a host and an Agent may be a router.
• SNMP can monitor devices made by different manufacturers and
installed on different physical networks.
• SNMP can be used in LANs and WANs connected by routers.
Managers and Agents
• A Manager or a management station is a host that runs the SNMP client program.
• An Agent or a Managed station is a router or a host that runs the SNMP server
program.
Management is achieved through simple interaction between a manager and an agent.
• Agent keeps performance information in a database.
• Manager has access to the values in the database.
Example: A router can store in variables such as the number of packets
received and forwarded. The manager can fetch and compare the values of
these two variables to see if the router is congested or not.
Management with SNMP is based on three basic ideas:
1. A manager checks an agent by requesting information that reflects the
behavior of the agent.
2. A manager forces an agent to perform a task by resetting values in the agent database.
3. An agent contributes to the management process by sending warning
message to the manager of an unusual situation. The warning message is
called the trap.
Management Components
• SNMP uses two other protocols to do management tasks: Structure of
Management Information (SMI) and Management Information
Base(MIB).
Structure of Management Information (SMI)
The Structure of Management Information version 2 (SMIv2) is a
component for network management. Functions of SMI are:

Name
• SMI requires that each managed object (such as a router, a variable in a
router, a value) have a unique name.
• To name objects globally SMI uses an object identifier, which is a
hierarchical identifier based on a tree structure. The tree structure starts
with an unnamed root.
• Each object can be defined by using a sequence of integers separated by dots.
• Tree structure can also define an object by using a sequence of textual
names separated by dots.
• The integer-dot representation is used in SNMP. The name-dot notation
is used by people.
Example: The following shows the same object in two
different notations:
[Link]-2 [Link].2.1
Type
• To define the data type, SMI uses fundamental Abstract Syntax Notation 1(ASN.l).
• SMI has two broad categories of data type: Simple and Structured.
Simple Type
The simple data types are atomic data types such a as Integer32, Octet String, IP address
etc.
Structured Type
By combining simple and structured data types, we can make new
structured data types. SMI defines two structured data types: Sequence
and Sequence of.
• A Sequence data type is a combination of simple data types, not
necessarily of the same type. It is similar to the concept of a struct used in
C programming.
• A Sequence of data type is a combination of simple data types all of the
same type. It is similar to the concept of an array used in C-programming.
Encoding Method
SMI uses another standard Basic Encoding Rules (BER) to encode data to be
transmitted over the network. BER specifies data to be encoded in following
format: Tag, Length and Value.
Tag
The tag is a 1-byte field that defines the type of data. It is composed of three subfields:
• Class (2 bits): It defines the scope of the data.
Four classes are defined: 00- universal, 01-Application wide, 10- context
specific, 11- private.
• Format subfield indicates whether the data are simple (0) or structured(1).
• Number subfield further divides simple or structured data into subgroups.
Example: In the universal class with simple format, INTEGER has a value
of 2, OCTET STRING has a value of 4.
Length
• The length field is 1 or more bytes.
• If it is 1 byte, the most significant bit must be 0. Other 7 bits define the length of the
data.
• If it is more than 1 byte, the most significant bit of the first byte must be
1. The other 7 bits of the first byte define the number of bytes needed to
define the length.
Value field codes the value of the data according to the rules defined in BER.

Example: Show the following in encoding representation:


1. Define INTEGER14.

2. Define OCTET STRING“HI”

Management Information Base(MIB2)

The basic purpose of MIB in SNMP is to provide a standardized framework for


organizing, retrieving, and configuring data on network devices. This allows network
administrators to effectively monitor and manage network performance and
configurations across various devices.
• MIB version 2 is the second component used in network management.
• MIB creates a collection of named objects, their types and their
relationships to each other in an entity to be managed.
• Each agent has its own MIB2, which is a collection of all the objects that
the manager can manage.
• The objects in MIB2 are categorized under 10 different groups: system,
interface, address translation, ip, icmp, tcp, udp, egp, transmission, and
snmp.
• These groups are under the MIB-2 object in the object identifier tree.
• Each group has defined variables and tables.

Accessing MIB Variables


Let us take UDP group to show how to access different variables. To access
any of the simple variables, we use the id of the group ([Link].2.1.7)
followed by the id of the variable.

The following shows how to access each variable:


UdpIn Datagrams [Link].[Link]
UdpNo Ports [Link].[Link]
UdpIn Errors [Link].[Link]
UdpOut Datagrams [Link].[Link]
The object identifiers define the variable not instances (contents). An
instance suffix “0” should be added to show the instance of each variable.
udpInDatagrams.0 [Link].[Link].0
udpNoPorts.0 [Link].[Link].0
udpInErrors.0 [Link].[Link].0
udpOutDatagrams.0 [Link].[Link].0
Tables
To identify a table, we first use the table id. To access the table, we have to
define the table entries.
Udp Table [Link].[Link]
udp Entry [Link].[Link].1
To access the entry we need to define each entity (field)
in the entry.
Udp Local Address [Link].[Link].1.1
Udp Local Port [Link].[Link].1.2
• To access a specific instance (row) of the table, we add the index to the
above ids. To access the instance of the local address for the first row, we
use the identifier augmented with the instance index:
udpLocalAddress.[Link].23 [Link].[Link].[Link].14.23
Lexicographic Ordering
• The object identifiers follow in lexicographic order.
• Tables are ordered column by column from the top to the bottom.
• The lexicographic ordering enables a manager to access a set of variables
one after another by defining the first variable.
SNMP version3 (SNMPv3)
• SNMP defines the format of packets exchanged between a manager and an agent.
• SNMP interprets the result and creates statistics.
• The packets exchanged contain the object (variable) names and their status(values).
• SNMP is responsible for reading and changing these values.
• SNMP uses both SMI and MIB in Internet
network management. SNMPv3 defines eight types

of packets or PDUs.

1. GetRequest PDU is sent from the manager (client) to the agent (server)
to retrieve the value of a variable or a set of variables.
2. GetNextRequest PDU is sent from the manager to the agent to retrieve
the value of a variable. It is mostly used to retrieve the values of the
entries in a table.
3. GetBulkRequest PDU is sent from the manager to the agent to retrieve a
large amount of data.
4. SetRequest PDU is sent from the manager to the agent to set (store) a value in a
variable.
5. Response PDU is sent from an agent to a manager in response to
GetRequest or GetNextRequest.
6. Trap PDU is sent from the agent to the manager to report an event. For
example, if the agent is rebooted, it informs the manager and reports the
time of rebooting.
7. InformRequest PDU is sent from one manager to another remote manager
to get the value of some variables from agents under the control of the
remote manager. The remote manager responds with a Response PDU.
8. Report PDU is designed to report some types of errors between managers.
It is not yet in use.

Common questions

Powered by AI

The SNMP manager-agent relationship is significant because it facilitates effective network management through centralized control and distributed monitoring. Managers act as controlling entities capable of querying agents, adjusting their parameters, or receiving alerts about network events. Agents, embedded in network devices, monitor local conditions and report data back to managers, who analyze this information to maintain optimal network performance. This structure allows wide-reaching management capabilities across diverse devices and geographic locations, enhancing operational efficiency and reliability .

SNMP facilitates network management by offering a standardized framework under the TCP/IP protocol suite for monitoring and maintaining devices across varied manufacturers and physical networks. SNMP operates using a Manager-Agent model where the manager monitors devices, known as agents, through basic interactions like requesting performance data or issuing tasks such as modifying values in the agent's database. This protocol is highly adaptable, functioning across both LANs and WANs connected by routers, allowing it to manage a diverse range of devices easily .

The main difference between reactive and proactive fault management lies in their approach to handling faults. Reactive fault management focuses on diagnosing, isolating, correcting, and documenting faults after they occur. This involves steps like detecting the fault's exact location and repairing it. Proactive fault management, on the other hand, aims at preventing faults from occurring by predicting and mitigating potential issues before they affect the network. This preventative approach attempts to maintain network integrity through forecasting and planning .

Throughput, capacity, and response time are key metrics in performance management for network systems. Throughput measures the rate at which data is successfully transferred through the network, ensuring devices operate within acceptable performance levels. Capacity refers to the maximum amount of data the network can handle efficiently; exceeding this can degrade performance. Response time indicates the duration between a service request from a user and the service provisioning, with lower times indicating higher efficiency. Collectively, these metrics enable monitoring and control of network efficiency and performance optimization .

SMI enhances SNMP's capability to manage network objects by defining clear naming, typing, and encoding standards for managed objects. Core components of SMI include the use of hierarchical object identifiers for unique naming, support of simple and structured data types (such as Integer32 for simple, and Sequence for structured types), and encoding methods like Basic Encoding Rules (BER) to efficiently encode, transmit and interpret data. This structuring underpins SNMP's interoperability and effectiveness in monitoring and manipulating network resources, supporting varied device management across diverse network environments .

Challenges in reconfiguration processes include potential disruptions due to manual errors during hardware changes, incompatible software updates, or incorrect privilege settings in user-account reconfigurations. To address these, SNMP network management guidelines emphasize thorough documentation, automated software reconfigurations where possible, and precise privilege settings. Documentation should comprehensively detail every configuration step and change, maintaining up-to-date records to facilitate effective troubleshooting and rollback if needed, ensuring minimal impact on network operations .

MIB plays a crucial role in SNMP by providing a standardized framework for organizing, retrieving, and configuring network device data. It standardizes the information needed by network administrators to monitor and manage network performance across various devices efficiently. MIB structures data into named objects and categorized them into groups within a hierarchical tree, enabling clear data representation and access. The structured approach of MIB helps maintain interoperability and simplifies management tasks across diverse networking environments, thereby enhancing the consistency and reliability of network device management .

SMI's requirements for globally unique object naming and standardized data types streamline network management and promote interoperability by eliminating ambiguities in object identification and data interpretation across different devices and vendors. SMI uses hierarchical object identifiers for clear lexical organization and Abstract Syntax Notation 1 (ASN.1) for defining consistent data types, which ensures unambiguous data communication and processing. These standards allow diverse devices to communicate effectively under SNMP, facilitating seamless network integration and management .

Lexicographic ordering of object identifiers facilitates SNMP management operations by providing a structured and predictable sequence for querying and accessing variables. It allows SNMP managers to access sets of variables efficiently in a top-to-bottom, column-by-column manner. This sequential access method simplifies the traversal of extensive MIB2 data collections, enabling systematic data retrieval and management, which enhances the speed and efficiency of network operations .

SNMPv3 enhances security by introducing new security features such as authentication, encryption, and access control, which were lacking in earlier versions. It provides User Security Model (USM) and View-Based Access Control Model (VACM) specifications, to ensure data confidentiality, integrity and proper access control. SNMPv3 also defines eight types of PDUs, adding features like broader error reporting capabilities among managers, enhancing overall security and robustness against unauthorized access and potential data threats, thus addressing significant vulnerabilities in network management .

You might also like