cl2natInstIpDirection
CISCO-L2NAT-MIB ·
.1.3.6.1.4.1.9.9.806.1.8.1.1
Object
column Enumeration
This object specifies the direction in which an address is to be translated. A value of 1 denotes that this entry is for translating source IP address of packets going out of uplinks, or destination IP address of packets coming in. A value of 2 denotes that this entry is for translating destination IP address of packets going out of uplinks, or source IP address of packets coming in.
Context
- MIB
- CISCO-L2NAT-MIB
- OID
.1.3.6.1.4.1.9.9.806.1.8.1.1- 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::cl2natInstIpDirection'
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::cl2natInstIpDirection.<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::cl2natInstIpDirection'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | inside |
2 | outside |