-?????????RMON - PowerPoint PPT Presentation

1 / 56
About This Presentation
Title:

-?????????RMON

Description:

Title: Author: xhh Last modified by: xhh Created Date: 5/11/2001 3:01:09 AM Document presentation format: Company – PowerPoint PPT presentation

Number of Views:58
Avg rating:3.0/5.0
Slides: 57
Provided by: xhh
Category:
Tags: rmon | snmpv2

less

Transcript and Presenter's Notes

Title: -?????????RMON


1
???????
  • -?????????RMON

2
???
  • 4.1 RMON?????
  • 4.2 RMON??????
  • 4.3 RMON-2??????

3
4.1 RMON?????
  • RMON???????????????(Remote network
    MONitor),???????????????,???????(Analyzer)????(Pro
    be)????LAN????????,???????(??????,?????)???????
    ???????,???????????(??4.1 P83)
  • RMON???RMON???,???RMON-MIB,????????SNMP?????????M
    IB???????????,???RMON??????????????RMON???,??????
    ????????

4
4.1 RMON?????
  • 4.1.1 ???????RMON???
  • RMON??????????????????,??SNMP????RMON?????????RMO
    N??????????????,???????????????????,???????
  • ????????????????????,??????,???????????,?????,???
    ??????????
  • ????
  • ???????????????????,??????????????,??????????
  • ?????????????????,?????????????
  • ?????????????????,????,????,???????????????

5
  • 4.1.2 ?????
  • ?SNMP V1?,???????????????????RMON??????????????
  • ???????????1OwnerStringDisplayStringhe
    ?2EntryStatusINTERvalid(1),creatRequest(2),u
    nderCreation(3),invalid(4)
  • RNOM??????????????(??4.2)
  • 1???????????,??????????
  • 2????????rmlControlIndex????rmlControlTable????
    ???(??)???????rmlDataTable????????rmlControlPara
    meter?????????????????,?????????,?????????rmlCont
    rolOwner???????????rmlControlStatus???????(??????
    ??????)?

6
  • 3??????
  • rmlDataControlIndex?rmlDataIndex?????(??rmlDataCon
    trolIndex?????????rmlControlIndex???)
    rmlDataValue??????
  • ???????set???RMON??????,????
  • 1????SetRequest????,???????????????????,????????
    ?,??????createRequest(2)
  • 2??????,??????????underCreation(3).?????????????
    ??,?????????,????????????,??????,??????????

7
  • 3????????underCreation(3),??????????????????????
    ?????????????valid(1)
  • 4???????????????,???????????
  • 5????????????????????????,??????????,??????
  • 6???????????????????invalid???valid,??????????,?
    ????????
  • ??????????????SetRequest PDU,?????????invalid(4),
    ?????(?????????????????)
  • ??????????????invalid(4),???SetRequest
    PDU?????????,?????????valid(1)

8
  • 4.1.3??????
  • ????(?RMON??????????????)?????????
  • 1????????????????????????
  • 2??????????????????,??????????
  • 3???????????????,????????
  • ????(??RMON????????Owner??????????,????????????)
  • 1?????????????,?????????????
  • 2?????????????????,????????????
  • 3???????????????????????????????
  • 4????????????,???????????????

9
  • RMON????
  • 1???????IP??,????,?????,??,????
  • 2???????????????????
  • 3????????RMON???????????????,?????????????,?????
    ?????????????,????????????
  • 4????????,??????????????,??????????????????,????
    ??????????,?????????????????

10
4.2 RMON??????
  • RMON??MIB-2??16???(P40)

??RMON?????1.3.6.1.2.1.16
11
  • RMON?10???

12
  • RMON?10???????????
  • 1?????????????
  • 2?????N????????????
  • 3?????????????

13
  • 4.2.1 ????????
  • ???(statitics)
  • 1???????4.6 P89
  • 2????????,????????????????
  • 3???????????????????????
  • 4???etherStatsIndex
  • 5?????????????,?????????etherStatsIndex(1)?????
    ,????etherStatsDataSource(2),????????,???????????
    ???,??????MIB-2?interface??????ifIndex???

