smIPAddress
BLADE-MIB ·
.1.3.6.1.4.1.2.3.51.2.22.3.1.7.1.6
Object
The switch module current IP address.
If the switch module is participating in the Stacking Mode
and IP Configuration is protected, then the stack management
IP address is displayed.
NOTE: IPv6 addresses for the switch can be view with the
smIPv6AddressTable.
Context
- MIB
- BLADE-MIB
- OID
.1.3.6.1.4.1.2.3.51.2.22.3.1.7.1.6- Type
- column
- Access
- readonly
- Status
- mandatory
- Parent
- smPowerRestartEntry
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 'BLADE-MIB' -M '/opt/observium/mibs/ibm:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'BLADE-MIB::smIPAddress'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'BLADE-MIB' -M '/opt/observium/mibs/ibm:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'BLADE-MIB::smIPAddress.<index>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'BLADE-MIB' -M '/opt/observium/mibs/ibm:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'BLADE-MIB::smIPAddress'
Syntax
- Source
- RFC1155-SMIIpAddress
- Base type
OctetString
Values & Constraints
Type Constraints
range: 4