hwRouterMode
HUAWEI-IPDSLAM-L3PROTOCOL-MIB ·
.1.3.6.1.4.1.2011.6.125.2.2
Object
scalar Enumeration
The fowarding mode of system.The default value is basic fowarding mode. Options: 1. basicmode(1) -the mode of layer-3 fowarding is based on main board. 2. enhancedmode(2) -the mode of layer-3 fowarding is based on enhanced board.
Context
- MIB
- HUAWEI-IPDSLAM-L3PROTOCOL-MIB
- OID
.1.3.6.1.4.1.2011.6.125.2.2- Type
- scalar
- Access
- readonly
- Status
- current
- Parent
- hwL3FwdMode
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-IPDSLAM-L3PROTOCOL-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-IPDSLAM-L3PROTOCOL-MIB::hwRouterMode.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-IPDSLAM-L3PROTOCOL-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-IPDSLAM-L3PROTOCOL-MIB::hwRouterMode'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | basicmode |
2 | enhancedmode |