14
  • 6???????????etherStatsDropEvents,
    etherStatsOwer, etherStatsStatus
  • 7?????MIB-2??????????,???????????,?????????MIB-
    2 ??dod3??????????,????????????
  • 8????????????,????,??????

15
  • ???(history)
  • 1???????4.7 P91
  • 2???????historyControlIndex???????etherHistory
    Index?etherHistorySampleIndex?????.
  • 3?????????????????????,?????????
  • 4???????????????,??????,??????????
    ????????????????????
  • 5???????????historyControlInterval????????,1-36
    00?,???1800?historyControlBucketsGrand?????????,?
    ??50?(??????50?)????etherHistoryUtilization??????
    ???

16
  • 6??????????

?? 1Packets????? 2Octets????????? 3Interval
??????? 4????(?????10mb/100mb,modem55.6kb)? 5?
??????
17
  • 7??????????????(??4.8 P 92)
  • ??????????????????????????????30??30????????????
    ????????????

historyControlIndex historyControlDataSource
historyControlBuketsGranted historyControlInterval
1 D1 B1 I1
2 D2 B2 I2

K DK BK IK
etherHistoryIndex etherHistorySampleInde
x
1 X1
1 X2

1 XB1
2 Y1

2 YB2
18
  • 8??????????? ??????
  • ??historyControlBuketsGranted????????????,????????
    historyControlBucketsRequested?????
  • ?????(????bucket)???????????
  • ?????etherHistoryPktsetherStatsPkts(tn)-
    etherStatsPkts(t(n-1))
  • ??????????,??????????????,???etherHistory??????His
    toryControlIndex??,?etherHistorySampleIndex???1?
  • ?etherHistorySampleIndex?????historyBucketsGranted
    ????,???????????????,????????(????
    ??????X??????????Y????)

19
  • ???(host)
  • 1???????4.10 P93 ???,???????????
  • 2??????????hostControlIndex??????????hostAddres
    s.?hostIndex????????????hostTimeCreationOrder?hos
    tTimeIndex?????hostIndex?hostTimeIndex?hostContro
    lIndex???
  • 3 ???????????????,??????????
  • 4?????????????,???????????????????,???????(??)??
    ?????????????
  • 5?????????????,?????????????????

20
  • 6???hostTable? ???
  • NN1N2NiNk
  • ??Ni??????I?hostControlTableSize??
  • k????????
  • N???????
  • I???????hostControlIndex??

21
??
  • 1?????2 k2
  • 2??1???1??,???hostControlIndex1,???host
    ControlTablesize3 (N13)
  • 3??2???2??,???hostControlIndex2,???host
    ControlTablesize2 (N22)
  • 4NN1N25

22
  • 7?????hostTable???????MAC??hostAddress????hostIn
    dex?????
  • 8??????????,??????????????????,????????????,????
    ???????,??hoatContrlTableSize ?1,
  • 9?????hostTimeTable?hostTable?????,????????hsotT
    imeCreationOrder??,????MAC??,???
  • ????????????????,????????????????????SNMP?Get?GetN
    ext PDU?,??????
  • ????????????????????????

23
  • ??N????(hostTopN)
  • 1???????4.11 P95 ???,???
  • 2??????????hostTopNControlIndex??????????hostTo
    pNReport?hostTopNIndex???
  • 3 ??????????????N?????????
  • 4???????????????????????????????????????????
    ???????????????????
  • 5??n???????????????????????n??????

24
  • 6??hostTopRateBase???,????????p93?hostTable(2)
  • INTEGER
  • hostTopNInpkts(1)
  • hostTopNOutpkts(2)
  • hostTopNInOctets(3)
  • hostTopNOutOctets(4)
  • hostTopNOutErrors(5)
  • hostTopNOutBroadcastPkts(6)
  • hostTopNOutMulticastPkts(7)

25
  • 7??????
  • ?????????????,???????,????????????????????????????
    ???s???hostTopNDuration?hostTopNTimeRemaining????
    ?hostTopNDuration????,?hostTopNTimeRemaining??,???
    ?????,??????0?,?????????,??N???????????hostTopNIn
    dex??,N?????????????????????????????????????????
    ???????hostTopNTimeRemaining??hostTopNDuration??,?
    ?????????,????????

