ieee8021AsPortDSPortNumber
IEEE8021-AS-MIB ·
.1.3.111.2.802.1.1.20.1.5.1.4
Object
column Unsigned32
The portNumber value for a port on a time-aware end station (i.e., a time-aware system supporting a single gPTP port) shall be 1. The portNumber values for the gPTP ports on a time-aware bridgeBridge supporting N ports shall be 1, 2, ?, N, respectively (see 8.5.2.3) .
Context
- MIB
- IEEE8021-AS-MIB
- OID
.1.3.111.2.802.1.1.20.1.5.1.4- Type
- column
- Access
- readonly
- Status
- current
- Parent
- ieee8021AsPortDSIfEntry
- Groups
- 1
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::ieee8021AsPortDSPortNumber'
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::ieee8021AsPortDSPortNumber.<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::ieee8021AsPortDSPortNumber'
Syntax
Unsigned32
Values & Constraints
Object Constraints
range: 0-65535
Conformance
Member of