NAM NS2 PROJECTS
Nam NS2 Projects is our leading service start with the help of renowned experts and dedicated professionals from all over the world. You may think that, what is the purpose of NAM in NS2 projects . NAM is a Network animator tool used in NS2 to visualize the network graphically. It is the first tool design to provide general purpose packet level network animation in NS2. It is use to provide protocol specific graphs for the designing and debugging of new network protocol. NAM is one of the most significant components of NS2, this is the reason, we have provide one complete article on NAM.
Once you are clear with it, approach us for innovative and newfangled ideas for your NS2 project. We have serve nearly 1000+ students from all over the world and satisfy all their needs as per their requirement. If you want to be one among our satisfied students, approach us today with your needs.
GET TO KNOW ABOUT NAM
NAM [TCL/TK based Animation tool]:
- Used to view network simulation traces and real world packet traces
- Designed to read animation event commands from large trace file
- It is primarily intend to create an animator that could read large animation data sets.
- NAM input file consist of information regarding both dynamic events and static network layout.
- Dynamic information includes packet arrival, packet drops, departures, link failure etc
NAM TRACE FORMAT
- Initialization events in trace file must include the flag –t *.
- This is use to indicate that this event have to be parse before any animation starts.
- Version:[NAM version required to visualize the given trace]
V -t < time > -v < version > -a < attr >
- Needed to initialize , if we use wireless node
W -t * -x 500 -y 500
This decides the size of layout for wireless simulation in NAM
- X indicates the width and y indicates the height
Hierarchy[used to provide hierarchy in simulation]:
- A – t time – n levels – o address – space size – c m castshift – a m castmask – h nth level – m mask in nth level – s shift in nth level
Color Table Entry:
- c – t t ime – i color id – n color name
Nam provides color names with integers.
NAM trace format to define the node state,
n – t time – a src – addr – s src – id – S state – v shape – c color – i l – color – o color
- Here “n” denotes the node state and flag –t [time] –a[node address], -s[node id], -s[node state transition] .
- Possible node transition are Up, down [indicates node recovery and failure]
- Color indicate the node color change
- DLABEL indicates the addition of label to the node.
- -v indicates the shape of the Node[circle, box, hexagon]
LINK IN NAM TRACE
l – t time – s src – d dst – S state – c color – o orientation – r bw – D delay
- Fag –o indicate the link orientation
- Valid orientation values[up, down, up-right, left, right, down-right,up left, angle between 0 and 2pi ]
- Flags –r -> bandwidth and –D -> delay
PACKETS IN NAM TRACE
- Packets are described using +[enqueue], -[dequeue], d[drop], r[receive] and h[hop]
type – t time – e extent – s source id – d destination id – c conv – i id
-t <time> time the event occurs
-s[<source id> originating node]
-d[destination node<destination id>]
-e [<extent> size of the packet]
-c [conversation id or flow id <conv>]
-I [packet id -<id>]
-p [descriptive name of the type of packet-<pkt-type>]
-a[packet attribute <attr>]
Additional flags : -P[<packet type>] and –n [<sequence number>]
QUEUE IN NAM TRACE
q – t time – s src – d dst – a attr
- Queues in NAM are straight line along which the packets are pack
- -a specifies the orientation of line of queue
- Node marks can concentric circle, hexagon or boxes around the nodes
- Created using
-M – t time – n mark name – s node – c color – h shape – o color
& deleted using
-m – t time – n mark name – s node – X
- Once the node marks are created, it cannot change its shape
- Used to visualize the protocol state
- Agent is indicate using a name inside and a line link is used to associate the agent with the node.
- Agent events are create using
a – t time – n agent name – s src
a – t time – n agent name – s src – X
- Feature trace events are used to visualize the state variables associated with protocol agent
- Trace line to create a feature:
f – t time – s src – a agentname – T t ype – n varname – v value – o prev value
- Flag types used[v-simple variable, l- list, s- stopped timer, d-down counting timer, u- up counting timer]
Hope you would have got an idea about NAM in NS2. For further tutoring service on NAM, approach our experts service through online. Our experts will also guide you regarding your NAM NS2 projects and mine best ideas for your project. Be hassle free regarding your projects, as we have come up with an innovative approach to serve you with our expertise and knowledge. Approach us anytime as we are there for you always and forever.
KNOWING IS NOT ENOUGH……………….WE MUST APPLY……….
WILLING IS NOT ENOUGH ……………………..WE MUST DO IT……..
THINKING IS NOT ENOUGH…………………YOU MUST APPROACH US………….