All MIBs › SCANET-MIB › ipAddrAndMask
ipAddrAndMask
Module: SCANET-MIB
OID (symbolic): SCANET-MIB::ipAddrAndMask
OID (numeric): 1.3.6.1.4.1.208.2.4.1.1.2
Node type: OBJECT-TYPE
Type: OCTET STRING
Access: read-write
Description: The IP Address and the Subnet Mask. The format of the octet string is: 4 bytes : IP Address 4 bytes : IP Subnet Mask.
What is ipAddrAndMask?
An 8-byte encoded value combining an interface's IP address (first 4 bytes) and subnet mask (last 4 bytes). Admins set this to configure an interface's IP addressing in a single write, this MIB's equivalent of the standard ipAddrTable.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.208.2.4.1.1.2 snmpwalk -v2c -c public <target> SCANET-MIB::ipAddrAndMask
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.208.2.4.1.1.2.1 snmpget -v2c -c public <target> SCANET-MIB::ipAddrAndMask.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.208.2.4.1.1.2.1 s <value>
Start monitoring SCANET network devices (configuration/interface status, vendor origin uncertain) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the SCANET-MIB::ipAddrAndMask OID value, configure state conditions and alerts, and monitor any SCANET network devices (configuration/interface status, vendor origin uncertain) from a single console.
OID Breakdown
Upper-level ancestors (6 from the standard OID tree / other modules)
| Numeric OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | AirPair-MIB |
| 1.3.6 | dod | AirPair-MIB |
| 1.3.6.1 | internet | AirPair-MIB |
| 1.3.6.1.4 | private | AirPair-MIB |
| 1.3.6.1.4.1 | enterprises | AirPair-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.208 | scanet | SCANET-MIB |
| 1.3.6.1.4.1.208.2 | mib2ext | SCANET-MIB |
| 1.3.6.1.4.1.208.2.4 | ip | SCANET-MIB |
| 1.3.6.1.4.1.208.2.4.1 | ipTable | SCANET-MIB |
| 1.3.6.1.4.1.208.2.4.1.1 | ipEntry | SCANET-MIB |
| 1.3.6.1.4.1.208.2.4.1.1.2 | ipAddrAndMask | SCANET-MIB |