您好,欢迎访问三七文档
当前位置:首页 > 商业/管理/HR > 绩效管理 > 基于SNMP网络管理系统的设计与实现
西安电子科技大学硕士学位论文基于SNMP网络管理系统的设计与实现姓名:王西林申请学位级别:硕士专业:软件工程指导教师:丁振国;方建民20100315ᨬ㽕䱣ⴔ㔥㒰ᡔᴃⱘ亲䗳থሩᑓ⊯ᑨ⫼ˈ䅵ㅫᴎ㔥㒰Ꮖ⏫䗣ࠄབҞ⼒ӮⱘϾ乚ඳˈ݊䞡㽕⫼ϡ㿔㗠ஏDŽ㔥㒰䆒ⱘϡᮁࡴˈ㾘᮹䍟ᠽˈ㒧ᵘᛜࡴᴖˈҹঞᔧࠡᇍѢ㔥㒰ᅝܼ㽕∖ⱘ᮹Ⲟᦤ催DŽ㔥㒰ㅵ⧚Ҏਬ䳔㽕ϔϾᅲ⫼ⱘ㔥㒰ㅵ⧚㋏㒳ᴹᐂࡽҪӀᅲᯊᥠ㔥㒰ⱘᗻ㛑⢊ᗕˈⲥ⌟㔥㒰ᬙ䱰ঞӬ࣪㔥㒰㒧ᵘˈҹ㓈ᡸ㔥㒰ⱘℷᐌ〇ᅮ䖤㸠DŽᴀ᭛ⷨおњㅔऩ㔥㒰ㅵ⧚ण䆂㔥㒰ㅵ⧚ⱘ᳝݇ݙᆍˈℸ⸔Ϟ䆒䅵ᑊᅲ⦄њ㓐ড়㔥ㅵ㋏㒳ˈ㗙Џ㽕䋳䋷݊Ё᳡ࡵ఼ㅵ⧚ᄤ㋏㒳ⱘ䆒䅵Ϣᅲ⦄DŽ䆹ᄤ㋏㒳ߚЎ䜡㕂ㅵ⧚ᄤഫˈᗻ㛑ㅵ⧚ᄤഫˈᬙ䱰ㅵ⧚ᄤഫˈᅝܼㅵ⧚ᄤഫㄝDŽ㋏㒳䗮䖛㔥㒰ᢧᠥᇍ䳔ⲥⱘ䆒⚍䗝ৢˈ㛑ᶹⳟ䆒ⱘ䜡㕂ֵᙃঞ乍ᗻ㛑খ᭄ˈᦤկ㞾ࡼ䄺DŽᑊᄬখ᭄ܹᑧˈ䗮䖛ᇍग़᭄ⱘߚᵤ㒳䅵ˈҹ㸼ⱘᮍᓣᇚߚᵤⱘ㒧ᵰ䗮䖛Web义䴶Ⳉ㾖ⱘᰒ⼎㒭ㅵ⧚㗙DŽ䗮䖛䖭ѯਞˈՓㅵ⧚㗙ᇍ㔥㒰ᔧЁᄬⱘ䯂乬ঞ䱤ᙷ䖯㸠ᥦ䰸ˈᇍ㔥㒰䆒䖯㸠ড়⧚ⱘ䜡㕂ᬍDŽ䖬ᦤկњ䩜ᇍѢ⫼᠋ⱘ⏏ࡴˈߴ䰸ˈᬍˈᴗ䰤䆒㕂ᆚⷕׂᬍㄝᅝܼㅵ⧚ࡳ㛑DŽ㋏㒳ⱘ䆩䖤㸠⌟䆩㸼ᯢ䆹㋏㒳䖤㸠ৃ䴴ˈ〇ᅮˈ᪡Ⳉ㾖ˈᇍ᭄ⱘ䞛䲚໘⧚ޚ⹂ˈঞᯊDŽ䖒ࠄњ乘ᳳⱘⳂⱘDŽ݇䬂䆡˖㔥㒰ㅵ⧚SNMPMIB᭄䞛䲚ᗻ㛑ㅵ⧚$EVWUDFWWiththerapiddevelopmentandwidelyapplicationofnetworktechnology,nowadayscomputernetworkshavepenetratedintoallsidesofsocietyandtheimportantroleofitbecomesself-evident.Theincreasingofnetworkequipments,theexpendingofitsscale,thecomplexityofthestructuresaswellascurrentdemandsforincreasingnetworksecurity,allofwhichneedapracticalnetworkmanagementsystemtohelpcontroloverreal-timenetworkperformance,monitornetworkerrorsandoptimizenetworkstructureinordertomaintainanormalandstableoperationofnetwork.Thispaperstudiesthesimplenetworkmanagementprotocolandrelatedelements,onthisbasisofwhichdesignsandimplementsanintegratednetworkmanagementsystem.Theauthorofthispapermainlyworksonthedesigningandimplementingoftheservermanagementsubsystem,includingconfigurationmanagementsub-moduleperformancemanagementsub-module,faultmanagementsub-moduleandsecuritymanagementsub-module.Throughthenetworktopology,monitoreddevicecanbeclicked,soastohaveconfigurationinformationandvariousperformanceparameterschecked,automaticalarmprovided,parametersstoredaway,andthenaccordingtotheanalysisofhistoricaldataandstatistics,anintuitivewebpagedisplayedtothemanager.Basedonthesereports,networkproblemsandhiddendangercanberemoved,networkdevicesconfiguredorchanged.Thesystemalsoprovidesothersecuritymanagementfunctions,suchasadding,deleting,changing,modifyingthepermissionssettingsandpasswords.Systemcommissioningandtestingshowthatthesystemisreliable,stableandvisuallyoperation,andthatitisaccurateandtimelyfordataacquisitionandprocessing.Sothedesiredobjectiveisachieved.Keywords:NetworkManagementSNMPMIBDataAcquisitionPerformanceManagementᄺԡ䆎᭛߯ᮄᗻໄᯢ⾝ᡓᄺ᷵Ϲ䇼ⱘᄺ亢Ӭ㡃ⱘ⾥ᄺ䘧ᖋˈᴀҎໄᯢ᠔ਜѸⱘ䆎᭛ᰃ៥ϾҎᇐᏜᣛᇐϟ䖯㸠ⱘⷨおᎹঞপᕫⱘⷨお៤ᵰDŽሑ៥᠔ⶹˈ䰸њ᭛Ё⡍߿ࡴҹᷛ⊼㟈䇶Ё᠔㔫߫ⱘݙᆍҹˈ䆎᭛Ёϡࣙ݊ҪҎᏆ㒣থ㸼᪄ݭ䖛ⱘⷨお៤ᵰ˗гϡࣙЎ㦋ᕫ㽓ᅝ⬉ᄤ⾥ᡔᄺ݊ᅗᬭ㚆ᴎᵘⱘᄺԡ䆕к㗠Փ⫼䖛ⱘᴤ᭭DŽϢ៥ϔৠᎹⱘৠᖫᇍᴀⷨお᠔خⱘӏԩ䋵⤂ഛᏆ䆎᭛Ёخњᯢ⹂ⱘ䇈ᯢᑊ㸼⼎њ䇶ᛣDŽ⬇䇋ᄺԡ䆎᭛Ϣ䌘᭭㢹᳝ϡᅲП໘ˈᴀҎᡓᢙϔߛⱘ⊩ᕟ䋷ӏDŽᴀҎㅒৡ˖᮹ᳳ݇Ѣ䆎᭛Փ⫼ᥜᴗⱘ䇈ᯢᴀҎᅠܼњ㾷㽓ᅝ⬉ᄤ⾥ᡔᄺֱ᳝݇⬭Փ⫼ᄺԡ䆎᭛ⱘ㾘ᅮˈे˖ⷨお⫳᷵ᬏ䇏ᄺԡᳳ䯈䆎᭛Ꮉⱘⶹ䆚ѻᴗऩԡሲ㽓ᅝ⬉ᄤ⾥ᡔᄺDŽᄺ᳝᷵ᴗֱ⬭䗕Ѹ䆎᭛ⱘॄӊˈܕ䆌ᶹ䯙׳䯙䆎᭛˗ᄺ᷵ৃҹ݀Ꮧ䆎᭛ⱘܼ䚼䚼ߚݙᆍˈৃҹܕ䆌䞛⫼ᕅॄǃ㓽ॄ݊ᅗࠊ↉ֱᄬ䆎᭛DŽৠᯊᴀҎֱ䆕ˈ↩Ϯৢ㒧ড়ᄺԡ䆎᭛ⷨお䇒乬ݡ᪄ݭⱘ᭛ゴϔᕟ㕆ৡऩԡЎ㽓ᅝ⬉ᄤ⾥ᡔᄺDŽ˄ֱᆚⱘ䆎᭛㾷ᆚৢ䙉ᅜℸ㾘ᅮ˅ᴀᄺԡ䆎᭛ሲѢֱᆚˈᑈ㾷ᆚৢ䗖⫼ᴀᥜᴗкDŽᴀҎㅒৡ˖᮹ᳳᇐᏜㅒৡ˖᮹ᳳϔゴ㒾䆎1ϔゴ㒾䆎1.1乍Ⳃ㚠᱃䱣ⴔ䅵ㅫᴎ䗮ֵᡔᴃⱘ亲䗳থሩˈ䅵ㅫᴎ㔥㒰ᴀ䑿Ўֵᙃ⼒Ӯⱘ⸔䆒ᮑ⏫䗣њ⼒Ӯ⫳ѻ⫳⌏ⱘᮍᮍ䴶䴶ˈ៤Ў㒣⌢থሩⱘ䞡㽕㒘៤䚼ߚˈҎӀᇍ㔥㒰ⱘձ䌪г᮹ⲞᔎDŽϢℸৠᯊˈ㔥㒰㾘䗤ℹᠽˈ㔥㒰䆒㔥㒰ᑨ⫼ǃ᳡ࡵⳌᇍˈᇐ㟈㔥㒰ㅵ⧚ⱘᴖᑺгࡴDŽ⬅ℸˈབԩᇍ㔥㒰䖯㸠ᗻ㛑ㅵ⧚ˈᇸ݊ᰃᇍ᭄䖯㸠䞛䲚ǃߚᵤ໘⧚ˈҢ㗠ᡒࠄ㔥㒰Ёᶤѯ┰ⱘ䯂乬ᑊঞᯊ㾷އˈህ៤Ў⾡ᇣ㾘ǃ䜡㕂䖹ᓖⱘ㔥㒰ⱘㅵ⧚㗙Ӏ䴶ЈⱘϹዏ䯂乬DŽᴀ䇒乬ᰃ䖑ᅕⳕᶤख़Ā⫼᠋᭄ᶹ䆶㋏㒳㓐ড়㔥㒰ㅵ⧚āᔧЁⱘϔϾᄤ㋏㒳DŽ䆹㋏㒳ᰃ⸔㔥㒰ᓎ䆒ᅠ៤ৢᴹᅲ⦄ⱘѠᳳᎹ乍ⳂDŽϔϾ㒘㒛㢅䌍䞣ⱘᯊ䯈䌘䞥ᓎゟ䍋ᴹⱘ䅵ㅫᴎ㔥㒰ˈ䱣ⴔֵᙃ⌕ⱘࡴ㔥㒰ⱘ䖯ϔℹᠽˈ┰䯂乬ⱘ᭄ⳂӮ䱣Пࡴˈ䖭ህ䳔㽕ϡᮁⱘ䖯㸠㓈ᡸӬ࣪ˈҹᦤ催㔥㒰ⱘᗻ㛑ˈ⬅ℸѻ⫳њ㔥㒰ᗻ㛑ㅵ⧚ⱘὖᗉ@DŽ㔥㒰ㅵ⧚ᰃࠊϔϾᴖⱘ䅵ㅫᴎ㔥㒰Փᅗ᳔᳝催ⱘᬜ⥛⫳ѻⱘ䖛ˈ䖭ϔ䖛䗮ᐌࣙᣀ᭄ᬊ䲚ǃ᭄໘⧚᭄ߚᵤᑊᦤկ㾷އᮍḜDŽ㔥㒰ㅵ⧚㋏㒳ህᰃ⬅䖭ḋⱘϔ㒘䕃ӊ㒘៤ˈᅗӀⱘՓ⫼ৃҹᦤ催㔥㒰ⱘᬜ⥛DŽ1.2ݙⷨおὖމ㔥㒰ᗻ㛑ⲥ⌟Ϣߚᵤᰃ㔥㒰ㅵ⧚ⱘϔ䚼ߚDŽᅗ⍝ঞࠄ䅵ㅫᴎԧ㋏㒧ᵘǃ㔥㒰ᡔᴃǃ᪡㋏㒳ǃ᭄ᑧǃ䗮ֵᡔᴃㄝ䇌乚ඳˈᰃϔ䮼㓐ড়ᡔᴃDŽⳌᔧ䭓ⱘᯊ䯈ݙˈҎӀᑊ≵᳝ᇚ㔥㒰ㅵ⧚Ўϧ䮼ⱘ䯂乬ⷨおDŽ䱣ⴔInternetՓ⫼㣗ೈⱘᠽˈଚϮᑨ⫼ⱘˈ㔥㒰ㅵ⧚៤Ў㔥㒰থሩЁϔϾᕜ䞡㽕ⱘ݇䬂ᡔᴃDŽᅗⱘ䞡㽕ᗻᏅ㒣ᮍ䴶ᕫࠄԧ⦄ˈᑊЎ䍞ᴹ䍞ⱘҎ᠔䅸䆚[2]DŽ䅵ㅫᴎ㔥㒰ⱘㅵ⧚ᰃԈ䱣ⴔ1969ᑈϪ⬠ϞϔϾ䅵ㅫᴎ㔥㒰ARPANETѻ⫳㗠ѻ⫳ⱘDŽᔧᯊⱘARPANETҹঞৢᴹ݊Ҫ㒧ᵘⱘ㔥㒰ˈབIBMⱘSNAǃDECⱘDNAAPPLEⱘAppleTalkㄝˈ䛑ᢹ᳝㞾Ꮕⱘ㔥㒰ㅵ⧚㋏㒳DŽሑㅵབℸˈ⬅Ѣᔧᯊ㔥㒰㒧ᵘ䴲ᐌㅔऩˈϔϾㅔऩࡳ㛑ⱘ㔥㒰ㅵ⧚㋏㒳ህ䎇ҹ⒵䎇㓈ᡸ㔥㒰ℷᐌᎹⱘ䳔∖DŽℸˈᮽᳳⱘ㔥㒰ㅵ⧚㋏㒳ᕔᕔᰃॖଚ㞾Ꮕⱘ㔥㒰㋏㒳Ёᓔথߎᴹⱘϧ⫼㋏㒳ˈ㱑✊㞾Ꮕⱘϧ⫼㔥㒰䞠㸼⦄ߎ㡃དᗻ㛑ˈԚᰃᇍ݊Ҫॖଚ䆒ⱘᬃᣕैϡሑབҎᛣDŽⱘѢSNMP㔥㒰ㅵ⧚㋏㒳ⱘ䆒䅵Ϣᅲ⦄280ᑈҷ߱ᳳInternetⱘߎ⦄থሩ᮹Ⲟ䅽ҎӀᛣ䆚ࠄ㔥㒰ㅵ⧚ⱘ䞡㽕ᗻDŽⱘҎᓔྟ݇⊼䖭Ͼ乚ඳDŽⷨおᓔথ㗙Ӏ䩜ᇍ᠔䘛ࠄⱘ䯂乬ˈᕜᖿᦤߎњ⾡㔥㒰ㅵ⧚ᮍḜˈ݊Ёࣙᣀ催ሖᅲԧㅵ⧚㋏㒳(High-levelEntityManagementSystems,HEMS)ㅔऩ㔥݇ⲥ㾚ण䆂(SimpleGatewayMonitoringProtocol,SGMP)ǃ䗮⫼ㅵ⧚ֵᙃ᳡ࡵ(CommonManagementInformationService,CMIS/CMIP)[3]ㄝㄝDŽࠄ1987ᑈᑩˈInternetⱘḌᖗᴎᵘIAB(InternetArchitectureBoard)ᛣ䆚ࠄ䳔㽕ӫⱘ㔥㒰ㅵ⧚ᮍḜЁ䖯㸠䗝ᢽˈҹ֓䲚Ёᇍ㔥㒰ㅵ⧚ⱘⷨおDŽIAB䳔㽕䗝ᢽ䗖ড়ѢTCP/IP㔥㒰⡍߿ᰃInternetⱘㅵ⧚ᮍḜDŽ1988ᑈ3᳜ⱘӮ䆂ϞIABࠊᅮњInternetㅵ⧚ⱘথሩ⬹ˈे䞛⫼њSGMPЎⷁᳳⱘInternetㅵ⧚㾷އᮍḜˈᑊ䗖ᔧⱘᯊ䕀CMIS/CMIPDŽৠᯊˈIAB䖬ߚ߿៤ゟњⳌᑨⱘᎹ㒘ᇍ䖭ѯᮍḜ䖯㸠䗖ᔧⱘׂᬍˈՓᅗӀ䗖⫼ѢInternetㅵ⧚DŽ䖭ѯᎹ㒘䱣ৢߎњㅔऩ㔥㒰ㅵ⧚ण䆂(SimpleNetworkManagementProtocol,SNMP)[4]˄1988ᑈ˅CMT(CMS/CMIPonTCP/IP)(1989ᑈ˅DŽԚᰃˈᅲ䰙ᚙމⱘথሩैᑊ䴲ڣIAB᠔䅵ߦⱘ䙷ḋDŽSNMPϔ㒣ߎህᕫࠄњᑓ⊯ⱘᑨ⫼ᬃᣕˈ㗠CMIS/CMIPⱘᅲ⦄ै⬅Ѣ݊ᴖᗻᅲ⦄ҷӋ䕗催㗠䘛ࠄњೄ䲒DŽᔧISOϡᮁCMIS/CMIPՓПϡᮁ䍟Ѣ៤❳ᯊˈSNMPैᅲ䰙ᑨ⫼⦃๗ЁᕫࠄњẔ偠থሩDŽOI1990ᑈIETF(InternetEngineeringTaskForceˈInternetᎹӏࡵ㒘˅RFC1157Ёℷᓣ݀ᏗњSNMPv1ˈ1993ᑈ4᳜RFC1441ЁথᏗњSNMPv2ˈ1998ᑈজRFC2271ЁᓔྟњSNMPv3[5]ⱘᓔথˈᑊѢ2002ᑈ12᳜RFC3410-RFC3418Ё䖯ϔℹᅠњSNMPv3ⱘㅵ⧚Ḛᶊ䅵ㅫᴎ㔥㒰ᴖᗻⱘࡴˈՓ㔥㒰ᗻ㛑ㅵ⧚ⱘ㽕∖ᛜᴹᛜ催ˈЎ⒵䎇䖭⾡䳔∖ˈ㔥㒰ㅵ⧚㋏㒳ᖙ乏ϡᮁഄᦤ催থሩDŽҞৢⱘ㔥㒰ㅵ⧚㋏㒳ᇚᳱⴔ㔥㒰ㅵ⧚Web࣪ˈ㔥㒰ㅵ⧚ሖ࣪ˈ㔥㒰ㅵ⧚ण䆂䲚៤࣪ˈ㔥㒰ㅵ⧚ᱎ㛑࣪䲚៤㋏㒳ㅵ⧚ϾᮍথሩDŽ✊㗠ݙˈ⬅Ѣ䅵ㅫᴎ㔥㒰ⱘথሩ㔥㒰ㅵ⧚ᡔᴃⱘথሩ䛑䍋ℹ䕗ᰮˈℸⱘܜ䖯∈ᑇⳌ↨ˈ㞾✊᳝ϡᇣⱘᏂ䎱DŽݙⱘ㔥㒰ㅵ⧚ѻકᕜᇥˈᑊϨህࡳ㛑ᗻ㛑㗠㿔ˈгᕜ䲒ѻકႆ㕢DŽℸˈܙߚᬊ㔥ㅵѻકӬ⚍ⱘ⸔Ϟˈᓔথߎ䗖ড়ᚙᅲ䰙䳔㽕ⱘ㞾Ꮕⱘ㔥ㅵѻકˈህ៤ЎϔϾ䴲ᐌ䞡㽕ⱘ䇒乬DŽ1.3䆎᭛ⷨおᎹ㔥㒰ᓎ䆒߱ᳳˈ㔥㒰ㅵ⧚㗙ᕔᕔ⊼䞡Ѣ⹀ӊ䆒ⱘ〇ᅮᗻˈ䱣ⴔ㔥㒰䆒ⱘϡᮁࡴˈ㔥㒰ᢧᠥⱘϡᮁᮄˈব࣪ˈՓᕫ߱ᳳҹᎹᅲ⦄ㅔऩⱘ㔥㒰ㅵ⧚ᮍᓣ᮴⊩䗖ᑨᮄⱘ㽕∖ˈ䆌ॖଚⱘ㔥㒰ㅵ⧚䕃ӊ䲒Ѣ᪡ˈ㗠ϨᇍѢᡔᴃҎਬ᠔ⱘϧϮⶹ䆚᳝ᕜ催ⱘ㽕∖DŽᑊϨা㛑䩜ᇍᶤϔॖଚ᠔⫳ѻⱘ䆒ᴹᅲ⦄ㅵϔゴ㒾䆎3⧚DŽᇍѢ㔥㒰ᔧЁߎ⦄ⱘ䯂乬᮴⊩䖙䗳᳝ᬜⱘডᑨDŽЎℸˈᴀ᭛∖ᇚ⧚䆎Ϣᅲ䏉Ⳍ㒧ড়ˈᇍ㔥㒰ㅵ⧚䖯㸠䯤䗄ⱘৠᯊˈ䩜ᇍҹϞᄬⱘ㔎⚍ሔ䰤ᗻˈ߽⫼SNMP㓪ষᓔথ㔥㒰⌕䞣䞛䲚ᑣˈᅲ⦄㔥㒰⌕䞣ֵᙃⱘ㞾ࡼ䞛䲚ˈՓᕫ
本文标题:基于SNMP网络管理系统的设计与实现
链接地址:https://www.777doc.com/doc-5578591 .html