Chapter 9
Network Management
A note on the use of these ppt slides: Computer
We’re making these slides freely available to all (faculty, students, readers).
They’re in PowerPoint form so you see the animations; and can add, modify, Networking: A
and delete slides (including this one) and slide content to suit your needs.
They obviously represent a lot of work on our part. In return for use, we only Top Down
ask the following:
If you use these slides (e.g., in a class) that you mention their source Approach
(after all, we’d like people to use our book!)
If you post any slides on a www site, that you note that they are adapted
6th edition
from (or perhaps identical to) our slides, and note our copyright of this Jim Kurose, Keith Ross
material. Addison-Wesley
Thanks and enjoy! JFK/KWR March 2012
All material copyright 1996-2012
J.F Kurose and K.W. Ross, All Rights Reserved
Network Management 9-1
Chapter 9 outline
What is network management?
Internet-standard management framework
Structure of Management Information: SMI
Management Information Base: MIB
SNMP Protocol Operations and Transport
Mappings
Security and Administration
ASN.1
Network Management 9-2
What is network management?
autonomous systems (aka “network”): 1000s of interacting
hardware/software components
other complex systems requiring monitoring, control:
jet airplane
nuclear power plant
others?
Network Management 9-3
Infrastructure for network management
definitions:
managing entity agent data
managing
entity data managed device
agent data
network
management managed device
protocol agent data
managed device
agent data
agent data
managed device
managed device
Network Management 9-4
Network management standards
Network Management 9-5
Chapter 9 outline
What is network management?
Internet-standard management framework
Structure of Management Information: SMI
Management Information Base: MIB
SNMP Protocol Operations and Transport
Mappings
Security and Administration
ASN.1
Network Management 9-6
SNMP overview: 4 key parts
Network Management 9-7
Basic Data Types
INTEGER
Integer32
Unsigned32
OCTET STRING
OBJECT IDENTIFIED
IPaddress
Counter32
Counter64
Guage32
Time Ticks
Opaque
Network Management 9-8
SNMP MIB
MIB module specified via SMI
MODULE-IDENTITY
(100 standardized MIBs, more vendor-specific)
MODULE OBJECT TYPE:
OBJECT TYPE:OBJECT TYPE:
objects specified via SMI
OBJECT-TYPE construct
Network Management 9-9
SMI: object, module examples
Network Management 9-10
MIB example: UDP module
Object ID Name Type Comments
1.3.6.1.2.1.7.1 UDPInDatagrams Counter32 total # datagrams delivered
at this node
1.3.6.1.2.1.7.2 UDPNoPorts Counter32 # underliverable datagrams:
no application at port
1.3.6.1.2.1.7.3 UDInErrors Counter32 # undeliverable datagrams:
all other reasons
1.3.6.1.2.1.7.4 UDPOutDatagrams Counter32 # datagrams sent
1.3.6.1.2.1.7.5 udpTable SEQUENCE one entry for each port
in use by app, gives port #
and IP address
Network Management 9-11
SNMP naming
1.3.6.1.2.1.7.1
ISO udpInDatagrams
ISO-ident. Org. UDP
US DoD MIB2
Internet management
Network Management 9-12
OSI
Object
Identifier
Tree
Network Management 9-13
SNMP protocol
Two ways to convey MIB info, commands:
managing managing
entity entity
request
trap msg
response
agent data agent data
managed device managed device
Network Management 9-14
SNMP protocol: message types
Message type Function
Network Management 9-15
SNMP protocol: message formats
Get/set header Variables to get/set
PDU Error
Request Error
type Status Name Value Name Value ….
ID Index
(0-3) (0-5)
PDU Trap
type Enterprise Agent Type
Specific Time
Name Value ….
Addr code stamp
4 (0-7)
Trap header Trap info
SNMP PDU
Network Management 9-16
Network Management 9-17
Chapter 9 outline
What is network management?
Internet-standard management framework
Structure of Management Information: SMI
Management Information Base: MIB
SNMP Protocol Operations and Transport
Mappings
Security and Administration
The presentation problem: ASN.1
Network Management 9-18
The presentation problem
struct { test.code a test.code a
char code; test.x 00000001
int x; 00000011 test.x 00000011
} test; 00000001
test.x = 256;
test.code=‘a’ host 2 format
host 1 format
Network Management 9-19
A real-life presentation problem:
? ?
? ? ? ?
? ?
Groovy!
grandma 2012 teenager
aging 60’s
hippie
Network Management 9-20
Presentation problem: potential solutions
Network Management 9-21
Solving the presentation problem
1. Translate local-host format to host-independent format
2. Transmit data in host-independent format
3. Translate host-independent format to remote-host format
“It is pleasing “It is pleasing
presentation to me!” presentation to me!” presentation
service service service
“Cat’s pajamas!” “Groovy!” “Awesome, dude!”
! ! ! !
! ! ! !
grandma aging 60’s 2012 teenager
hippie
Network Management 9-22
Network Management 9-23
Tag Value Type
1 Boolean
2 Integer
3 Bitstring
4 Octet string
5 Null
6 Object Identifier
9 Real
Network Management 9-24
lastname ::= OCTET STRING {weight, 259}
TLV weight ::= INTEGER {lastname, “smith”}
encoding: module of data type
declarations written
instances of data type
specified in module
in ASN.1
example Basic Encoding Rules
(BER)
3
Value, 259
1
Length, 2 bytes 2
Type=2, integer 2
h transmitted
t byte
i stream
Value, 5 octets (chars)
m
s
Length, 5 bytes 5
Type=4, octet string 4
Network Management 9-25
Network management: summary
Network Management 9-26