snMspsIfIpAddr
SN-MSPS-SCX-MIB ·
.1.3.6.1.4.1.4329.20.1.1.1.1.34.5.1.2
Object
Specifies the IP address given to this interface. The specification of this object is mandatory for all network interfaces (Ethernet, FR VC, IPoA interface, PPP link - not under MP, MP interface and X.25 VC). If the interface is not a network interface then the default value of 0.0.0.0 is assigned and the interface is treated as a un-numbered interface by IP.
Context
- MIB
- SN-MSPS-SCX-MIB
- OID
.1.3.6.1.4.1.4329.20.1.1.1.1.34.5.1.2- Type
- column
- Access
- readwrite
- Status
- current
- Default
0x00000000- Parent
- snMspsIfIpEntry
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 'SN-MSPS-SCX-MIB' -M '/opt/observium/mibs/siemens:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SN-MSPS-SCX-MIB::snMspsIfIpAddr'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'SN-MSPS-SCX-MIB' -M '/opt/observium/mibs/siemens:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SN-MSPS-SCX-MIB::snMspsIfIpAddr.<snMspsIfMainIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'SN-MSPS-SCX-MIB' -M '/opt/observium/mibs/siemens:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'SN-MSPS-SCX-MIB::snMspsIfIpAddr'
Syntax
- Source
- SNMPv2-SMIIpAddress
- Base type
OctetString
Values & Constraints
Type Constraints
range: 4