CISCO-L2NAT-MIB

        Network Address Translation (NAT) involves translating the
source and or destination IP addresses of packets as they
traverse from one IP domain to another. NAT is usually
performed on packets that are routed, and there is a MIB
already defined for that, but the application addressed
here is for performing NAT for Layer 2 switched packets.
This MIB module defines objects and tables for Network
Address Translation (NAT) performed at layer 2. This
application is planned currently for Industrial Ethernet
switches, but this could be used for other applications.
This platform implements NAT using an FPGA which connects
to uplinks, so NAT is only applicable for packets
coming in from uplinks, and going out of uplinks.
There are 3 main logical modules that are referred in this MIB.
Global parameters : These provide statistics for the
entire platform.
L2NAT Instance Table : This table contains multiple
Layer 2 NAT instances. A Layer 2 NAT instance referred 
throughout this MIB is an entity that is defined with respect 
to the Layer 2 NAT feature, and is different from the concept 
of instance as used in SNMP. Each Layer 2 NAT instance has a 
unique number.
Each Layer 2 NAT instance consists of packets that are to be 
permitted or denied, as well as packets that are supposed to be 
fixed up. Fixup is a NAT concept which applies to certain 
applications which embed IP addresses in the payload. For these 
applications to work across NAT, the embedded IP addresses need 
to be translated along with the header IP addresses.
Each Layer 2 NAT instance also contains a list of source and/or 
destination IP address translations
An instance only becomes effective on traffic after being 
applied to an interface vlan combination. This table actually 
consists of these 2 MIB tables in order for indexing to work, 
cl2natInstanceTable and cl2natInstanceIpTable
L2NAT Interface Config Table : This table contains multiple
entries, where each entry contains configuration
for the instance applied to an interface vlan combination.
This table actually consists of these 2 MIB tables in order for 
indexing to work cl2natInterfaceConfigTable and 
cl2natInterfaceIpConfigTable.
L2NAT Interface Statistics Table : This table contains multiple
entries, where each entry contains stats for the instance 
applied to an interface vlan combination.
This table actually consists of these 2 MIB tables in order for 
indexing to work , cl2natInterfaceStatisticsTable and 
cl2natInterfaceIpStatisticsTable.
    
Source file
CISCO-L2NAT-MIB
Last revised
Identity
ciscoL2natMIB
Base OID
1.3.6.1.4.1.9.9.806
Imported Objects
CISCO-SMI ciscoMgmt
CISCO-TC CiscoInetAddressMask
INET-ADDRESS-MIB InetAddress InetAddressType
SNMP-FRAMEWORK-MIB SnmpAdminString
SNMPv2-CONF MODULE-COMPLIANCE (no object page) OBJECT-GROUP (no object page)
SNMPv2-SMI Counter32 Counter64 Integer32 MODULE-IDENTITY (no object page) OBJECT-TYPE (no object page) Unsigned32
SNMPv2-TC RowStatus StorageType
Net-SNMP examples using the cisco MIB directory Show commands

These commands use the standard Observium installation path and load the selected MIB variant before the RFC and Net-SNMP directories.