26
  • ???(Matrix)
  • 1???????4.13 P96 ???,???
  • 2??????????matrixControlIndex??????matrixSDTabl
    e,?????matrixSDSourceAddress, matrixSDDestAddress,
    matrixSDIndex?????????????matrixDSSourceAddress,
    matrixDSDestAddress, matrixDSIndex ?
  • 3 ????????????????????.
  • 4???????????????????,?????matrixControlTableSize
    ?????????,???matrixControlLastDeleteTime??????????
    ??,????????matrixControlLastDeleteTime?0?

27
  • 5?????????(SD)?????(DS)????,???????????????????4
    .14 P97
  • 6??????????????????,??SD????????,???????????DS?
    ???????,??????????????????????????????????,???????
    ?????????????
  • 7????????????,?????????????,????????????,???????
    ???????

28
  • 4.2.2 ?????????
  • RFC1513???RMON MIB,?????IEEE802.5???????
  • 1???????????tokenRingMLStatsTable?tokenRingPStat
    sTable,??????????MAC????,????????????????????????
    ??????????????????,??????,???????????? 4.1??4.2
    P97-98.
  • 2?????,???????tokenRingMLHistory?tokenRingPHisto
    ryTable,???????????historyControlTable????????????
    ???,??????????MAC???????????????
  • 3?????????tokenRing,????4??????????????????????
    ????

29
  • 4.2.2 ?????????
  • RFC1513???RMON MIB,?????IEEE802.5???????
  • 1??????????????????????????????????P99
  • 2????????????????(????)?
  • 3????? ???????????,RMON????????????,???????????
    ??????????????P100
  • 4?????????????????????P100

30
  • 4.2.3 ??(alarm)
  • RMON???????????????,??????????????????????????

AlarmRisingEventIndex(9)????????????
AlarmFallingEventIndex(10)????????????
AlarmOwner(11)
AlarmStatusr(12)
31
  • 1??????2?absouteValue(1)(????)?deltaValue(2)(??
    ?????,????????????)?
  • 2alarmstartupAlarm??????3?
  • risingAlarm(1)???????????gt????,?????
  • fallingAlarm(2)???????????lt????,?????
  • risingOrFallingAlarm(3)???????????gt?????lt????,?
    ????
  • 3??????
  • ?????????????????,?????????????,??????????
  • ?????????????????,?alarmStartupAlarm1?3,???????
    ?
  • ?????????????????,?alarmStartupAlarm2,?????????
    ??????????????,??????????
  • ?????????,?????????????????,???????????,??????????
    ?
  • 4????(????????)

32
  • 5???????????????????????,??????,??hysteresis(???
    ?)

?1
?1?alarmStartup1?3?,??????
33
  • 1?????????deltaValueRMON????????2????????,???2
    ??????????,????????????????
  • ?1
  • ??(?) 0 10 20
  • ??? 0 19 32
  • ??? 0 19 13
  • ???????20 ,?????
  • ?2 ?????????,??5????????
  • ??(?) 0 05 10 15 20
  • ??? 0 10 19 30 32
  • ??? 0 10 9 11
    2
  • ?15????2??????20,?????????,????????

34
  • 4.2.4 ?????
  • 1????????,???????????????,?????????????????????
    ???????????????
  • ????????????,?????????????????????
  • ???????????,?????????????
  • ????????????(AND,OR)???,??????????
  • 2?????????????????????????????,????????????????
    ?,?????????????
  • 3????
  • ??
  • input????????
  • filterPktData????????
  • filterPktDataMask????????
  • filterPktDataNotMask??????????????

35
  • 4??????????????????
  • ?????????????,?????????
  • if (inputfilterPktData 0) filterResultmatch
  • ??????????????,?????????
  • if (inputfilterPktData! 0) filterResultmismatch
  • ?????????????????,?????????????????(???????????1,?
    ??0)
  • if (inputfilterPktData)filterPktDataMask 0)
    filterResultmatchelse filterResultmismatch
  • ?????????????????,??????????????????filterPktDataN
    otMask,???????0,?????????,????1,???????????
  • Relevant_bits_different(inputfilterPktData)filt
    erPktDataMask
  • if((relevant_bits_differentfilterPktDataNotMask)
    0)
  • filterResultsuccessful match

