zxAnPtpMstSourcePortLocation
ZTE-AN-IEEE1588-MIB ·
zte-ng variant
·
.1.3.6.1.4.1.3902.1082.120.15.2.1.1.1.18
Object
scalar Enumeration
The source port location.
uplinkCard(1): it means that the PTP master source port
is located at the uplink card.
masterControlCard(2): it means that the PTP master source port
is located at the master control card.
slaveControlCard(3): it means that the PTP master source port
is located at the slave control card.
Context
- MIB
- ZTE-AN-IEEE1588-MIB
- OID
.1.3.6.1.4.1.3902.1082.120.15.2.1.1.1.18- Type
- scalar
- Access
- readonly
- Status
- current
- Default
uplinkCard- Parent
- zxAnPtpMasterObjects
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 'ZTE-AN-IEEE1588-MIB' -M '/opt/observium/mibs/zte-ng:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZTE-AN-IEEE1588-MIB::zxAnPtpMstSourcePortLocation.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ZTE-AN-IEEE1588-MIB' -M '/opt/observium/mibs/zte-ng:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ZTE-AN-IEEE1588-MIB::zxAnPtpMstSourcePortLocation'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | uplinkCard |
2 | masterControlCard |
3 | slaveControlCard |