HP Cisco Nexus 5000 Cisco MDS 9000 Family MIB Quick Reference (OL-18087-01, Fe - Page 6

SYNTAX Clause, MAX-ACCESS Clause

Page 6 highlights

Send documentation comments to [email protected] SYNTAX Clause The SYNTAX clause describes the format of the information, or value, that is returned when you monitor or set information in a MIB. The Cisco MDS 9000 Family MIBs are defined with the SNMPv2 Structure of Management Information version 2 (SNMPv2-SMI) defined in RFC 1902. Some examples of SNMPv2-SMI syntax are as follows: • Counter32-A nonnegative integer that increases until it reaches some maximum value. After reaching the maximum value, it rolls over to zero. For example, the variable ifInOctets, with a Counter32 syntax, counts the number of input octets on an interface. • Gauge32-A nonnegative integer that increases until it reaches some maximum value. After reaching the maximum value, it stays fixed (no roll over). • Counter64-A nonnegative 64-bit integer that increases until it reaches some maximum value. After reaching the maximum value, it rolls back to zero. Counter64 is used for MIB objects that can reach high values in a short period of time (for example, a packet counter for a Gigabit Ethernet port). • Integer32-An integer from -232 to 232-1. • IPAddress-An octet string that represents an IP address. For example, the variable hostConfigAddr indicates the IP address of the host that provided the host configuration file for a device. • Timeticks-A nonnegative integer that counts the hundredths of a second that have elapsed since an event. For example, the variable loctcpConnElapsed provides the length of time that a TCP connection has been established. MAX-ACCESS Clause The MAX-ACCESS clause identifies the maximum access level for the associated MIB object. This clause can represent one of the following five states: read-create, read-write, read-only, accessible-for-notify, and not-accessible. • read-create-You can read, modify, or create objects as rows in a table. • read-write-You can read or modify this object. • read-only-You can only read this object. • accessible-for-notify-You cannot read or write to this object. SNMP notifications can send this object as part of their event information. • not-accessible-You cannot read or write to this object. Table indices are typically objects that are not accessible. Americas Headquarters: Cisco Systems, Inc., 170 West Tasman Drive, San Jose, CA 95134-1706 USA © Cisco Systems, Inc. All rights reserved.

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56

Send documentation comments to [email protected]
Americas Headquarters:
© <2009> Cisco Systems, Inc. All rights reserved.
Cisco Systems, Inc., 170 West Tasman Drive, San Jose, CA 95134-1706
USA
SYNTAX Clause
The SYNTAX clause describes the format of the information, or value, that is returned when you monitor
or set information in a MIB.
The Cisco MDS 9000 Family MIBs are defined with the SNMPv2 Structure of Management Information
version 2 (SNMPv2-SMI) defined in RFC 1902. Some examples of SNMPv2-SMI syntax are as follows:
Counter32—A nonnegative integer that increases until it reaches some maximum value. After
reaching the maximum value, it rolls over to zero. For example, the variable ifInOctets, with a
Counter32 syntax, counts the number of input octets on an interface.
Gauge32—A nonnegative integer that increases until it reaches some maximum value. After
reaching the maximum value, it stays fixed (no roll over).
Counter64—A nonnegative 64-bit integer that increases until it reaches some maximum value. After
reaching the maximum value, it rolls back to zero. Counter64 is used for MIB objects that can reach
high values in a short period of time (for example, a packet counter for a Gigabit Ethernet port).
Integer32—An integer from -2
32
to 2
32
-1.
IPAddress—An octet string that represents an IP address. For example, the variable
hostConfigAddr
indicates the IP address of the host that provided the host configuration file for a device.
Timeticks—A nonnegative integer that counts the hundredths of a second that have elapsed since an
event. For example, the variable loctcpConnElapsed
provides the length of time that a TCP
connection has been established.
MAX-ACCESS Clause
The MAX-ACCESS clause identifies the maximum access level for the associated MIB object. This
clause can represent one of the following five states: read-create, read-write, read-only,
accessible-for-notify, and not-accessible.
read-create—You can read, modify, or create objects as rows in a table.
read-write—You can read or modify this object.
read-only—You can only read this object.
accessible-for-notify—You cannot read or write to this object. SNMP notifications can send this
object as part of their event information.
not-accessible—You cannot read or write to this object. Table indices are typically objects that are
not accessible.