nwIpAddrIfAddrType
CTRON-IP-ROUTER-MIB ·
.1.3.6.1.4.1.52.4.2.2.2.3.1.2.2.2.1.2.1.4
Object
column mandatory
r/w
Enumeration
Specifies whether the IP address, nwIpAddrIfAddress, is the primary, workgroup or secondary IP address for the IP router port for which the entry exists. A primary or workgroup address must be specified before a router port can be enabled.
Context
- MIB
- CTRON-IP-ROUTER-MIB
- OID
.1.3.6.1.4.1.52.4.2.2.2.3.1.2.2.2.1.2.1.4- Type
- column
- Access
- readwrite
- Status
- mandatory
- Parent
- nwIpAddrEntry
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 'CTRON-IP-ROUTER-MIB' -M '/opt/observium/mibs/cabletron:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CTRON-IP-ROUTER-MIB::nwIpAddrIfAddrType'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CTRON-IP-ROUTER-MIB' -M '/opt/observium/mibs/cabletron:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CTRON-IP-ROUTER-MIB::nwIpAddrIfAddrType.<nwIpAddrIfIndex>.<nwIpAddrIfAddress>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CTRON-IP-ROUTER-MIB' -M '/opt/observium/mibs/cabletron:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CTRON-IP-ROUTER-MIB::nwIpAddrIfAddrType'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | other |
2 | primary |
3 | secondary |
4 | workgroup |