Mapping the Bulk Statistics Output to MIB Files and CLI Configurations for the Bulk Statistics Schema

Bulk statistics organizes data in the form of schema definitions. You can configure the schemas to retrieve specific accounting information by using the CLI or the SNMP MIB objects. The schemas support attributes that point to specific MIB objects. To retrieve specific network accounting information you must configure the CLI to query the corresponding MIB object.

Table 29 shows the mapping between the bulkstats output and the CLI and MIBs for policy schema.

Table 29: Mapping Bulkstats Output to MIB Flies and CLI Configurations for Policy Schema

Bulkstats Output Column NameMIB FileMIB Object NameCLI ConfigurationDescription

all

Configure IfStats schema for all stats

ifDescr

RFC1213

ifDescr

A textual string containing information about the interface. This string should include the name of the manufacturer, the product name and the version of the interface hardware/software

ifType

RFC1213

ifType

-

The type of interface. Additional values for ifType are assigned by the Internet Assigned Numbers Authority (IANA), through updating the syntax of the IANAifType textual convention

usdIfType

juniIf

juniIfType

-

Identifies the type of this interface

ifIndex

RFC1213

ifIndex

-

A unique value, greater than zero, for each interface. It is recommended that values are assigned contiguously starting from 1. The value for each interface sub-layer must remain constant at least from one re-initialization of the entity's network management system to the next re- initialization

IfStatsReportState

-

-

-

Report State: IfStatsReportInterim = Interim Accounting data

ifHCInOctets

RFC2863

ifHCInOctets

in-octets

The total number of octets received on the interface, including framing characters. This object is a 64-bit version of ifInOctets

Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime

ifHCInUcastPkts

RFC2863

ifHCInUcastPkts

in-ucast-pkts

The number of packets, delivered by this sub-layer to a higher (sub-)layer, which were not addressed to a multicast or broadcast address at this sub-layer. This object is a 64-bit version of ifInUcastPkts

Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime

ifInDiscards

RFC1213

ifInDiscards

in-discards

The number of inbound packets which were chosen to be discarded even though no errors had been detected to prevent their being deliverable to a higher-layer protocol. One possible reason for discarding such a packet could be to free up buffer space

Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime

ifInErrors

RFC1213

ifInErrors

in-errors

For packet-oriented interfaces, the number of inbound packets that contained errors preventing them from being deliverable to a higher-layer protocol. For character- oriented or fixed-length interfaces, the number of inbound transmission units that contained errors preventing them from being deliverable to a higher-layer protocol

Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime

ifInUnknownProtos

RFC1213

ifInUnknownProtos

in-unknown-protos

For packet-oriented interfaces, the number of packets received via the interface which were discarded because of an unknown or unsupported protocol. For character-oriented or fixed-length interfaces that support protocol multiplexing the number of transmission units received via the interface which were discarded because of an unknown or unsupported protocol. For any interface that does not support protocol multiplexing, this counter will always be 0

Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime

ifHCOutOctets

RFC2863

ifHCOutOctets

out-octets

The total number of octets transmitted out of the interface, including framing characters. This object is a 64-bit version of ifOutOctets

Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime

ifHCOutUcastPkts

RFC2863

ifHCOutUcastPkts

out-ucast-pkts

The total number of packets that higher-level protocols requested be transmitted, and which were not addressed to a multicast or broadcast address at this sub-layer, including those that were discarded or not sent. This object is a 64-bit version of ifOutUcastPkts

Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime

ifOutDiscards

RFC1213

ifOutDiscards

out-discards

The number of outbound packets which were chosen to be discarded even though no errors had been detected to prevent their being transmitted. One possible reason for discarding such a packet could be to free up buffer space

Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of jjifCounterDiscontinuityTime

ifOutErrors

RFC1213

ifOutErrors

out-errors

For packet-oriented interfaces, the number of outbound packets that could not be transmitted because of errors. For character-oriented or fixed-length interfaces, the number of outbound transmission units that could not be transmitted because of errors

Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime

ifCorrelator

juniAcctng

juniAcctngIfCorrelator

correlator

Customer correlation:

  • FR = DLCI
  • ATM = VPI, VCI
  • IP = RouterName
  • Everything else = not used

ifInPolicedOctets

juniAcctng

juniAcctngIfInPolicedOctets

in-policied-octets

Octets dropped due to ingress policy; support 64-bit counters

ifInPolicedPkt

juniAcctng

juniAcctngIfInPolicedPkts

in-policied-octets

Packets dropped due to ingress policy