36
  • 5??1
  • ?????????????????????0xA5,??????0xBB?????????48?,?
    ??48??????,?48?????,????????
  • filterPktDataOffset 0 (?????????????????)
  • filterPktData 0x0000000000a500000000
    00bb
  • filterPktDataMask 0xffffffffffffffffffffffff
  • filterPktDataNotMask0x000000000000ffffffffffff
  • ??2????????,????????????,???2???????????,????????
    ????,????????????
  • 0 ????1518??
  • 1 ????64??
  • 2 ????CRC???????
  • ????????6,?110,???????,
  • 1 ????64??
  • 2 ????CRC???????

37
  • 6????
  • ??????????,??????????????????????????????,????????
    ?????
  • channelAcceptTypeINTEGERacceptMatched(1),accep
    tFailed(2)
  • ?????1,?????????????????????,??????????????2,????
    ?????????????????,??????.
  • ?channelAcceptType1?,?? 4?17 P 104
  • ??????????
  • channelAcceptType???????????????
  • channelMatches???,?????????
  • channelDataControl???????
  • channelEventStatus???????????????????,??????
  • channelEventIndex????????

38
  • 7?????
  • ?????????????4?18 P105???filterTable?
    ???channelTable.
  • ?????????????????????,??filterChannelIndex????????
    ???,???filterIndex,???P105
  • ????????????.???channelIndex,?????P105.??channelE
    ventStatus????????
  • eventReady(1)?????????,????eventFired(2)
  • eventFired(2)??????????
  • eventAlwaysReady(3)???????????

39
  • 4.2.5 ????????
  • 1????
  • ?????????,??????????????
  • ??????????????4.19,P107???????bufferControlIndex,
    ???????captureBufferControlIndex?captureBufferPack
    etStatus???(???????)
  • ????
  • bufferControlFullStatus???????????spaceAvailable?f
    ull.
  • bufferControlFullAction???????????,???lockWhenFull
    ??????????????,???wrapWhenFull????????????????

40
  • 2???
  • ???????,
  • ???????MIB?????????????????????
  • ??????????4.20 p108,???????log??
  • ???????????
  • Log?????????????
  • ???????eventType???????
  • ?none(1)log(2)snmp-trp(3)log-and-snmp-trap(4)

41
4.3 RMON2??????
  • RMON1 MIB ????MAC??????????RMON
    MIB2????MAC???????
  • 4.3.1 RMON2 MIB???

42
  • RMON2???????
  • ?1????????
  • ?2???????????
  • ?3?????????????????
  • ?4??????????????
  • ?5??????????????????????

43
  • RMON2???OSI/RM??????????,????????????????,????????
    ?????,??IP??,??????????????,???????????,??????????
    ????????????????,??EMAIL,FTP,HTTP???,???????????
    ??.(?????,???????????????????????,?OSI??5,6,7?)
  • RMON2?MIB?RMON1??????9??
  • 1?????????????????????,???????????????????????
  • 2?????(protocolDist)???????????????,?????????,
    ????.
  • 3?????(addressMap) ???????(IP??)?MAC???????.(??
    ??????,????????).?????????????????????????,??IP???
    MAC???????.

44
  • 4?????(nlHost)????RMON1????,?????????,??????,??
    ???/?????RMON1??????????MAC??,????????IP??????.??
    ???????????????IP??.
  • 5??????(nlMatrix)?????(?/??)???????,???????RMON
    1????,????????????.?????SD?,DS??TopN??RMON1??.
  • 6??????(alHost)??????????????(??????)?alHost???
    ????,????????/?????/???.??????????????????????????
    .
  • 7??????(alMatrix)??????????????????,?????????(?
    ?????????)???TopN??????????????.

45
  • 8?????(userHistory)?????????,?????????.????????
    ?????????.????????????????.
  • 9??????(probeConfig)?????????????,?????????????
    ???????,???????????????????.

