ieee8021AsPortDSAsIfIndex
IEEE8021-AS-MIB ·
.1.3.111.2.802.1.1.20.1.5.1.2
Object
column IF-MIBInterfaceIndexOrZero
This object identifies the gPTP interface group within
the system for which this entry contains information. It
is the value of the instance of the IfIndex object,
defined in the IF-MIB, for the gPTP interface group
corresponding to this port, or the value 0 if the port
has not been bound to an underlying frame source and
sink.
For a given media port of a Bridge or an end station,
there may be one or more gPTP port, and depends whether
a media port supports point to point link (e.g. IEEE
802.3 Ethernet) or point to multi-point (e.g. CSN, IEEE
802.3 EPON, etc) links on the media port.
Context
- MIB
- IEEE8021-AS-MIB
- OID
.1.3.111.2.802.1.1.20.1.5.1.2- Type
- column
- Access
- noaccess
- Status
- current
- Parent
- ieee8021AsPortDSIfEntry
Net-SNMP examples
How SNMP and these commands workWalk the column to discover its indexed instances, or supply every index to read one instance.
Walk the column
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'IEEE8021-AS-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'IEEE8021-AS-MIB::ieee8021AsPortDSAsIfIndex'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'IEEE8021-AS-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'IEEE8021-AS-MIB::ieee8021AsPortDSAsIfIndex.<ieee8021AsBridgeBasePort>.<ieee8021AsPortDSAsIfIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'IEEE8021-AS-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'IEEE8021-AS-MIB::ieee8021AsPortDSAsIfIndex'
Syntax
- Source
- IF-MIBInterfaceIndexOrZero
- Base type
Integer32- Display format
d
Type Description
This textual convention is an extension of the InterfaceIndex convention. The latter defines a greater than zero value used to identify an interface or interface sub-layer in the managed system. This extension permits the additional value of zero. the value zero is object-specific and must therefore be defined as part of the description of any object which uses this syntax. Examples of the usage of zero might include situations where interface was unknown, or when none or all interfaces need to be referenced.
Values & Constraints
Type Constraints
range: 0..2147483647