hwPwCmdAcPvpBindingPrimOrSecondary
HUAWEI-PW-CMD-MIB ·
.1.3.6.1.4.1.2011.5.12.8.1.2.11.1.9
Object
column r/w
Enumeration
This value indicate Primary PW or Secondary PW. Options: 1. primaryPW(1) -indicates primary PW 2. secondaryPW(2) -indicates secondary PW
Context
- MIB
- HUAWEI-PW-CMD-MIB
- OID
.1.3.6.1.4.1.2011.5.12.8.1.2.11.1.9- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hwPwCmdAcPvpBindingEntry
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-PW-CMD-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-PW-CMD-MIB::hwPwCmdAcPvpBindingPrimOrSecondary'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-PW-CMD-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-PW-CMD-MIB::hwPwCmdAcPvpBindingPrimOrSecondary.<ifIndex>.<hwPwCmdAcPvpBindingVpi>.<hwPwCmdAcPvpBindingPrimOrSecondary>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-PW-CMD-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-PW-CMD-MIB::hwPwCmdAcPvpBindingPrimOrSecondary'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | primaryPW |
2 | secondaryPW |