ieee8021AsDefaultDSNumberPorts
IEEE8021-AS-MIB ·
.1.3.111.2.802.1.1.20.1.1.2
Object
scalar Unsigned32
The number of PTP ports on the device. For an end station the value is 1.
Context
- MIB
- IEEE8021-AS-MIB
- OID
.1.3.111.2.802.1.1.20.1.1.2- Type
- scalar
- Access
- readonly
- Status
- current
- Parent
- ieee8021AsDefaultDS
- Groups
- 1
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar 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::ieee8021AsDefaultDSNumberPorts.0'
More examples
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::ieee8021AsDefaultDSNumberPorts'
Syntax
Unsigned32
Values & Constraints
Object Constraints
range: 0-255
Conformance
Member of