310 likes | 431 Views
Modernà technologie Internetu. (1) Jan JaneÄek janecek@cs felk.cvut.cz. MANAGER. AGENTS. TABLES. VARIABLES. Architektura SNMP. Struktura systému správy. SNMP. OSI. TMN. 1980. 1982. 1984. 1986. 1988. 1990. 1992. 1994. 1996. 1998. 2000. Systémy správy sÃtÃ. SC21/WG4.
E N D
Moderní technologie Internetu (1) Jan Janeček janecek@cs felk.cvut.cz
MANAGER AGENTS TABLES VARIABLES Architektura SNMP Moderní technologie Internetu (1)
Struktura systému správy Moderní technologie Internetu (1)
SNMP OSI TMN 1980 1982 1984 1986 1988 1990 1992 1994 1996 1998 2000 Systémy správy sítí Moderní technologie Internetu (1)
SC21/WG4 ESTABLISHED MANAGEMENT FRAMEWORK CMIS/CMIP SYSTEMS MGT. OVERVIEW MANAGEMENT FUNCTIONS 1980 1982 1984 1986 1988 1990 1992 1994 1996 1998 2000 Vývoj OSI Moderní technologie Internetu (1)
SNMP SNMPv2 SNMPv2 SNMPv3 SGMP SNMP security (parties) (community) l t l d d d f u r r n e a e f a a a r c o s i d d d d n t o a e n n n p i t r n a a a o e t t t e r p s s s p m x e e l p m i CMOT HEMS/HEMP 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 Vývoj SNMP t t d d d d d f f r r r r a e a a a a r r s d d d d d o n n n p a a a o t t t r s s s p d d c i r r e a o s t d o s n i p a h o t r s p Moderní technologie Internetu (1)
WORK ON TMN STARTED BY SGIV M30 IDEAS FROM OSI MGT. WORK STARTED ON DERIVED STANDARDS RESPONSIBILITY MODEL BECAME ANNEX M3010 RESPONSIBILITY MODEL PART OF MAIN TEXT M3010 (rev.) 1980 1982 1984 1986 1988 1990 1992 1994 1996 1998 2000 Vývoj TNM Moderní technologie Internetu (1)
MANAGER AGENT Management Application MIB SNMP PDUs CONNECTIONLESS TRANSPORT SERVICE PROVIDER UDP Architektura SNMP Moderní technologie Internetu (1)
RFC RFC 1155 SMI Structureof Management Information RFC 1157 SNMP Simple Network Management Protocol RFC 1213 MIB-II Management Information Base Moderní technologie Internetu (1)
SMI Structure of Management Information RFC 1155 SMIv1 RFC 1212 CONCISE MIB DEFINITIONS RFC 2578 SMIv2 RFC 2579 TEXTUAL CONVENTIONS Moderní technologie Internetu (1)
SMIv1 SMIv2 SIMPLE TYPES: INTEGER INTEGER OCTET STRING OCTET STRING OBJECT IDENTIFIER OBJECT IDENTIFIER Integer32 - APPLICATION-WIDE Unsigned32 - TYPES: Gauge32 Gauge Counter32 Counter Counter64 - TimeTicks TimeTicks IpAddress IpAddress Opaque Opaque - NetworkAddress PSEUDO TYPES: BITS - Skalární datové typy Moderní technologie Internetu (1)
Unsigned32 Moderní technologie Internetu (1)
Gauge32 Moderní technologie Internetu (1)
Counter32 Moderní technologie Internetu (1)
MANAGED OBJECT INSTANCES name uptime address SNMP MANAGER AGENT Skalární objekty Moderní technologie Internetu (1)
~ address (1) info (2) 130.89.16.2 name (1) uptime (2) printer-1 123456 Identifikace objektů Moderní technologie Internetu (1)
Identifikace objektů address Object ID= 1.1 Object Instance= 1.1.0 Value of Instance = 130.89.16.2 info Object ID= 1.2 name Object ID= 1.2.1 Object Instance = 1.2.1.0 Value of Instance = printer-1 uptime Object ID = 1.2.2 Object Instance = 1.2.2.0 Value of Instance = 123456 alternative: Object ID = ~ info uptime Moderní technologie Internetu (1)
root joint-iso-ccitt (2) ccitt (0) iso (1) stnd (0) reg-auth (1) mb (2) org (3) dod (6) internet (1) experimental (3) directory (1) mngt (2) private (4) security (5) snmpV2 (6) snmpDomains (1) snmpProxys (2) mib-2 (1) snmpModules (3) enterprises (1) Management Information Base Moderní technologie Internetu (1)
OBJECT-TYPE: INTEGER OCTET STRING OBJECT IDENTIFIER BITS IpAddress Integer32 SYNTAX Counter32 Counter64 Gauge32 TimeTicks Opaque New Type read-only read-write MAX-ACCESS read-create accessible-for-notify not-accessible current STATUS deprecated obsolete DESCRIPTION "" Definice objektu Moderní technologie Internetu (1)
Definice objektu -- Definition of address address OBJECT-TYPE SYNTAX IpAddress MAX-ACCESS read-write STATUS current DESCRIPTION "The Internet address of this system" ::= {NEW-MIB 1} Moderní technologie Internetu (1)
destination next 2 2 2 3 3 7 5 2 1 5 9 7 2 8 3 8 9 3 3 Tabulka směrovací tabulka Moderní technologie Internetu (1)
~ address (1) info (2) routeTable (3) 130.89.16.2 name (1) uptime (2) dest(1) next(2) printer-1 123456 2 2 3 3 5 2 7 2 8 3 9 3 Tabulka Moderní technologie Internetu (1)
Indexace OID of Table = 1.3 1.3.1.5 => 5 1.3.2.5 => 2 1.3.1.9 => 9 1.3.2.9 => 3 1.3.2.7 => 2 1.3.1.1 => entry does not exist 1.3.2.1 => entry does not exist Moderní technologie Internetu (1)
routeTable (3) dest (1) next (2) 130.89.16.1 130.89.16.1 130.89.16.4 130.89.16.4 130.89.16.23 130.89.16.1 130.89.19.121 130.89.16.1 192.1.23.24 130.89.16.4 193.22.11.97 130.89.16.4 Indexace OID of Table = 1.3 1.3.1.130.89.16.23 => 130.89.16.23 1.3.2.130.89.16.23 => 130.89.16.1 1.3.1.193.22.11.97 => 193.22.11.97 1.3.2.193.22.11.97 => 130.89.16.4 1.3.2.130.89.19.121 => 130.89.16.1 Moderní technologie Internetu (1)
X.C.I1.I2 OID of Table Column number Index value 1 Index value 2 Vícenásobná indexace Moderní technologie Internetu (1)
1 = low costs 2 = high reliability routeTable (3) dest (1) policy (2) next (3) 130.89.16.23 1 130.89.16.23 130.89.16.23 2 130.89.16.23 130.89.19.121 1 130.89.16.1 192.1.23.24 1 130.89.16.1 192.1.23.24 2 130.89.16.4 193.22.11.97 1 130.89.16.1 Vícenásobná indexace 1.3.3.192.1.23.24.1 => 130.89.16.1 1.3.3.192.1.23.24.2 => 130.89.16.4 Moderní technologie Internetu (1)
Definice tabulky routeTable OBJECT-TYPE SYNTAXSEQUENCE OF RouteEntry MAX-ACCESSnot-accessible STATUScurrent DESCRIPTION"This entity’s routing table" ::={NEW-MIB 3} routeEntry OBJECT-TYPE SYNTAXRouteEntry MAX-ACCESSnot-accessible STATUScurrent DESCRIPTION"A route to a particular destination" INDEX{dest, policy} ::={routeTable 1} Moderní technologie Internetu (1)
Definice tabulky RouteEntry ::= SEQUENCE { dest ipAddress, policy INTEGER, next ipAddress } Moderní technologie Internetu (1)
Definice tabulky dest OBJECT-TYPE SYNTAXipAddress ACCESSread-only STATUScurrent DESCRIPTION"The address of a particular destination" ::={route-entry 1} policy OBJECT-TYPE SYNTAXINTEGER { costs(1) -- lowest delay reliability(2)} -- highest reliability ACCESSread-only STATUScurrent DESCRIPTION"The routing policy to reach that destination" ::={route-entry 2} next OBJECT-TYPE SYNTAXipAddress ACCESSread-write STATUScurrent DESCRIPTION"The internet address of the next hop" ::={route-entry 3} Moderní technologie Internetu (1)