Transcription

SNMP DP&NM Lab.Dept. of Computer Science and EngineeringPOSTECH, Pohang KoreaTel: 82-54-279-5654Email: {jungseok}@postech.ac.kr

SNMP SNMP (2)POSTECHDP&NM Lab.

!"# %&'( %&'( ) * ,- .* /012 3456 78# 9:; (9:; ( ?12 ( ?12 @A 8 ) B- CD'CD' EF1GH SNMP)) IJ,K NMS)) L& NMS M N O * ,- .* SNMP / CPQ R LSNMP (3)POSTECHDP&NM Lab.

Network Management System SNMP (4)POSTECHDP&NM Lab.

SNMP-based NMS (1)NMS ConsoleSNMPSNMP agentManaged DevicesSNMP (5)POSTECHDP&NM Lab.

SNMP-based NMS (2)SNMP (6)POSTECHDP&NM Lab.

SNMP-based NMS SNMP MIB SNMP MIB SMNP SNMP Manager UI ( ,SNMP !" # % &' (&' ( ) *(7)POSTECHDP&NM Lab.

SNMP-based NMS ! " # -. / 01 2 34 5 67 89:; : [email protected] [email protected] (DBC (DE F(DE F GHIGHI J KE / LMLN 01 OP 5 :;(D Q (D Q RS T [email protected] NMS U / debug [email protected] [email protected] !"U / 7 SNMP !"WXNY Z[ \](8)POSTECHDP&NM Lab.

SNMP SA O TUV 5 WK Solution X8Î Solution: SNMP / CPQ R- NMS NMS ConsoleSNMP SNMPSNMP agentManaged DevicesSNMP (9)POSTECHDP&NM Lab.

– MIMIC (1) Gambit SNMP Agent Simulator MIB MIMIC recorder SNMP v1, v2c, v3 MIB !" # %&' %&'()* &'()* , -. SNMP (10)POSTECHDP&NM Lab.

– MIMIC (2) –––––––MIMIC ViewMIMIC SimulatorMIMIC RecorderMIMIC CompilerMIMIC ShellWizard ( MIB, Discovery, Simulation, Topology)Library ( Device, Networks, MIB)SNMP (11)POSTECHDP&NM Lab.

/01234/567 /01234/567 /89:'; 4 7'/01 [email protected]– ! "# % &' /0 34'; 4 7'/0 34'; 4 7'AA /89:'BC&'BDE SNMP (12)POSTECHDP&NM Lab.

fixed, sequential, random,randomUp, clock, lastset SNMP row & !"# % '() * , SNMP -. /0 125 SNMP (13)34 POSTECHDP&NM Lab.

Simple Agent Pro SimpleAgent multiple agent instance support version FGHI# Simple agentJJ KL FM N O PQ Map 6 agent IP, MIB MIB variable !" # %&'( "0 123 4 # %&'( " )* ,- ./ simulator0 - Tcl/Tk based scriptingRR SNMP (14)POSTECHDP&NM Lab.

GeNMSim Tcl/TkRR FSI# T MileStone SNMP U VWX )- Tcl/Tk callback function - ! " GeNMSim ëProbeí # %& ' () .() - * SNMP , - . SNMP (15)POSTECHDP&NM Lab.

SNMP!" # I JEK [email protected] ABC F,:[email protected] D EABC5678 ,OPQ 5678 9:; MLN JEK LSNMP (16)POSTECHDP&NM Lab.

% &' &' &' SNMP SNMP 6 RST: MIB D E loading UVW MIB D E Y 7 UX SNMP agentSNMP agent simulatorSNMP MIB supportCompile timeRun timeBack-end processHard codedDynamic, User configurableUser InterfaceNoYesChanging MIB on runtimeNoYesFlexibilityNoYesSNMP (17)POSTECHDP&NM Lab.

% &' MIB ( )* , , SNMP MIB !"#!"# %&' SNMP ( ) * , - hard-coding ./ 01 234 5" 5"6"#ASCII7878 MIB 9 6"#compiler ? [email protected] [email protected]:; . . MIBA"#B A"#B C D 9 78 EFG HI J 0. K MIB compiler [email protected]@N"#SNMPN"#“get next” - 01 OP QRS' SNMP T UV0 MIB 2W- ( 0 . SNMP (18)POSTECHDP&NM Lab.

% &' MIB - # )* , , NMS XY OID Z SNMP request- [ \] ? T managed information ab# ab#c b#c J NMS d0 ef ef back end [email protected]@ 0 . g. g- Managed information 6 6 ! SNMP request "# %&'( )* , - 6 )* #. /0 12 34 53 6)7 8 9Increment, Decrement, Random, Timestamp::;- SNMP )* script ? @A BCBC D-EF G )* , HI 9Tcl/Tk, Perl: : JK ;C ;CSNMP (19)POSTECHDP&NM Lab.

