Network Managementإدارة الشبكات

الشريحة 1 من 13

مقدمة الفصل

ماذا ستتعلم في هذا الفصل

  1. What is network management?
  2. Internet-standard management framework: Structure of Management Information (SMI); Management Information Base (MIB); SNMP protocol operations; security and administration.
تفاصيل المصدرالفصل 9 · الشريحة ⁦2⁩
المصدر
الفصل 9 · الشريحة ⁦2⁩
ملاحظات حول المصدر (1)
  • يذكر المخطط «Transport Mappings» لكن لا شريحة تشرحها، والشريحة 13 رسم بلا نص.

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.
Network management
"Network management includes the deployment, integration and coordination of the hardware, software, and human elements to monitor, test, poll, configure, analyze, evaluate, and control the network and element resources to meet the real-time, operational performance, and Quality of Service requirements at a reasonable cost."

By definition, what does network management coordinate?

تفاصيل المصدرالفصل 9 · الشريحة ⁦3⁩
المصدر
الفصل 9 · الشريحة ⁦3⁩

Infrastructure for network managementبنية إدارة الشبكة

What is network management?

Managing entityالكيان المدير
Holds the management data and talks to the agents using the network management protocol.
Managed deviceالجهاز المُدار
Contains an agent and managed objects whose data is gathered into a Management Information Base (MIB).
Network management protocolبروتوكول إدارة الشبكة
Runs between the managing entity and the agents in the managed devices.
تفاصيل المصدرالفصل 9 · الشريحة ⁦4⁩
المصدر
الفصل 9 · الشريحة ⁦4⁩
ملاحظات حول المصدر (1)
  • الشريحة 4 رسم بتعريفات قصيرة؛ الوصف هنا مأخوذ من عناوين الرسم.

Network management standardsمعايير الإدارة

What is network management?

OSI CMIP

Common Management Information Protocol

  • Designed 1980's: the unifying net management standard
  • Too slowly standardized

SNMP

Simple Network Management Protocol

  • Internet roots (SGMP)
  • Started simple; deployed, adopted rapidly
  • Growth: size, complexity
  • Currently: SNMP V3
  • De facto network management standard

Which statement about network management standards is correct?

تفاصيل المصدرالفصل 9 · الشريحة ⁦5⁩
المصدر
الفصل 9 · الشريحة ⁦5⁩

SNMP overview: 4 key partsأجزاء SNMP الأربعة

SNMP overview and SMI

تذكّر دور كل جزء قبل الكشف.

  1. Management information base (MIB)
  2. Structure of Management Information (SMI)
  3. SNMP protocol
  4. Security, administration capabilities

Which part of the SNMP framework is the data definition language for MIB objects?

تفاصيل المصدرالفصل 9 · الشريحة ⁦7⁩
المصدر
الفصل 9 · الشريحة ⁦7⁩

SMI: data definition languageلغة SMI

SNMP overview and SMI

Purpose
Syntax, semantics of management data well-defined, unambiguous.
Base data types
Straightforward, boring.
OBJECT-TYPE
Data type, status, semantics of managed object.
MODULE-IDENTITY
Groups related objects into MIB module.

Basic Data Types (as printed on slide 8)

  • INTEGER
  • Integer32
  • Unsigned32
  • OCTET STRING
  • OBJECT IDENTIFIED
  • IPaddress
  • Counter32
  • Counter64
  • Guage32
  • Time Ticks
  • Opaque
تفاصيل المصدرالفصل 9 · الشريحة ⁦8⁩
المصدر
الفصل 9 · الشريحة ⁦8⁩
ملاحظات حول المصدر (1)
  • «OBJECT IDENTIFIED» و«Guage32» مطبوعتان هكذا في الشريحة، ويبدو أنهما خطآن مطبعيان.

SNMP MIB and SMI examplesMIB وأمثلة SMI

MIB modules and SMI examples

  • MIB module specified via SMI MODULE-IDENTITY (100 standardized MIBs, more vendor-specific).
  • Objects specified via SMI OBJECT-TYPE construct.
SMI: object, module examples (slide 10)

OBJECT-TYPE: ipInDelivers

  • SYNTAX Counter32
  • MAX-ACCESS read-only
  • STATUS current
  • DESCRIPTION "The total number of input datagrams successfully delivered to IP user-protocols (including ICMP)"
  • ::= { ip 9 }

MODULE-IDENTITY: ipMIB

  • LAST-UPDATED, ORGANZATION "IETF SNPv2 Working Group" (spelling as printed), CONTACT-INFO
  • DESCRIPTION "The MIB module for managing IP and ICMP implementations, but excluding their management of IP routes."
  • REVISION …
  • ::= { mib-2 48 }

In the MIB, the OBJECT-TYPE ipInDelivers has which SYNTAX and MAX-ACCESS?

تفاصيل المصدرالفصل 9 · الشرائح ⁦9–10⁩
المصدر
الفصل 9 · الشرائح ⁦9–10⁩

MIB example: UDP moduleوحدة UDP

MIB modules and SMI examples

