h3cAtmDxiMapPeerIpType
H3C-ATM-DXI-MIB ·
.1.3.6.1.4.1.2011.10.2.49.2.2.1.1
Object
The type of ip address: IPv4 or IPv6.
Context
- MIB
- H3C-ATM-DXI-MIB
- OID
.1.3.6.1.4.1.2011.10.2.49.2.2.1.1- Type
- column
- Access
- noaccess
- Status
- current
- Parent
- h3cAtmDxiMapEntry
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 'H3C-ATM-DXI-MIB' -M '/opt/observium/mibs/h3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'H3C-ATM-DXI-MIB::h3cAtmDxiMapPeerIpType'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'H3C-ATM-DXI-MIB' -M '/opt/observium/mibs/h3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'H3C-ATM-DXI-MIB::h3cAtmDxiMapPeerIpType.<ifIndex>.<h3cAtmDxiMapPeerIpType>.<h3cAtmDxiMapPeerIp>.<h3cAtmDxiMapPvcVpi>.<h3cAtmDxiMapPvcVci>.<h3cAtmDxiMapType>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'H3C-ATM-DXI-MIB' -M '/opt/observium/mibs/h3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'H3C-ATM-DXI-MIB::h3cAtmDxiMapPeerIpType'
Syntax
- Source
- INET-ADDRESS-MIBInetAddressType
- Base type
Enumeration
Values & Constraints
Type Values
0 | unknown |
1 | ipv4 |
2 | ipv6 |
3 | ipv4z |
4 | ipv6z |
16 | dns |
25 | l2vpn |