cl2natInstIpAddressType
CISCO-L2NAT-MIB ·
.1.3.6.1.4.1.9.9.806.1.8.1.2
Object
column Enumeration
This object specifies the type of address that is used to
configure this translation. 'host' implies that this is a
single IP address translation for one host. 'range' implies
that the cl2natFromAddress and cl2natToAddress are the starting
addresses of the range, and the cl2natIpRange is the number of
addresses that are translated with this single config.
'network' implies that an entire class C network of original IP
addresses is translated to the corresponding 254 address
starting from the cl2natToAddress.
Context
- MIB
- CISCO-L2NAT-MIB
- OID
.1.3.6.1.4.1.9.9.806.1.8.1.2- Type
- column
- Access
- noaccess
- Status
- current
- Parent
- cl2natInstIpInstanceIpEntry
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 'CISCO-L2NAT-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-L2NAT-MIB::cl2natInstIpAddressType'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CISCO-L2NAT-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-L2NAT-MIB::cl2natInstIpAddressType.<cl2natInstConfigInstanceName>.<cl2natInstIpDirection>.<cl2natInstIpFromIpAddressType>.<cl2natInstIpFromIpAddress>.<cl2natInstIpAddressType>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CISCO-L2NAT-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CISCO-L2NAT-MIB::cl2natInstIpAddressType'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | host |
2 | range |
3 | network |