MIB example: UDP module (slide 11)
Object IDNameTypeComments
1.3.6.1.2.1.7.1UDPInDatagramsCounter32total # datagrams delivered at this node
1.3.6.1.2.1.7.2UDPNoPortsCounter32# underliverable datagrams: no application at port
1.3.6.1.2.1.7.3UDInErrorsCounter32# undeliverable datagrams: all other reasons
1.3.6.1.2.1.7.4UDPOutDatagramsCounter32# datagrams sent
1.3.6.1.2.1.7.5udpTableSEQUENCEone entry for each port in use by app, gives port # and IP address
تفاصيل المصدرالفصل 9 · الشريحة ⁦11⁩
المصدر
الفصل 9 · الشريحة ⁦11⁩
ملاحظات حول المصدر (1)
  • «UDInErrors» و«underliverable» كما طُبعتا في الشريحة.

SNMP namingالتسمية في SNMP

  1. Question (slide 12)

    How to name every possible standard object (protocol, data, more..) in every possible network standard??

1.3.6.1.2.1.7.1 = udpInDatagrams (labels as printed on slide 12)

  1. 1

    ISO

  2. 3

    ISO-ident. Org.

  3. 6

    US DoD

  4. 1

    Internet

  5. 2

    management

  6. 1

    MIB2

  7. 7

    UDP

  8. 1

    udpInDatagrams

How does SNMP solve the problem of naming every possible standard object in every possible network standard?

تفاصيل المصدرالفصل 9 · الشرائح ⁦12–13⁩
المصدر
الفصل 9 · الشرائح ⁦12–13⁩
ملاحظات حول المصدر (1)
  • الشريحة 12 تصل كل رقم باسمه بخطوط في الرسم، وشجرة الشريحة 13 (صورة) تطبع أرقام الفروع نفسها.

SNMP protocol: two modesوضعا SNMP

SNMP protocol: modes, message types and formats

Two ways to convey MIB info, commands (slide 14)

Request/response modeالطلب والاستجابة

  • Managing entity sends a request
  • Agent in the managed device sends a response

Trap modeوضع التنبيه

  • Agent in the managed device sends a trap msg
  • to the managing entity
تفاصيل المصدرالفصل 9 · الشريحة ⁦14⁩
المصدر
الفصل 9 · الشريحة ⁦14⁩

SNMP message types and formatsرسائل SNMP

SNMP protocol: modes, message types and formats

SNMP protocol: message types (slide 15)
Message typeFunction
GetRequest, GetNextRequest, GetBulkRequestMgr-to-agent: "get me data" (instance, next in list, block)
InformRequestMgr-to-Mgr: here's MIB value
SetRequestMgr-to-agent: set MIB value
ResponseAgent-to-mgr: value, response to Request
TrapAgent-to-mgr: inform manager of exceptional event
Message formats (slide 16)

Get/set header

  • PDU type (0-3)
  • Request ID
  • Error Status (0-5)
  • Error Index
  • Then variables to get/set: Name, Value, …

Trap header

  • PDU type 4
  • Enterprise
  • Agent Addr
  • Trap Type (0-7)
  • Specific code
  • Time stamp
  • Then trap info: Name, Value, …

A router's agent notices an exceptional event and tells the manager without being asked. Which SNMP message is this?

تفاصيل المصدرالفصل 9 · الشرائح ⁦15–16⁩
المصدر
الفصل 9 · الشرائح ⁦15–16⁩

SNMP security and administrationأمن SNMP

Encryption
DES-encrypt SNMP message.
Authentication
Compute, send MIC(m,k): compute hash (MIC) over message (m), secret shared key (k).
Protection against playback
Use nonce.
View-based access control
SNMP entity maintains database of access rights, policies for various users; database itself accessible as managed object!

In SNMP security, how is authentication done?

تفاصيل المصدرالفصل 9 · الشريحة ⁦17⁩
المصدر
الفصل 9 · الشريحة ⁦17⁩

الخلاصة

تفاصيل المصدر
المصدر
الفصل 9

خريطة الفصل

    1. 1مقدمة الفصل
  1. What is network management?ما إدارة الشبكات؟

    1. 2What is network management?ما إدارة الشبكات؟
    2. 3Infrastructure for network managementبنية إدارة الشبكة
    3. 4Network management standardsمعايير الإدارة
  2. SNMP overview and SMIنظرة عامة على SNMP وSMI

    1. 5SNMP overview: 4 key partsأجزاء SNMP الأربعة
    2. 6SMI: data definition languageلغة SMI
  3. MIB modules and SMI examplesوحدات MIB وأمثلة SMI

    1. 7SNMP MIB and SMI examplesMIB وأمثلة SMI
    2. 8MIB example: UDP moduleوحدة UDP
  4. SNMP naming: the ISO object identifier treeتسمية SNMP: شجرة معرّفات كائنات ISO

    1. 9SNMP namingالتسمية في SNMP
  5. SNMP protocol: modes, message types and formatsبروتوكول SNMP: الأوضاع وأنواع الرسائل وصيغها

    1. 10SNMP protocol: two modesوضعا SNMP
    2. 11SNMP message types and formatsرسائل SNMP
    1. 12SNMP security and administrationأمن SNMP
    1. 13الخلاصة