⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 rfc2064.txt

📁 著名的RFC文档,其中有一些文档是已经翻译成中文的的.
💻 TXT
📖 第 1 页 / 共 5 页
字号:
        AppleTalk:   appletalk(12)            2-octet Network number (sixteen bits),            1-octet Host number (eight bits)        DECnet:      decnet(13)            1-octet Area number (in low-order six bits),            2-octet Host number (in low-order ten bits)        "    SYNTAX OCTET STRING (SIZE (3..20))TransportAddress ::= TEXTUAL-CONVENTION    STATUS  current    DESCRIPTION        "Specifies the value of a transport address for various        network protocols.  Format as follows:        IP:            2-octet UDP or TCP port number        Other protocols:            2-octet port number        "    SYNTAX OCTET STRING (SIZE (2))RuleAddress ::= TEXTUAL-CONVENTION    STATUS  current    DESCRIPTION        "Specifies the value of an address.  Is a superset of        AdjacentAddress, PeerAddress and TransportAddress."    SYNTAX OCTET STRING (SIZE (2..20))FlowAttributeNumber ::= TEXTUAL-CONVENTION    STATUS  current    DESCRIPTION        "Uniquely identifies an attribute within a flow data record."Brownlee                      Experimental                      [Page 8]RFC 2064                       Meter MIB                    January 1997    SYNTAX  INTEGER {        flowIndex(1),        flowStatus(2),        flowTimeMark(3),        sourceInterface(4),        sourceAdjacentType(5),        sourceAdjacentAddress(6),        sourceAdjacentMask(7),        sourcePeerType(8),        sourcePeerAddress(9),        sourcePeerMask(10),        sourceTransType(11),        sourceTransAddress(12),        sourceTransMask(13),        destInterface(14),        destAdjacentType(15),        destAdjacentAddress(16),        destAdjacentMask(17),        destPeerType(18),        destPeerAddress(19),        destPeerMask(20),        destTransType(21),        destTransAddress(22),        destTransMask(23),        pduScale(234),        octetScale(25),        ruleSet(26),        toOctets(27),             -- Source-to-Dest        toPDUs(28),        fromOctets(29),           -- Dest-to-Source        fromPDUs(30),        firstTime(31),            -- Activity times        lastActiveTime(32),        sourceSubscriberID(33),   -- Subscriber ID        destSubscriberID(34),        sessionID(35),        sourceClass(36),          -- Computed attributes        destClass(37),        flowClass(38),        sourceKind(39),        destKind(40),        flowKind(41) }Brownlee                      Experimental                      [Page 9]RFC 2064                       Meter MIB                    January 1997RuleAttributeNumber ::= TEXTUAL-CONVENTION    STATUS  current    DESCRIPTION        "Uniquely identifies an attribute which may be tested in        a rule.  These include attributes whose values come directly        from the flow's packets and the five 'meter' variables used to        hold an AttributeValue.  Attributes derived from the rules -        e.g. address masks - may not be tested."    SYNTAX  INTEGER {        null(0),        sourceInterface(4),       -- Source Address        sourceAdjacentType(5),        sourceAdjacentAddress(6),        sourcePeerType(8),        sourcePeerAddress(9),        sourceTransType(11),        sourceTransAddress(12),        destInterface(14),        -- Dest Address        destAdjacentType(15),        destAdjacentAddress(16),        destPeerType(18),        destPeerAddress(19),        destTransType(21),        destTransAddress(22),        sourceSubscriberID(33),   -- Subscriber ID        destSubscriberID(34),        sessionID(35),        v1(51),                   -- Meter variables        v2(52),        v3(53),        v4(54),        v5(55) }ActionNumber ::= TEXTUAL-CONVENTION    STATUS  current    DESCRIPTION        "Uniquely identifies the action of a rule, i.e. the Pattern        Matching Engine's opcode number.  Details of the opcodes        are given in the 'Traffic Flow Measurement: Architecture'        document [9]."    SYNTAX  INTEGER {        ignore(1),        fail(2),        count(3),        countPkt(4),        return(5),        gosub(6),        gosubAct(7),Brownlee                      Experimental                     [Page 10]RFC 2064                       Meter MIB                    January 1997        assign(8),        assignAct(9),        goto(10),        gotoAct(11),        pushRuleTo(12),        pushRuleToAct(13),        pushPktTo(14),        pushPktToAct(15) }---- Control Group:  Rule Set Info Table--flowRuleSetInfoTable OBJECT-TYPE    SYNTAX  SEQUENCE OF FlowRuleSetInfoEntry    MAX-ACCESS  not-accessible    STATUS  current    DESCRIPTION        "An array of information about the rule sets held in the        meter.   Rule set 1 is the meter default, used when the meter        starts up.  It is built in to the meter; it may not be        changed."    ::= { flowControl 1 }flowRuleSetInfoEntry OBJECT-TYPE    SYNTAX  FlowRuleSetInfoEntry    MAX-ACCESS  not-accessible    STATUS  current    DESCRIPTION        "Information about a particular rule set."    INDEX  { flowRuleInfoIndex }    ::= { flowRuleSetInfoTable 1 }FlowRuleSetInfoEntry ::= SEQUENCE {    flowRuleInfoIndex         Integer32,    flowRuleInfoSize          Integer32,    flowRuleInfoOwner         OwnerString,    flowRuleInfoTimeStamp     TimeStamp,    flowRuleInfoStatus        RowStatus    }flowRuleInfoIndex OBJECT-TYPE    SYNTAX  Integer32    MAX-ACCESS  not-accessible    STATUS  current    DESCRIPTION        "An index which selects an entry in the flowRuleSetInfoTable.Brownlee                      Experimental                     [Page 11]RFC 2064                       Meter MIB                    January 1997        Each such entry contains control information for a particular        rule set which the meter may run."    ::= { flowRuleSetInfoEntry 1 }flowRuleInfoSize OBJECT-TYPE    SYNTAX  Integer32    MAX-ACCESS  read-create    STATUS  current    DESCRIPTION        "Number of rules in this rule set.  Setting this variable will        cause the meter to allocate space for these rules."    ::= { flowRuleSetInfoEntry 2 }flowRuleInfoOwner OBJECT-TYPE    SYNTAX  OwnerString    MAX-ACCESS  read-create    STATUS  current    DESCRIPTION        "Identifies the manager which configured this rule set."    ::= { flowRuleSetInfoEntry 3 }flowRuleInfoTimeStamp OBJECT-TYPE    SYNTAX  TimeStamp    MAX-ACCESS  read-create    STATUS  current    DESCRIPTION        "Time this rule set was last changed."    ::= { flowRuleSetInfoEntry 4 }flowRuleInfoStatus OBJECT-TYPE    SYNTAX  RowStatus    MAX-ACCESS  read-create    STATUS  current    DESCRIPTION        "The status of this rule set.  If this object's value is        not active(1), the meter must not attempt to use this        rule set."    ::= { flowRuleSetInfoEntry 5 }---- Control Group:  Interface Info Table--flowInterfaceTable OBJECT-TYPE    SYNTAX  SEQUENCE OF FlowInterfaceEntry    MAX-ACCESS  not-accessible    STATUS  current    DESCRIPTIONBrownlee                      Experimental                     [Page 12]RFC 2064                       Meter MIB                    January 1997        "An array of information specific to each meter interface."    ::= { flowControl 2 }flowInterfaceEntry OBJECT-TYPE    SYNTAX  FlowInterfaceEntry    MAX-ACCESS  not-accessible    STATUS  current    DESCRIPTION        "Information about a particular interface."    INDEX   { ifIndex }    ::= { flowInterfaceTable 1 }FlowInterfaceEntry ::= SEQUENCE {    flowInterfaceRate         Integer32,    flowInterfaceLostPackets  Counter32    }flowInterfaceRate OBJECT-TYPE    SYNTAX  Integer32    MAX-ACCESS  read-write    STATUS  current    DESCRIPTION        "The parameter N for statistical counting on this interface.        Set to N to count 1/Nth of the packets appearing at this        interface.  A meter should choose its own algorithm to        introduce variance into the sampling so that exactly every Nth        packet is not counted.  A sampling rate of 1 counts all        packets.  A sampling rate of 0 results in the interface        being ignored by the meter."    ::= { flowInterfaceEntry 1 }flowInterfaceLostPackets OBJECT-TYPE    SYNTAX  Counter32    MAX-ACCESS  read-only    STATUS  current    DESCRIPTION        "The number of packets the meter has lost for this interface.        Such losses may occur because the meter has been unable to        keep up with the traffic volume."    ::= { flowInterfaceEntry 2 }---- Control Group:  Meter Reader Info Table---- Any meter reader wishing to collect data reliably for all flows-- should first create a row in this table.  It should write that-- row's flowReaderLastTime object each time it starts a collectionBrownlee                      Experimental                     [Page 13]RFC 2064                       Meter MIB                    January 1997-- pass through the flow table.-- The meter will not recover a flow's memory until every meter reader-- holding a row in this table has collected that flow's data.-- If a meter reader does not create a row in this table, e.g. because-- it failed authentication in the meter's SNMP write community,-- collection can still proceed but the meter may not be able to-- recover inactive flows.flowReaderInfoTable OBJECT-TYPE    SYNTAX  SEQUENCE OF FlowReaderInfoEntry    MAX-ACCESS  not-accessible    STATUS  current    DESCRIPTION        "An array of information about meter readers which have        registered their intent to collect flow data from this meter."    ::= { flowControl 3 }flowReaderInfoEntry OBJECT-TYPE    SYNTAX  FlowReaderInfoEntry    MAX-ACCESS  not-accessible    STATUS  current    DESCRIPTION        "Information about a particular meter reader."    INDEX  { flowReaderIndex }    ::= { flowReaderInfoTable 1 }FlowReaderInfoEntry ::= SEQUENCE {    flowReaderIndex            Integer32,    flowReaderTimeout          Integer32,    flowReaderOwner            OwnerString,    flowReaderLastTime         TimeStamp,    flowReaderPreviousTime     TimeStamp,    flowReaderStatus           RowStatus    }flowReaderIndex OBJECT-TYPE    SYNTAX  Integer32    MAX-ACCESS  not-accessible    STATUS  current    DESCRIPTION        "Selects an entry from the array of meter reader info entries."    ::= { flowReaderInfoEntry 1 }flowReaderTimeout OBJECT-TYPE    SYNTAX  Integer32    MAX-ACCESS  read-createBrownlee                      Experimental                     [Page 14]RFC 2064                       Meter MIB                    January 1997    STATUS  current    DESCRIPTION        "Specifies the maximum time (in seconds) between flow data        collections for this meter reader.  If this time elapses        without a collection, the meter should assume that this meter        reader has stopped collecting, and delete this row from the        table."    ::= { flowReaderInfoEntry 2 }flowReaderOwner OBJECT-TYPE    SYNTAX  OwnerString    MAX-ACCESS  read-create    STATUS  current    DESCRIPTION        "Identifies the meter reader which created this row."    ::= { flowReaderInfoEntry 3 }flowReaderLastTime OBJECT-TYPE    SYNTAX  TimeStamp    MAX-ACCESS  read-create    STATUS  current    DESCRIPTION        "Time this meter reader began its most recent data collection.        This variable should be written by a meter reader as the first        step in reading flow data.  The meter will set this LastTime        value to sysUptime and set its PreviousTime value (below) to        the old  LastTime.  This allows the meter to recover flows        which have been inactive since PreviousTime, for these have        been collected at least once.        If the meter fails to write flowLastReadTime, e.g. by

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -