ancpAnNextSessionId

HUAWEI-ANCP-AN-MIB · .1.3.6.1.4.1.2011.5.106.1.2

Object

The object reports the next index (potential value of
ancpAnSessionConfigSessionId) which is available for
creating a new row in ancpAnSessionConfigTable.
If no such value is available (e.g., the table is full or
any other reason) the object reports '0' (zero).
An available value V becomes unavailable when a row is
actually created with ancpAnSessionConfigSessionId=V and
until then consecutive GET commands with this object may
return the same value V. Note that eventually only one row
creation with the value V can succeed.
An unavailable value V becomes available again when a row
with ancpAnSessionConfigSessionId=V in
ancpAnSessionConfigTable is deleted.

Context

MIB
HUAWEI-ANCP-AN-MIB
OID
.1.3.6.1.4.1.2011.5.106.1.2
Type
scalar
Access
readonly
Status
current
Parent
ancpAnObjects
Groups
1

Scalars have one instance, identified by the .0 suffix.

Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-ANCP-AN-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-ANCP-AN-MIB::ancpAnNextSessionId.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-ANCP-AN-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-ANCP-AN-MIB::ancpAnNextSessionId'

Syntax

Source
SNMPv2-SMIUnsigned32
Base type
Unsigned32

Values & Constraints

Type Constraints
range: 0..4294967295

Conformance