ifInSpoofedPkts

juniAcctng

juniAcctngIfInSpoofedPkts

in-spoofed-pkts

Packets dropped due to invalid source address

ifOutPolicedOctets

juniAcctng

juniAcctngIfOutPolicedOctets

out-policied-octets

Octets dropped due to egress policy; support 64-bit counters

ifOutPolicedPkts

juniAcctng

juniAcctngIfOutPolicedPkts

out-policied-pkts

Packets dropped due to ingress policy

ifOutSchedOctets

juniAcctng

juniIpIfStatsOutSchedDropOctets

out-sched-octets

Scheduler octets dropped

ifOutSchedPkts

juniAcctng

juniIpIfStatsOutSchedDropPackets

out-sched-pkts

Scheduler packets dropped

ifLowerInterface

juniAcctng

juniAcctngIfLowerInterface

lower-interface

The ifIndex of the lower interface

ifTimeOffset

juniAcctng

juniAcctngIfTimeOffset

time-offset

-

ifHCInMulticastPkts

RFC2863

ifHCInMulticastPkts

in-mcast-pkts

The number of packets, delivered by this sub-layer to a higher (sub-)layer, which were addressed to a multicast address at this sub-layer. For a MAC layer protocol, this includes both Group and Functional addresses. This object is a 64-bit version of ifInMulticastPkts

Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime

ifHCInBroadcastPkts

RFC2863

ifHCInBroadcastPkts

in-bcast-pkts

The number of packets, delivered by this sub-layer to a higher (sub-)layer, which were addressed to a broadcast address at this sub-layer. This object is a 64-bit version of ifInBroadcastPkts

Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime

ifHCOutMulticastPkts

RFC2863

ifHCOutMulticastPkts

out-mcast-pkts

The total number of packets that higher-level protocols requested be transmitted, and which were addressed to a multicast address at this sub-layer, including those that were discarded or not sent. For a MAC layer protocol, this includes both Group and Functional addresses. This object is a 64-bit version of ifOutMulticastPkts

Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime

ifHCOutBroadcastPkts

RFC2863

ifHCOutBroadcastPkts

out-bcast-pkts

The total number of packets that higher-level protocols requested be transmitted, and which were addressed to a broadcast address at this sub-layer, including those that were discarded or not sent. This object is a 64-bit version of ifOutBroadcastPkts

Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime

ifHCInMulticastOctets

-

-

in-mcast-octets

Multicast octets received

ifHCOutMulticastOctets

-

-

out-mcast-octets

Multicast octets sent

Table 30 shows the mapping between the bulkstats output and the CLI and MIBs for QoS schema.

Table 30: Mapping Bulkstats Output to MIB Flies and CLI Configurations for QoS schema

Bulkstats Output Column NameMIB FileMIB Object NameCLI ConfigurationDescription

all

Configure QoS schema for all queue attributes

ifDescr

RFC1213

ifDescr

A textual string containing information about the interface. This string should include the name of the manufacturer, the product name and the version of the interface hardware/software

ifIndex

RFC1213

ifIndex

-

A unique value, greater than zero, for each interface. It is recommended that values are assigned contiguously starting from 1. The value for each interface sub-layer must remain constant at least from one re-initialization of the entity's network management system to the next re- initialization

SVLAN/VP ID

-

-

-

The SVLAN or ATM virtual path ID over which the interfaces of the specified queue are stacked.

Traffic-Class-Name

-

-

-

The unique traffic class name within the traffic policy configured for the queue.

ParentNodeShapRate

rsacctng

rsAcctngParentShapingRate

shaping-rate

The shaping rate associated with the parent interface in the scheduling hierarchy of the queue.

The attribute is a 32–bit integer.

ParentNodeSharedShapRate

rsacctng

rsAcctngParentSharedShapRate

shared-shaping-rate

The shared shaping rate associated with the parent interface in the scheduling hierarchy of the queue.

The attribute is a 32–bit integer.

ParentNodeChildrenWeight

rsacctng

rsAcctngParentChildWeight

parent-weight

The total weight of the child queues for a parent node in the scheduling hierarchy.

The attribute is a 32–bit integer.

QDropProfile

rsacctng

rsAcctngDropProfile

drop-profile

The drop profile name associated with the egress queue.

The attribute is a 32–bit character string.

QQueueProfile

rsacctng

rsAcctngQueueProfile

queue-profile

The queue profile name associated with the egress queue. This attribute can be 32 characters long.

The attribute is a 32–bit character string.

QSchedulerProfile