46
  • 4.3.2 RMON2?????
  • RMON2????????????????,???RMON2???????.
  • 1??????
  • ?SNMPV1????????????,?????????????????????.?SNMPV2?
    SMI?????????????????????????????,??????DESCRIPTIO
    N??????????,???????????????????????.
  • RMON2??????????,???????????,?????????????????.??4.
    22.
  • ????,RMON2???????RMON1??????????????

47
  • RMON2?????????

48
  • 2???????
  • ????????????????,?????????????????????????????????
    ?????????SNMP1?SNMP2??????????????RMON2???????????
    ????????????
  • TimeFilter??????????,????TimeTicks,???????????????
    ?????????????????
  • ??????4.23-?4.24 P112-P113

49
  • 4.3.3 RMON2?????????
  • RMON2???????????????????????????????????
  • 1????????????????????????,????????????,????????
    ????????????????????????????????????,???????????.
  • RMON2?????????????????????????????????????????????
    ?????????,???MIB???????RMON2???????32?????,???4???
    ?,???a.b.c.d??,????????????
  • ?? (???????)
  • Ether2 10.0.0.1(Ethernet-II????)
  • Llc 20.0.0.2(802.2)
  • Snap 30.0.0.3(??????)
  • Vsnap 40.0.0.4(???0??SNAP???)
  • wgAssigned 50.0.0.5(??,?????????????????)
  • Anylink 61.0.a.b

50
  • 2??????????????????????????????????????????????
    ?,?????????????????(??????????),??????????????????

51
  • 3?????????????
  • ????????????????????SNMP??????16.0.0.0.1.0.0.8.0
    .0.0.0.17.0.0.0.161
  • 4????????

52
  • 4??????????????????????????????ether2,ip,udp,sn
    mp??RMON2??????4??????
  • Ether2(4.0.0.0.1)
  • Ether2.ip(8.0.0.0.1.0.0.8.0)
  • Ether2.ip.udp(12.0.0.0.1.0.0.8.0.0.0.0.17)
  • Ether2.ip.udp.snmp(16.0.0.0.1.0.0.8.0.0.0.0.17.0.0
    .0.161)
  • 5???????????????????,??????BIT????????????2?bi
    t????
  • Bit0????????PDU?????????????IP?????,?IP????BIT0?1
  • Bit1?????????????????TFTP??????69
  • 16.0.0.0.1.0.0.8.0.0.0.0.17.0.0.0.161.4.0.1.0.0(??
    IP?????PDU???????Ether2.ip.udp.snmp??????????)

53
  • ?????(protocolDir(11))
  • RMON2???????????4.27,P115
  • ????RMON2???,?????????????????,???????????????
  • ??protocolDirID,protocolDirParameters,protocolDir
    LocakIndex ???
  • ????
  • ProtocolDirDesc(4)?????????
  • ProtocolDirType(5)????????
  • ProtocolDirAddressMapConfig(6)????????(?????????)
    ?????
  • ProtocolDirHostConfig(7)?????????????
  • ProtocolDirMatrixConfig(8)??????????????

54
  • ???????????(usrHistroy(18))
  • ?????????RMON1???????,?RMON2??????????????????????
    ???????????
  • ???????3????
  • ???????usrHistoryControlTable(??????????????,?????
    ?,????,??????),???????????????
  • ???????????usrHistoryObjectTable(??????,??????????
    ??),????????????????????
  • ??????????usrHistoryTable(??????),????????????,???
    ??????????,?????????????4.28 P117( ???????)

55
  • ????????(probeConfig(19))
  • ??????????????????,RMON2??????????????????????????
    ???????4??
  • ?1?????
  • probeCapabilities??????RMON?
  • probeSoftwareRev???????
  • probeHardwareRev???????
  • probeDateTime?????????
  • probeResetControl???????,????,???,???
  • probeDownLoadFile???????
  • probeDownLoadTFTPServer?????????TFTP?????
  • probeDownLoadAction??imageValid(1)??????
    downloadToPROM(2) downloadToPRAM(3)????,??????????
    ?
  • probeDownLoadStatus??????????

56
  • ?1???????(4?)
  • ??????????????????P116
  • ??????????????????P117
  • ?????????????????????P117
  • ????????????????????SLIP??????????P117-118
Write a Comment
User Comments (0)
About PowerShow.com