./ SNMP!" #0 1SNMP Agent SimulatorSNMP Agent ManagerSNMP AgentzutwG G Gp s Gtpil G zutwG{ Gm n Gs zutwGh Gt G Gp tpiG G n l s o n p G GzutwG SNMP (20)h G G G p G Gh Gt zutwGw Gw z G POSTECHDP&NM Lab.

. 23 OS– Microsoft Windows NT 4.0 & Windows 2000 Language– Microsoft Visual C 6.0 Net-SNMP library– Version 4.1.2 , SNMP agent , C SNMPagent class SNMP (21)POSTECHDP&NM Lab.

./ SNMP agentSNMP (22)!" # (1)POSTECHDP&NM Lab.

./ SNMP agent!" # (2) SNMP MIBSNMP SNMP SNMP community Event log SNMP TRAP SNMP MIB MIB MO SNMP (23)POSTECHDP&NM Lab.

./ SNMP agentSNMP (24)!" # (3)POSTECHDP&NM Lab.

./ SNMP agentSNMP (25)!" # (4)POSTECHDP&NM Lab.

./ SNMP agentSNMP (26)!" # (5)POSTECHDP&NM Lab.

45 (1) !" # %& '( )* ,- )* ,- . / 0' 123123 )* ,- )* ,- . * ) 45 6 7 * ) 458458- 98- 98 98-4:; 8-4:; # %& [email protected] 45B/ C DE 8DE 8-( !238-( 8( 8- E 8- E F !23 GF FA HI J KF )* ,- )* ,- . 6 L MNO3MNO3 JP )* ,- Q RS 8)* ,- . RS 8-4:8-4:T )* ,- Q U3)* ,- . U3 )* ,- )* ,- . VWXYY VWXYY Z[ \] F ab cdefcdef)* ,-WghiXij )* ,-WghiXij 23 23SNMP (27)POSTECHDP&NM Lab.

45 (2) k )* ,- l mn op RS J)* ,- . K qWrhXW-dsdce-Wrq-tXcuWdi qWrhXW-dsdce-Wrq-tXcuWdi vw dsdcexAdsdcexAYdigXWgyXegrc z]YdigXWgyXegrc z] {'U3{'U3 * )45n ] )45n ] edYefedYefhduhdu 123123 )* ,-Xqdce45* ,-Xqdce45 n ] } -Z[ } -Z[ 12 )* ,-Xqdce-rh dVe/)* ,-Xqdce-rh dVe/ - - ;23;23- ]3- ]O ) ] ) ] / U }cYeXce )* ,-Xqdce-errW ge- )* ,-Xqdce-errW ge- 123123– } -Vr gWd-mn } -Vr gWd-mn hXV -dcu- irVdYY-ud gcgegrc-eXhWd w \ ; )* ,-Xqdce )* ,-Xqdce 45 12SNMP (28)POSTECHDP&NM Lab.

67 89 SNMP . J B J R SNMP .l A 12.12 F SNMP . x ¡p # %& '(x ; P # %& A § ª 12. # %& SNMP . Hk « SNMP . O. OSNMP (29) vpl / POSTECHDP&NM Lab.

SNMP % %&' &' &' ˇˆ ˇˆ ˇˆ &' &' &' SNMP SNMP RST: MIB DE loading UVW MIB DE DE UX UX Y Yes No Changing MIB on runtime Yes No Flexibility Yes No User Interface Dynamic, User configurable Hard coded Back-end process Run time Compile time SNMP MIB support SNMP agent simulator SNMP agent