hwSystemSwitchMode
HUAWEI-ETHERLIKE-EXT-MIB ·
.1.3.6.1.4.1.2011.5.14.1.6
Object
scalar r/w
Enumeration
Options: 1. standbyPortUp(1) -Auto system switch mode (undo shutdown standby port) 2. standbyPortDown(2) -Manual system switch mode (shutdown standby port)
Context
- MIB
- HUAWEI-ETHERLIKE-EXT-MIB
- OID
.1.3.6.1.4.1.2011.5.14.1.6- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- hwL2IfMibObject
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 'HUAWEI-ETHERLIKE-EXT-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-ETHERLIKE-EXT-MIB::hwSystemSwitchMode.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-ETHERLIKE-EXT-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-ETHERLIKE-EXT-MIB::hwSystemSwitchMode'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | standbyPortUp |
2 | standbyPortDown |