CH 10 SNMP SNMPRFC SNMP l SNMPv 1

  • Slides: 48
Download presentation
CH 10 SNMP

CH 10 SNMP

SNMP相關RFC文件

SNMP相關RFC文件

SNMP共有三個版本 l SNMPv 1: 1990 ~ 1991年 l SNMPv 2: 1992年 7月 l SNMPv

SNMP共有三個版本 l SNMPv 1: 1990 ~ 1991年 l SNMPv 2: 1992年 7月 l SNMPv 3: 1998年 1月

SNMPv 2指令群

SNMPv 2指令群

SNMP社群

SNMP社群

描述管理資訊格式的三種語言 l SMI管理資訊結構 (Structure of Management Information) l ASN. 1抽象化語法標記語言 (Abstract Syntax Notation One)

描述管理資訊格式的三種語言 l SMI管理資訊結構 (Structure of Management Information) l ASN. 1抽象化語法標記語言 (Abstract Syntax Notation One) l BER基本編碼規則 (Basic Encoding Rules)

SNMP網管架構資料型態 l 4個基本型資料型態(Primitive type) l 2個建構型資料型態(Constructor type) l 6個衍生型資料型態(Application type)

SNMP網管架構資料型態 l 4個基本型資料型態(Primitive type) l 2個建構型資料型態(Constructor type) l 6個衍生型資料型態(Application type)

BER編碼原則 BER編碼代號 資料型態 BER編碼代號 PDU型態 02 INTEGER A 0 Get. Request-PDU 04 OCTET STRING

BER編碼原則 BER編碼代號 資料型態 BER編碼代號 PDU型態 02 INTEGER A 0 Get. Request-PDU 04 OCTET STRING A 1 Get. Next. Request-PDU 06 OBJECT IDENTIFIER A 2 Get. Response-PDU 05 NULL A 3 Set. Request-PDU 30 SEQUENCE/ SEQUENCE OF A 4 Trap-PDU

SNMP的訊息格式 l SNMP標頭(SNMP Header ) n 版本(version) n 社群名稱(community name) l SNMP通訊協定資料單元(Protocol Data Unit,

SNMP的訊息格式 l SNMP標頭(SNMP Header ) n 版本(version) n 社群名稱(community name) l SNMP通訊協定資料單元(Protocol Data Unit, PDU) n PDU標頭 n PDU資料

SNMPv 2 PDU型態編號 類型 0 Get. Request PDU 1 Get. Next. Request PDU 2

SNMPv 2 PDU型態編號 類型 0 Get. Request PDU 1 Get. Next. Request PDU 2 Get. Response PDU 3 4 Set. Request- PDU Obsolete (原為SNMPv 1的Trap,SNMPv 2將其廢棄掉) 5 Get. Bulk. Request PDU 6 Inform. Request PDU 7 SNMPv 2 Trap PDU

Get. Bulk. Request指令訊息PDU格式

Get. Bulk. Request指令訊息PDU格式

SNMPv 2 Trap 及Inform. Request 指令訊息PDU格式

SNMPv 2 Trap 及Inform. Request 指令訊息PDU格式

SNMPv 2 Trap 及Inform. Request 錯誤狀態及編號 錯誤狀態編號 類型 0 No. Error 10 wrong. Value

SNMPv 2 Trap 及Inform. Request 錯誤狀態及編號 錯誤狀態編號 類型 0 No. Error 10 wrong. Value 1 too. Big 11 no. Creation 2 no. Such. Name 12 inconsistent. Value 3 bad. Value 13 resource. Unavailable 4 read. Only 14 commit. Failed 5 gen. Err 15 undo. Failed 6 no. Access 16 authorization. Error 7 wrong. Type 17 not. Writable 8 wrong. Length 18 inconsistent. Name 9 wrong. Encoding