zxGponHostMACBridgePortConfigPortPathCost
ZXGPON-ONTMGMT-MIB ·
.1.3.6.1.4.1.3902.1012.3.50.15.4.1.4
Object
This attribute provides the cost contribution of the port to the path cost towards the spanning tree root bridge. The range is 0x0001 to 0xFFFF (1 to 65535).(2 bytes)
Context
- MIB
- ZXGPON-ONTMGMT-MIB
- OID
.1.3.6.1.4.1.3902.1012.3.50.15.4.1.4- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- zxGponHostMACBridgePortConfigEntry
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 'ZXGPON-ONTMGMT-MIB' -M '/opt/observium/mibs/zte:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZXGPON-ONTMGMT-MIB::zxGponHostMACBridgePortConfigPortPathCost'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ZXGPON-ONTMGMT-MIB' -M '/opt/observium/mibs/zte:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZXGPON-ONTMGMT-MIB::zxGponHostMACBridgePortConfigPortPathCost.<zxGponOltIndex>.<zxGponONTIndex>.<zxGponIPHostConfigDataId>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ZXGPON-ONTMGMT-MIB' -M '/opt/observium/mibs/zte:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ZXGPON-ONTMGMT-MIB::zxGponHostMACBridgePortConfigPortPathCost'
Syntax
- Source
- SNMPv2-SMIInteger32
- Base type
Integer32
Values & Constraints
Type Constraints
range: -2147483648..2147483647