zxAnL3IfIpCategory
ZTE-AN-L3-IF-MIB ·
.1.3.6.1.4.1.3902.1015.4.1.3.1.3
Object
column r/w
Enumeration
Represents the IP address category.
single(1) - Indicates that the IP addressing information for
this interface, has no primary/secondary category.
primary(2) - Indicates that this interface provides primary IP
addressing information.
secondary(3) - Indicates that this interface provides a secondary
IP addressing information. There may be more than one
secondary IP addressing information for an interface.
Context
- MIB
- ZTE-AN-L3-IF-MIB
- OID
.1.3.6.1.4.1.3902.1015.4.1.3.1.3- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- zxAnL3IfIpAddressEntry
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 'ZTE-AN-L3-IF-MIB' -M '/opt/observium/mibs/zte:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZTE-AN-L3-IF-MIB::zxAnL3IfIpCategory'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ZTE-AN-L3-IF-MIB' -M '/opt/observium/mibs/zte:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZTE-AN-L3-IF-MIB::zxAnL3IfIpCategory.<zxAnL3IfIndex>.<zxAnL3IfIpAddress>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ZTE-AN-L3-IF-MIB' -M '/opt/observium/mibs/zte:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ZTE-AN-L3-IF-MIB::zxAnL3IfIpCategory'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | single |
2 | primary |
3 | secondary |