Translate the module identity
/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::ciscoL2natMIB'
Walk the MIB subtree
/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::ciscoL2natMIB'
How SNMP, Net-SNMP, MIB paths, and variants work
Objects (76)
.1.3.6.1.4.1.9.9.806
.1.3.6.1.4.1.9.9.806.1
.1.3.6.1.4.1.9.9.806.1.1
.1.3.6.1.4.1.9.9.806.1.10
.1.3.6.1.4.1.9.9.806.1.10.1
.1.3.6.1.4.1.9.9.806.1.10.1.1
.1.3.6.1.4.1.9.9.806.1.10.1.10
.1.3.6.1.4.1.9.9.806.1.10.1.11
.1.3.6.1.4.1.9.9.806.1.10.1.12
.1.3.6.1.4.1.9.9.806.1.10.1.13
.1.3.6.1.4.1.9.9.806.1.10.1.14
.1.3.6.1.4.1.9.9.806.1.10.1.15
.1.3.6.1.4.1.9.9.806.1.10.1.16
.1.3.6.1.4.1.9.9.806.1.10.1.17
.1.3.6.1.4.1.9.9.806.1.10.1.18
.1.3.6.1.4.1.9.9.806.1.10.1.19
.1.3.6.1.4.1.9.9.806.1.10.1.2
.1.3.6.1.4.1.9.9.806.1.10.1.20
.1.3.6.1.4.1.9.9.806.1.10.1.21
.1.3.6.1.4.1.9.9.806.1.10.1.22
.1.3.6.1.4.1.9.9.806.1.10.1.23
.1.3.6.1.4.1.9.9.806.1.10.1.24
.1.3.6.1.4.1.9.9.806.1.10.1.25
.1.3.6.1.4.1.9.9.806.1.10.1.26
.1.3.6.1.4.1.9.9.806.1.10.1.27
.1.3.6.1.4.1.9.9.806.1.10.1.28
.1.3.6.1.4.1.9.9.806.1.10.1.29
.1.3.6.1.4.1.9.9.806.1.10.1.3
.1.3.6.1.4.1.9.9.806.1.10.1.30
.1.3.6.1.4.1.9.9.806.1.10.1.31
.1.3.6.1.4.1.9.9.806.1.10.1.32
.1.3.6.1.4.1.9.9.806.1.10.1.4
.1.3.6.1.4.1.9.9.806.1.10.1.5
.1.3.6.1.4.1.9.9.806.1.10.1.6
.1.3.6.1.4.1.9.9.806.1.10.1.7
.1.3.6.1.4.1.9.9.806.1.10.1.8
.1.3.6.1.4.1.9.9.806.1.10.1.9
.1.3.6.1.4.1.9.9.806.1.11
.1.3.6.1.4.1.9.9.806.1.11.1
.1.3.6.1.4.1.9.9.806.1.11.1.1
.1.3.6.1.4.1.9.9.806.1.11.1.2
.1.3.6.1.4.1.9.9.806.1.2
.1.3.6.1.4.1.9.9.806.1.3
.1.3.6.1.4.1.9.9.806.1.4
.1.3.6.1.4.1.9.9.806.1.5
.1.3.6.1.4.1.9.9.806.1.6
.1.3.6.1.4.1.9.9.806.1.7
.1.3.6.1.4.1.9.9.806.1.7.1
OctetString
.1.3.6.1.4.1.9.9.806.1.7.1.1
Bits
.1.3.6.1.4.1.9.9.806.1.7.1.2
Bits
.1.3.6.1.4.1.9.9.806.1.7.1.3
Bits
.1.3.6.1.4.1.9.9.806.1.7.1.4
.1.3.6.1.4.1.9.9.806.1.7.1.5
.1.3.6.1.4.1.9.9.806.1.7.1.6
.1.3.6.1.4.1.9.9.806.1.8
.1.3.6.1.4.1.9.9.806.1.8.1
Enumeration
.1.3.6.1.4.1.9.9.806.1.8.1.1
.1.3.6.1.4.1.9.9.806.1.8.1.10
Enumeration
.1.3.6.1.4.1.9.9.806.1.8.1.2
.1.3.6.1.4.1.9.9.806.1.8.1.3
OctetString
.1.3.6.1.4.1.9.9.806.1.8.1.4
.1.3.6.1.4.1.9.9.806.1.8.1.5
OctetString
.1.3.6.1.4.1.9.9.806.1.8.1.6
.1.3.6.1.4.1.9.9.806.1.8.1.7
Integer32
.1.3.6.1.4.1.9.9.806.1.8.1.8
.1.3.6.1.4.1.9.9.806.1.8.1.9
.1.3.6.1.4.1.9.9.806.1.9
.1.3.6.1.4.1.9.9.806.1.9.1
.1.3.6.1.4.1.9.9.806.1.9.1.1
.1.3.6.1.4.1.9.9.806.1.9.1.2
OctetString
.1.3.6.1.4.1.9.9.806.1.9.1.3
.1.3.6.1.4.1.9.9.806.1.9.1.4
.1.3.6.1.4.1.9.9.806.1.9.1.5
.1.3.6.1.4.1.9.9.806.3
.1.3.6.1.4.1.9.9.806.3.1
.1.3.6.1.4.1.9.9.806.3.2
Dependencies (7) 7 direct Show tree and compile order Hide dependency details

Each imported module is resolved in the importing module's source directory first, then through the normal default-variant rules.

Dependency tree
Dependency-first compile order
  1. SNMPv2-SMIrfc
  2. CISCO-SMIcisco
  3. SNMPv2-TCrfc
  4. CISCO-TCcisco
  5. INET-ADDRESS-MIBrfc
  6. SNMPv2-CONFrfc
  7. SNMP-FRAMEWORK-MIBrfc
  8. CISCO-L2NAT-MIBciscoselected
Conformance Groups (4)
A collection of objects providing Global Statistics for NAT at
layer 2
.1.3.6.1.4.1.9.9.806.3.2.1
A collection of objects providing Instance and interface
Config for NAT at layer 2
.1.3.6.1.4.1.9.9.806.3.2.2
A collection of objects providing per Instance
Statistics for NAT at layer 2
.1.3.6.1.4.1.9.9.806.3.2.3
A collection of objects providing per Instance per translation
statistics at layer 2
.1.3.6.1.4.1.9.9.806.3.2.4
Compliance Statements (1)

OID .1.3.6.1.4.1.9.9.806.3.1.1
cisco L2NAT mib compliance object
Required groups
Object refinements
ObjectAccessSyntaxDescription
cl2natInstConfigInstanceRowStatus Support for createAndWait and notInService is not required.
cl2natInstIpRowStatus Support for createAndWait and notInService is not required.
cl2natInterfaceConfigRowStatus Support for createAndWait and notInService is not required.