NS NAM PROJECTS

      NS NAM Projects offers a guiding platform for research scholars and student to accomplish their project with the help of our renowned experts. We are serving students for the past 10 years and have served nearly 1000+ students worldwide. We offer complete training plus project for students, who feel they are beginners in NS2. Our guidance offers all round support for NS2 based project, assignments and lab cycles. You may think that why we have focused on NS NAM projects here. It is simple to answer, if you are taking a project in NS2, NAM is one of the major components, which you must know well. NAM [Network animator] in NS2 is used to provide visual interpretation of the overall network created. It can be executed directly from the TCL script. It is used to provide information’s like throughput, number of packets etc and offers graphical user interface to NS2. As a further step to explore NAM, let’s have a glance over the Significant features of NS2 NAM.

HIGHLIGHTS ABOUT NAM:

  • Animation tool for graphical representation of real world packet traces and network traces.
  • Extended NAM Editor[Allows graphical creation of NS2 Script, works under Linux operating system]

         -Used to integrate with the existing topology generator

         -Used to define new node types

         -Allows the instantiation of agents for a given node

         -Used to define new node types

         -Supports simulation of web cache systems

         -Allows visualization and localization of a set of nodes on large network topologies.

  • NAM Trace file:

 

Syntax to creating a nam trace file,

Set  nssim  [open First.nam  w]

$ns   namtrace-all  $ nssim

Add lookup table

exec nssim result.nam & // To execute nam on trace files

exit 0

 

NAM trace file look up table:

We are going to list all the nam trace event codes and flags associated with it.

 

  • T[dummy event used for time synchronization]

-t -> <time> time

 

For N –Node:

 

  • -t –time[<time>]
  • -s [node id- <int>]
  • -z[size of node<double>]
  • -v[shape <shape>]
  • -c [color- <color>]
  • -a[address<int>]
  • -i[label color<color>]
  • -b[label<string>]
  • -x[x location <double>]
  • -y[y location <double>]
  • -S[state(Up, down, color)-<string>]
  • -l[label-<string>]
  • -o[previous color-<color>]
  • -p[Label location-<string>]
  • -P[previous label location <string>]
  • -L[previous label<string>]
  • -e[label color <color>]
  • -E[previous label color<color>]
  • -i[inside label color <color>]
  • -I[previous inside label color <color>]
  • -V[y velocity <string>]
  • -T[node stop time <double>]
  • -u[x velocity <string>]
  • -U[y velocity <string>]
  • -w [wireless node<flag>]

For L: Link:

  • -t[time <time>]
  • -d[destination id <int>]
  • -s
  • -r[transmission rate <double>]
  • -h[length<double>]
  • -D[delay<double>]
  • -O[orientation <orientation>]
  • -c[color <color>]
  • -o[previous color <color>]
  • -b[label<string>]
  • -S[state <string>]

For +[Enqueue packet] and – [Dequeue packet]:

  • -s
  • -d[destination id <int>]
  • -t[time <time>]
  • -i[id <int>]
  • -a[packet color attribute id <int>]
  • -l[energy <int>]
  • -p[packet type <string>]
  • -k[packet type<string>]
  • -c [conversation <string>]
  • -x[comment <comment>]

For E [session enqueue], D[session dequeue], P[session drop], d[drop line]:

  • -s
  • -d[destination id <int>]
  • -t[time <time>]
  • -i[id <int>]
  • -a[packet color attribute id <int>]
  • -l[energy <int>]
  • -c [conversation <string>]
  • -x[comment <comment>]
  • -p[packet type <string>]
  • -k[packet type<string>]
  • -e[extent <int>]

For h: hop and r: receiver :

  • -R[wireless broadcast radius<double>]
  • -D[wireless broadcast duration <double>]
  • Other field are same as mentioned above

For a: agent:

  • -t[time<time>]
  • -x[remove agent<flag>]
  • -n[agent name<string>]

F: feature:

  • -t [time <time>]
  • -x[remove feature <flag>]
  • -n[name <string>]
  • -T[type <char>]
  • -v[value <string>]
  • -a[agent <string>]
  • -o[previous value <string>]

R: routing event:

  • -s
  • -d[destination id <int>]
  • -n[negative cache<flag>]
  • -x[route timed out <flag>]
  • -g [multicast group <int>]
  • -p[packet source id <packet source>]
  • -m [mode <string>]
  • -T [timeout <double>]

v: execute tcl expression:

  • -t [time <time>]
  • -e [tcl script <tcl expression>]

V : Set trace file version:

  • -t [time <time>]
  • -a[time <int>]
  • -v[time <string>]

-N: use nam graph

-G: energy status

-W: wireless range

  • -t[time <time>]
  • -x[X <int>]
  • -y [Y <int>]

Q: create packet queue initialization:

  • -t[time <time>]
  • -s
  • -d[destination id <int>]
  • -a [orientation <orientation>]

C: color table configuration initialization:

  • -t [<time> time]
  • -i[id <int>]
  • -n[color <string>]

X: layout lan:

  • -t [time <time>]
  • -n[name <string>]
  • -D[delay <double>]
  • -r[rate <double>]
  • -o[orientation<orientation>]

NAM Layout:

  • Automatic Layout[default topology which assigns attractive forces over the links while repulsive forces between the nodes]
  • Relative layout[Specify the direction of the link]
  • Wireless Layout[associates each node with its location within the specified simulation area]

NAM Installation with NS2:

  • Platform support[Ubuntu, MAC OS X, Linux, Unix, Fedora, Windows 7]
  • Basic Requirements[Free disk space(5GB), RAM(256MB),requires internet access]
  • Here, we have given installation steps for Ubuntu and Unix Operating systems.
  • In Ubuntu:

      To Install NS2:

          Run the following command in the terminal

sudo   apt – get  install NS2

 To Install Nam:

sudo apt – get  install  nam

To Execute the Nam file:

exec nam out.nam &amp;// to execute nam on the trace file

exit 0

  • In Unix OS,

To Build Nam For Unix:

  • cd into the ns directory
  • run ./configure
  • run make

To Run Nam in Unix:

UNIX  >>  nam nam.input

 

 

   Hope you would have got an idea about what is NAM and its basics. For further tutoring service on NAM or NS NAM projects, approach our experts through our online service. We will be there to serve you at 24/7.

 

TRUE GUIDANCE IS LIKE A TORCH IN DARK FOREST……

IT WONT GIVE EVERYTHING BUT A WAY FOR NEXT STEP……….

EXPERIENCE OUR GUIDANCE…WE WILL SHOW “YOU”, YOUR PATH OF SUCCESS……