hwRrppRingPrimaryPort
HUAWEI-RRPP-MIB ·
.1.3.6.1.4.1.2011.5.25.113.2.2.1.6
Object
If the switch is a master-node or transit-node, this value is ifIndex of the primary port; otherwise, if the switch is an edge-node or assistant-edge-node, this value is ifIndex of the common port. This value is 0, if the port doesn't exist. This value can't be modified after created.
Context
- MIB
- HUAWEI-RRPP-MIB
- OID
.1.3.6.1.4.1.2011.5.25.113.2.2.1.6- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hwRrppRingEntry
- 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 'HUAWEI-RRPP-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-RRPP-MIB::hwRrppRingPrimaryPort'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-RRPP-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-RRPP-MIB::hwRrppRingPrimaryPort.<hwRrppDomainID>.<hwRrppRingID>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-RRPP-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-RRPP-MIB::hwRrppRingPrimaryPort'
Syntax
- Source
- IF-MIBInterfaceIndex
- Base type
Integer32- Display format
d
Type Description
A unique value, greater than zero, for each interface or interface sub-layer in the managed system. It is recommended that values are assigned contiguously starting from 1. The value for each interface sub-layer must remain constant at least from one re-initialization of the entity's network management system to the next re-initialization.
Values & Constraints
Type Constraints
range: 1..2147483647
Conformance
Member of