hwRnDeviceNetGateway
HUAWEI-RN-MIB ·
.1.3.6.1.4.1.2011.6.188.1.2.1.4
Object
Indicates the default gateway of the RN. The invalid value 255.255.255.255 indicates that the default gateway is not configured. This node is optional for the configuration of RN parameters.
Context
- MIB
- HUAWEI-RN-MIB
- OID
.1.3.6.1.4.1.2011.6.188.1.2.1.4- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hwRnDeviceIpConfigEntry
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-RN-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-RN-MIB::hwRnDeviceNetGateway'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-RN-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-RN-MIB::hwRnDeviceNetGateway.<ifIndex>.<hwRnDeviceOntIndex>.<hwRnDeviceIpIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-RN-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-RN-MIB::hwRnDeviceNetGateway'
Syntax
- Source
- SNMPv2-SMIIpAddress
- Base type
OctetString
Values & Constraints
Type Constraints
range: 4