Network Management Tools and Systems: in The Name of The Most High
Network Management Tools and Systems: in The Name of The Most High
Most High
1
NM Tools and Systems
Network Management Tools
Network Statistics Measurement Systems
Enterprise Management Systems
2
Network Management Tools
Network
Management
NOC Tools
Tools (RFC 1470)
Network
Operating
Functional Resources / Mechanism Acquisition
Environment
Components
3
Network Monitoring Tools
Useful list of network monitoring tools
http://www.slac.stanford.edu/xorg/nmtf/nmtf-tools.htm
l
http://www.snmplink.org/Tools.html
http://www.simpleweb.org/software/
4
Status Monitoring Tools
5
UNIX
ifconfig
6
Ping
Most basic tool for internet management
Available on all TCP/IP stacks
Useful for measuring
Connectivity
Packet loss rate
Round trip time
Can do auto-discovery of TCP/IP equipped stations
on single segment
7
nslookup
8
Traffic Monitoring Tools
Table 12.6 Traffic-Monitoring Tools
Name Operating Description
System
ping UNIX Used for measuring roundtrip packet loss
Windows
bing UNIX Measures point-to-point bandwidth of a link
etherfind UNIX Inspects Ethernet packets
snoop UNIX Captures and inspects network packets
tcpdump UNIX Dumps traffic on a network
getethers UNIX Acquires all host addresses of an Ethernet LAN segment
iptrace UNIX Measures performance of gateways
9
Packet Loss Measurement
10
ping
Usage: ping [-t] [-a] [-n count] [-l size] [-f] [-i TTL] [-v TOS]
[-r count] [-s count] [[-j host-list] | [-k host-
list]]
[-w timeout] destination-list
Options:
-t Ping the specified host until stopped.
To see statistics and continue –
type Control-Break;
To stop - type Control-C.
-a Resolve addresses to hostnames.
-n count Number of echo requests to send.
-l size Send buffer size.
-f Set Don't Fragment flag in packet.
-i TTL Time To Live.
-v TOS Type Of Service.
-r count Record route for count hops.
-s count Timestamp for count hops.
-j host-list Loose source route along host-list.
-k host-list Strict source route along host-list.
-w timeout Timeout in milliseconds to wait for each reply.
11
C:\>ping -n 10 -l 256 www.hinet.net
12
bing bing 163.22.18.110 203.64.255.90
bing L1 L2
13
snoop
Puts a network interface in promiscuous mode
Logs data on
Protocol type
Length
Source address
Destination address
Reading of user data limited to super-user
14
Network Routing Tools
Table 12.7 Route-Monitoring Tools
Name Operating System Description
netstat UNIX / Windows Displays the contents of various network-
related data structures
arp UNIX, Windows Displays and modifies the Internet-to-Ethernet
95/x/00NT address translation tables
traceroute UNIX Traces route to a destination with routing
tracert Windows delays
15
netstat
C:\>netstat -n -a
Active Connections
Proto Local Address Foreign Address State
TCP 0.0.0.0:21 0.0.0.0:0 LISTENING
TCP 0.0.0.0:135 0.0.0.0:0 LISTENING
TCP 0.0.0.0:445 0.0.0.0:0 LISTENING
TCP 0.0.0.0:1234 0.0.0.0:0 LISTENING
TCP 0.0.0.0:1235 0.0.0.0:0 LISTENING
TCP 0.0.0.0:1236 0.0.0.0:0 LISTENING
TCP 163.31.153.68:1234 163.22.3.4:80 ESTABLISHED
TCP 163.31.153.68:1235 163.22.4.67:80 ESTABLISHED
TCP 163.31.153.68:1236 163.22.4.67:80 SYN_SENT
UDP 0.0.0.0:135 *:*
UDP 0.0.0.0:445 *:*
UDP 0.0.0.0:38037 *:*
UDP 127.0.0.1:1230 *:*
UDP 163.31.153.68:500 *:*
16
NETSTAT [-a] [-b] [-e] [-n] [-o] [-p proto] [-r] [-s] [-v] [interval]
17
C:\>netstat -s -p TCP
Active Connections
Proto Local Address Foreign Address State
TCP 94ASUS3705:1502 euler.im.ncnu.edu.tw:telnet ESTABLISHED
TCP 94ASUS3705:1976 giant.ccserver.ncnu.edu.tw:epmap TIME_WAIT
TCP 94ASUS3705:1977 giant.ccserver.ncnu.edu.tw:1025 TIME_WAIT
TCP 94ASUS3705:1980 giant.ccserver.ncnu.edu.tw:1025 TIME_WAIT
TCP 94ASUS3705:1981 giant.ccserver.ncnu.edu.tw:1025 TIME_WAIT
TCP 94ASUS3705:1982 giant.ccserver.ncnu.edu.tw:ldap TIME_WAIT
TCP 94ASUS3705:1984 giant.ccserver.ncnu.edu.tw:ldap TIME_WAIT
TCP 94ASUS3705:1985 giant.ccserver.ncnu.edu.tw:microsoft-ds TIME_WAIT
TCP 94ASUS3705:1990 giant.ccserver.ncnu.edu.tw:ldap TIME_WAIT
TCP 94ASUS3705:4558 localhost:4559 ESTABLISHED
TCP 94ASUS3705:4559 localhost:4558 ESTABLISHED 18
C:\>netstat –r C:\>route print
===========================================================================
Interface List
0x1 ........................... MS TCP Loopback interface
0x2 ...00 12 f0 2b b8 0b ...... Intel(R) PRO/Wireless 2200BG Network Connection
- Packet Scheduler Miniport
0x3 ...00 01 4a 82 13 e8 ...... Intel(R) PRO/100 VE Network Connection - Packet
Scheduler Miniport
===========================================================================
===========================================================================
Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 192.168.10.1 192.168.10.40 20
127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1
192.168.10.0 255.255.255.0 192.168.10.40 192.168.10.40 20
192.168.10.40 255.255.255.255 127.0.0.1 127.0.0.1 20
192.168.10.255 255.255.255.255 192.168.10.40 192.168.10.40 20
224.0.0.0 240.0.0.0 192.168.10.40 192.168.10.40 20
255.255.255.255 255.255.255.255 192.168.10.40 192.168.10.40 1
255.255.255.255 255.255.255.255 192.168.10.40 2 1
Default Gateway: 192.168.10.1
===========================================================================
Persistent Routes:
None
19
traceroute/tracert
tracert www.hinet.net
Options:
-d Do not resolve addresses to hostnames.
-h maximum_hops Maximum number of hops to search for target.
-j host-list Loose source route along host-list.
-w timeout Wait timeout milliseconds for each reply.
20
C:\>tracert www.yahoo.co.jp
Trace complete.
21
Network Management Tools
SNMP command tools
MIB Walk
MIB Browser
snmpsniff
22
SNMP Command Tools
snmptest
snmpget
snmpgetnext
snmpset
snmptrap
snmpwalk
snmpnetstat
23
Network Status
Command: snmpnetstat host community
Useful for finding status of network connections
% snmpnetstat noc5 public
Active Internet Connections
Proto Recv-Q Send-Q Local Address Foreign Address (state)
tcp 0 0 *.* *.* CLOSED
tcp 0 0 localhost.46626 localhost.3456 ESTABLISHED
tcp 0 0 localhost.46626 localhost.3712 ESTABLISHED
tcp 0 0 localhost.46626 localhost.3968 ESTABLISHED
tcp 0 0 localhost.46626 localhost.4224 ESTABLISHED
tcp 0 0 localhost.3456 localhost.46626 ESTABLISHED
tcp 0 0 localhost.3712 localhost.46626 ESTABLISHED
tcp 0 0 localhost.3968 localhost.46626 ESTABLISHED
tcp 0 0 localhost.4224 localhost.46626 ESTABLISHED
tcp 0 0 noc5.41472 noc5.4480 ESTABLISHED
tcp 0 0 noc5.41472 noc5.4736 ESTABLISHED
tcp 0 0 noc5.4480 noc5.41472 ESTABLISHED
tcp 0 0 noc5.4736 noc5.41472 ESTABLISHED
24
SNMP Browser
Command: snmpwalk host community [variable
name]
Uses Get Next Command
Presents MIB Tree
25
SNMP Sniff
snmpsniff -I interface
A tool in Linux / FreeBSD environment
Puts the interface in promiscuous mode and
captures snmp PDUs.
26
2 MIB Browser
27
28
Protocol Analyzer
Data
PROTOCOL Capture
ANALYZER Device
Raw data transferred on
Modem / WAN or LAN Link
LAN
Communication between probe and analyzer
is using SNMP
Data gathered Figure
and 12.14 stored for
Protocol Analyzer with RMONan
Probe extended period
of time and analyzed later
Used for gathering traffic statistics and used for
configuration management for performance tuning
30
Network Monitoring with RMON
Probe
Ethernet
Protocol
Probe
Analyzer
Ethernet LAN
Router
Backbone
FDDI LAN
Network
Router
Router Backbone
FDDI Probe Probe
Token Ring
LAN
Token Ring
31
Probe
Network Statistics
Protocol Analyzers
RMON Probe / Protocol analyzer
MRTG (Multi router traffic grouper)
Home-grown program using tcpdump
32
33
Traffic Load:
Source
HostTopN
Host 1
Host 2
Host 3
Host 4
Host 5
Host 6
Host 7
Host 8
Host 9
Host 10
35
NMS Deisgn
Key Requirements:
Scalability
Heterogeneity
Geographic Spread
Bursty Load
Real time Response
Batch Processing
Diverse Users
Local and Remote Management
Ease of Use
Security
Data Management
36
NMS Components
Table 12.8 Network Management System Components
Component Service Example
Hardware Processor Sun Sparc
Monitor HP 9000
Mouse and Keyboard PC
Communications
Operating system OS services UNIX
LINUX / FreeBSD
Solaris
MS Windows 95 / 98 / NT
Core application Display OpenView
services GUI SunNet Manager
Database Solstice Enterprise Manager
Report generation MS Windows
Communication services
Common SNMP SNMPv1 messages SNMPc
services SNMPv2 messages OpenView Network Node Manager
MIB management Cabletron Spectrum Enterprise
Basic SNMP applications Manager
3rd party NMS API IBM NetView
SunNet Manager
Solstice Enterprise Manager
Vendor-specific MIB management CiscoWorks
NMS services SNMP applications Transcend
Config. management Spectrum Element Manager /
Physical entity display Spectrum Portable Management
Application
37
Multi-NMS Configuration
Vendor 1
NMS
Configuration
Managed Manager
Vendor 2 Fault
Configuration Network of
NMS Performance
Elements Managers
Configuration
Vendor 3
NMS
38
Network Monitoring
By polling
By traps (notifications)
Failure indicated by pinging or traps
Ping frequency optimized for network load vs.
quickness of detection
trap messages: linkdown, linkUp,
coldStart, warmStart, etc.
Network topology discovered by auto-discovery
39
Node Discovery In a Network
Node Discovery
Given an IP Address with its subnet mask, find the
nodes in the same network.
Two Major Approaches:
Use ICMP ECHO to query all the possible IP
addresses.
Use SNMP to query the ARP Cache of a node
known
40
Use ICMP ECHO
41
Use SNMP
42
Network Discovery
Network Discovery
Find the networks to be managed with their
interconnections
Given a network, find the networks which
directly connect with it.
Recall that networks are connected via
routers.
Major Approach
Use SNMP
43
Discovering Networks
163.25.145.0 163.25.146.0
140.112.8.0 140.112.6.0
163.25.148.0
163.25.147.0
163.25.147.0
140.112.5.0
192.168.13.0 192.168.12.0
44
A Network Discovery Algorithm
1. First use a node discovery algorithm to find all the nodes in
the network.
2. For each discovered node, use SNMP to query the ipAddrTable
of MIB-II IP group
3. Query the corresponding entries in ipRouteTable to verify the
above addresses
ipAdEntIfIndex ipAdEntBcastAddr
ipAdEntAddr ipAdEntNetMask
163.25.145.254 1 255.255.255.0 163.25.145.255 …
162.25.146.254 2 255.255.255.0 163.25.146.255 …
162.25.147.254 3 255.255.255.0 163.25.147.255 …
45
ipRouteTable
46
Layer 2 topology discovery
47
Commercial and Open Source NMSs
48
Commercial and Open Source NMSs
Open source NMSs
OpenNMS
Currently supports Fault, Performance and parts of Configuration in FCAPS
Does not have a graphical map for the display of the NEs and their status
Nagios
Provides basic network management functions
It has graphical mapping of network elements
Enterprise NMSs
Hewlett-Packard OpenView
Sun SunNet Manager
IBM Netview
System & Network Management
Computer Associates Unicenter TNG
Tivoli TME / Netview
49