HUAWEI-PTP-MIB :: hwPtpPortState

MIB Reference — IPNetwork Monitor · Updated October 05, 2026

All MIBs › HUAWEI-PTP-MIB › hwPtpPortState

hwPtpPortState

Module: HUAWEI-PTP-MIB

OID (symbolic): HUAWEI-PTP-MIB::hwPtpPortState

OID (numeric): 1.3.6.1.4.1.2011.5.25.187.2.1.1.25

Node type: OBJECT-TYPE

Type: INTEGER

Access: read-only

Description: Indicates the port state.

What is hwPtpPortState?

Reports this port's current role in the PTP state machine - for example master, slave, passive, or faulty - the primary field an admin checks to confirm a port is behaving as expected, such as an uplink port showing slave.

Examples

Walk all instances (SNMPv2c):

snmpwalk -v2c -c public <target> 1.3.6.1.4.1.2011.5.25.187.2.1.1.25
snmpwalk -v2c -c public <target> HUAWEI-PTP-MIB::hwPtpPortState

Get a specific instance (index 1):

snmpget -v2c -c public <target> 1.3.6.1.4.1.2011.5.25.187.2.1.1.25.1
snmpget -v2c -c public <target> HUAWEI-PTP-MIB::hwPtpPortState.1

Start monitoring Huawei router/switch acting as IEEE 1588 PTP clock (grandmaster/boundary/ordinary) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the HUAWEI-PTP-MIB::hwPtpPortState OID value, configure state conditions and alerts, and monitor any Huawei router/switch acting as IEEE 1588 PTP clock (grandmaster/boundary/ordinary) from a single console.

OID Breakdown

Upper-level ancestors (9 from the standard OID tree / other modules)
Numeric OIDNameModule
1isoLANART-AGENT
1.3orgAirPair-MIB
1.3.6dodAirPair-MIB
1.3.6.1internetAirPair-MIB
1.3.6.1.4privateAirPair-MIB
1.3.6.1.4.1enterprisesAirPair-MIB
1.3.6.1.4.1.2011huaweiEXPERTV2-MIB
1.3.6.1.4.1.2011.5huaweiMgmtHUAWEI-3COM-OID-MIB
1.3.6.1.4.1.2011.5.25huaweiDatacommHUAWEI-3COM-OID-MIB
Numeric OIDNameModule
1.3.6.1.4.1.2011.5.25.187hwPtpMIBHUAWEI-PTP-MIB
1.3.6.1.4.1.2011.5.25.187.2hwPtpPortObjectsHUAWEI-PTP-MIB
1.3.6.1.4.1.2011.5.25.187.2.1hwPtpPortTableHUAWEI-PTP-MIB
1.3.6.1.4.1.2011.5.25.187.2.1.1hwPtpPortEntryHUAWEI-PTP-MIB
1.3.6.1.4.1.2011.5.25.187.2.1.1.25hwPtpPortStateHUAWEI-PTP-MIB