Anda di halaman 1dari 8

SNMP SIMULATOR

Overview
The SNMP Agent Simulator enables simulation of standalone SNMP
agents to test and demonstrate SNMP-based management
applications. Its unique ability to create default values from any SMI-
compliant MI or record variables from an e!isting agent and create
variations on this basic simulation enables rapid simulation of SNMP
devices. All SNMPv"# SNMPv$# and SNMPv% operations &'et ( 'etNe!t (
'etul) ( Set ( Traps ( Noti*cations+ are supported.
Description
It is a very important protocol in the T,P(IP suite. A protocol# -hich is
designed for e!ternal devices to interact -ith the management system
is called SNMP. It allo-s monitoring and managing the net-or) from a
single -or)station or -or)stations called SNMP managers
&Management System+. It -as originally developed in the Internet
community to monitor . troubleshoot devices li)e routers# bridges# etc.
SNMP is actually a family of speci*cations that provide a means for
collection of net-or) management data from the devices residing in a
net-or).
Existing System
/or testing a Net-or) Management topology# -e need to simulate the
net-or) environment in our system. 0i1erent vendors are provided
simulators for testing. The main disadvantage in this scenario is# the
simulators are not open source and free. uying a simulator for testing
is not al-ays economical. Appart from that# as it is not open#
customisation also is not possible.
Proposed System
2ere -e are creating a simulator purely by 3A4A. The advantages are5
/ree
,ustomisable
MANAGEMENT SSTEMS ! AGENTS
SNMP uses a distributed architecture consisting of management
systems . agents. A management system is any computer running
SNMP management soft-are. The primary function of management
system is requesting information from an agent.

SNMP Agent is a process# running in all managed net-or)
devices. Its 6ob is to constantly gather the information that the NMS
may request and respond to requests from one or more NMSs -ith the
appropriate data.
SNMP manager requests data from the agent. The SNMP agent
receives this request at port number "7" and it responds to the
manager accordingly. 8nder erroneous conditions# the agent generates
trap and noti*es it to the NMS. NMS -ill receive this trap signal at port
number "7$.
D"t"#$owDi"gr"m%
&omm'nic"tion (etween M"n"ger "nd Agent 'sing
SNMP%
SNMP &omm'nity) A community is a group to -hich hosts running
the SNMP services belong. ,ommunities are identi*ed by a community
name for e!ample 9public9. The use of a community name provides
primitive security. An agent -ill not accept a request from a
management system outside its con*gured community. An SNMP
agent can be a member of multiple communities but the agents .
managers should be the members of the same community to
communicate -ith each other.
The Simple Net-or) Management Protocol uses a Management
Information ase&MI+(Agent paradigm.

MI(Agent paradigm.
MANAGEMENT IN#ORMATION *ASE +MI*,
A MI is a virtual database that identi*es each manageable
ob6ect by its name# synta!# accessibility# status# a te!t description and
a unique :b6ect Identi*cation number &:I0+. The speci*cations of
managed ob6ects and grouping of# and relationship bet-een# managed
ob6ects are addressed in MI-II# -hich is speci*ed in ;/, "$"%.
;/, &;equests /or ,omments+ is a published series of documents of
protocol standards for the Internet. These standards describe the
internal -or)ing of the Internet.
Most vendors< agents support MI-II and their o-n proprietary &or
Private =nterprise+ MI.
MANAGEA*LE O*-E&TS DATA*ASE +MD*,
The net-or) management system uses the available
Manageable :b6ects 0atabase as a data dictionary of the questions it
can as) the agent in each managed device. y compiling the various
Private MIs and MI-II into the M0# an NMS user can request and
receive the information stored in the agent for each :I0 speci*ed.
O*-E&T IDENTI#IERS +OID,
:b6ect identi*ers represent each manageable ob6ect -ith a
unique sequence of numbers and names. SNMP uses the number as
an abbreviated form of the name to ma)e requests or data values and
to identify each response that carries the values. :I0 is a data
pointing structure of ASN.". :I0 uses dotted decimal format and
uniquely identi*es the ob6ects.
In that -ay# the Public MI>s manageable ob6ects -ould all start -ith
the names &IS:.Identi*ed?:rg.0o0.Internet.Management.MI+ and the
:I0 &".%.7.".$."+. A private MI>s manageable ob6ects -ould all start
-ith the names &IS:.Identi*ed? :rg.0o0.Internet.Private.=nterprise.+
and the :I0 &".%.7.".@."+.
System Re.'irements
System Re.'irements
/"rdw"re Re.'irements
Aindo-s
,P85 ".$ '2B Pentium Processor
Memory5 $C7 M ;AM
0is) Space5 Minimum %DD M
3ava 4ersion
3;= ".C
0atabase
:racle 0atabase is bundled -ith the
product for all operating systems
T0e SNMP Agent Sim'$"tor c"n sim'$"te "n SNMPv12 SNMPv32
SNMPv4 "gent in two simp$e Mod'$es)
1% SMI "nd MI* cre"tion mod'$e)
Description)
Eoad any SMI-compliant MI&s+ in the SNMP Agent Simulator and create
a basic simulation of the SNMP agent.
SNMP M"n"gement In5orm"tion *"se
A Management Information Base (MIB) is a collection of information
that is organiBed hierarchically. MIs are accessed using a net-or)-
management protocol such as SNMP. They are comprised of managed
ob6ects and are identi*ed by ob6ect identi*ers.
A managed ob6ect &sometimes called a MI ob6ect# an ob6ect# or a MI+
is one of any number of speci*c characteristics of a managed device.
Managed ob6ects are comprised of one or more ob6ect instances# -hich
are essentially variables.
Str'ct're o5 M"n"gement In5orm"tion
The Structure of Management Information (SMI) de*nes the rules for
describing management information# using Abstract Synta! Notation
:ne &ASN."+. The SNMPv" SMI is de*ned in ;/, ""CC. The SMI ma)es
three )ey speci*cations5 ASN." data types# SMI-speci*c data types# and
SNMP MI tables.
3% &on6g'r"tion "nd M"n"gement Mod'$e)
0escription5
,reate variations on this basic simulation by recording real SNMP
agentsF con*guring MI values# SNMP traps and informs # simulating
SNMP error conditions# and so on.
SNMPv1 Protoco$ Oper"tions
SNMP is a simple request(response protocol. The net-or)-management
system issues a request# and managed devices return responses. This
behavior is implemented by using one of four protocol operations5 'et#
'etNe!t# Set# and Trap. The 'et operation is used by the NMS to
retrieve the value of one or more ob6ect instances from an agent. If the
agent responding to the 'et operation cannot provide values for all the
ob6ect instances in a list# it does not provide any values. The 'etNe!t
operation is used by the NMS to retrieve the value of the ne!t ob6ect
instance in a table or a list -ithin an agent. The Set operation is used
by the NMS to set the values of ob6ect instances -ithin an agent. The
Trap operation is used by agents to asynchronously inform the NMS of
a signi*cant event.
Major features:
=ase of use
;ecord and replay SNMP devices. 4alues of SNMP agent MI
nodes can be recorded into GME *le through '8I or command
line interface. ;ecorded data *le can be modi*ed to simulate
di1erent con*gurations.
Multiple agents in one 34M
,omplete SNMPv"# v$c and v% &8SM and 4A,M+ support
Support for dynamic ro- creation and deletion
Support for eanShell scripting language that is used in data *le
to model real time SNMP agent behavior
Trap simulation
=rror simulation
Scalability. The number of agents on one computer is dependent
on available system resources
,ommunity string inde!ing &multiple communities per IP address+

Anda mungkin juga menyukai