SNMP
SNMP
request
response
CiscoSystems
Catalyst
Workgroup Switch
Managed Devices
Systems and Network Mana SNMP 11
gement
SNMP runs on UDP
• UDP = User Datagram Protocol
• Unreliable (no acknowlegment in UDP
protocol)
• Low overhead
• Won’t flood a failing network with
retransmissions
• UDP port 161 for sending, receiving
requests
• UDP port 162 for receiving traps
.1.3.6.1.2.1.1.6.0 is SNMPv2-MIB::sysLocation.0
Systems and Network Mana SNMP 17
gement
Structure of Management
Information (SMI)
• Defines how managed objects are named, and
specifies their datatypes (called syntax).
• Definition has three attributes:
– Name (also called object identifier). Two forms (both
very long):
• Numeric
• “Human readable”
– Type and syntax: defined using a subset of ASN.1
(Abstract Syntax Notation One)
• ASN.1 is machine independent
– Encoding:
• how an instance of a managed object is encoded as a string
of bytes using the Basic Encoding Rules (BER)
dod (6)
internet (1)
directory (1) mgmnt (2) experimental (3) private (4) security (5) snmpV2 (6)
variable bindings
get
response
get-next
response
1 2 3 4
1 4 1 6 1 3
10 11 14 15 16 17 18 19
get-bulk
response
set
response
inform
agent
NMS or
NMS
response
Application(s)