rsacctng

rsAcctngSchedulerProfile

scheduler-profile

The scheduler profile name associated with the egress queue.

The attribute is a 32–bit character string.

QStatsProfile

rsacctng

rsAcctngStatisticsProfile

statistics-profile

The statistics profile name associated with the egress queue.

The attribute is a 32–bit character string.

QShapMode

rsacctng

rsAcctngShapingMode

shaping-mode

The shaping mode associated with the egress queue.

In the shape mode, is used to control the downstream rate for different media.

QShapRate

rsacctng

rsAcctngShapingRate

shaping-rate

The shaping rate attribute of the egress queue.

In the shape mode, when queue is guaranteed a certain percentage of bandwidth, the queue cannot use more than the allocated bandwidth even if the link is idle. For egress queues, the QShapRate attribute returns the bit rate at which the traffic for the queue is shaped.

The attribute is a 32–bit integer.

QLength

rsacctng

rsAcctngQueueLength

queue-length

The length of the egress queue.

The attribute is a 32–bit integer.

QBurst

rsacctng

rsAcctngBurst

burst

The burst attribute of the egress queue.

The attribute is a 16–bit integer.

QWeight

rsacctng

rsAcctngWeight

weight

The weight attribute of the queue. The weight of the queue determines the bandwidth that will be allocated to the queue during congestion.

The attribute is a 16–bit integer.

QAssuredRate

rsacctng

rsAcctngAssuredRate

assured-rate

The assured rate for the queue.

The attribute is a 32–bit integer.

QREDEnabled

rsacctng

rsAcctngRedEnabled

RED-enabled

Indicates if the Random Early Detect (RED) is enabled for the queue.

QSharShapType

rsacctng

rsAcctngSharedShapingMode

shared-shaping-mode

Indicates the type of shared-shaping enabled on the queue.

QSharShapRate

rsacctng

rsAcctngSharedShapingRate

shared-shaping-rate

Indicates the rate of shared-shaping enabled on the queue.

The attribute is a 32–bit integer.

QByteAdjType

rsacctng

rsAcctngByteAdjType

byte-adjustment-type

The type of byte adjustment application configured on the queue.

QByteAdjBytes

rsacctng

rsAcctngByteAdjBytes

byte-adjustment-bytes

The number of bytes for the byte adjustment application configured on the queue.

QFwdedRate

rsacctng

rsAcctngForwardedRate

forwarded-rate

The average forward rate of the queue. It is averaged over the rate period of the statistics-profile associated with the queue.

The attribute is a 64–bit integer.

QAggDropRate

rsacctng

rsAcctngAggDropRate

aggregate-drop-rate

The average drop rate of the queue, including red, green and yellow packets. It is calculated over the rate period of the queue’s statistics profile.

The attribute is a 64–bit integer.

QFwdedPkts

rsacctng

rsAcctngForwardedPackets

forwarded-packets

The number of packets that were forwarded on the queue.

The attribute is a 64–bit integer.

QFwdedOctets

rsacctng

rsAcctngForwardedBytes

forwarded-bytes

The number of octets that were forwarded on the queue.

The attribute is a 64–bit integer.

QGreenDiscardPkts

rsacctng

rsAcctngGreenDropPackets

green-drop-packets

The number of green packets which were chosen to be discarded even though no errors had been detected to prevent their being received.

The attribute is a 64–bit integer.

QGreenDiscardOctets

rsacctng

rsAcctngGreenDropBytes

green-drop-bytes

The number of green octets which were chosen to be discarded even though no errors had been detected to prevent their being received.

The attribute is a 64–bit integer.

QYellowDiscardPkts

rsacctng

rsAcctngYellowDropPackets

yellow-drop-packets

The number of yellow packets which were chosen to be discarded even though no errors had been detected to prevent their being received.

The attribute is a 64–bit integer.

QYellowDiscardOctets

rsacctng

rsAcctngYellowDropBytes

yellow-drop-bytes

The number of yellow octets which were chosen to be discarded even though no errors had been detected to prevent their being received.

The attribute is a 64–bit integer.

QRedDiscardPkts

rsacctng

rsAcctngRedDropPackets

red-drop-packets

The number of red packets which were chosen to be discarded even though no errors had been detected to prevent their being received.

The attribute is a 64–bit integer.

QRedDiscardOctets

rsacctng

rsAcctngRedDropBytes

red-drop-bytes

The number of red octets which were chosen to be discarded even though no errors had been detected to prevent their being received.

The attribute is a 64–bit integer.

Related Documentation