hwGreLicAuth
HUAWEI-LICENSE-MIB ·
.1.3.6.1.4.1.2011.6.114.21.1.1
Object
scalar r/w
Enumeration
Used to control whether the Gre function can be enabled for users. If it is set to enable, the Gre function can be enabled for users. Otherwise, the Gre function cannot be enabled for users. Options: 1. enable(1) -Enable Gre license switch 2. disable(2) -Disable Gre license switch default: disable(2)
Context
- MIB
- HUAWEI-LICENSE-MIB
- OID
.1.3.6.1.4.1.2011.6.114.21.1.1- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- hwGreLicGlobalPara
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-LICENSE-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-LICENSE-MIB::hwGreLicAuth.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-LICENSE-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-LICENSE-MIB::hwGreLicAuth'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | enable |
2 | disable |