componentIPv4ConfigGatewayAddr
CME-MIB ·
.1.3.6.1.4.1.2.3.51.2.22.32.16.1.1.9
Object
Show or modify current IP gateway of the component network interface. Note that only if the componentIPv4ConfigPhysicalLinkStatus is 'up(1)' and the componentIPv4ConfigDHCPEnable is not 'useDhcp(1)', should the IP address be pushed down to component System Management Processor.
Context
- MIB
- CME-MIB
- OID
.1.3.6.1.4.1.2.3.51.2.22.32.16.1.1.9- Type
- column
- Access
- readwrite
- Status
- mandatory
- Parent
- componentIPv4ConfigEntry
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 'CME-MIB' -M '/opt/observium/mibs/ibm:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CME-MIB::componentIPv4ConfigGatewayAddr'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CME-MIB' -M '/opt/observium/mibs/ibm:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CME-MIB::componentIPv4ConfigGatewayAddr.<componentIPv4ConfigTopologyPath>.<componentIPv4ConfigPortIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CME-MIB' -M '/opt/observium/mibs/ibm:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CME-MIB::componentIPv4ConfigGatewayAddr'
Syntax
- Source
- RFC1155-SMIIpAddress
- Base type
OctetString
Values & Constraints
Type Constraints
range: 4