Home/Catalog/CISCO-L2NAT-MIB

CISCO-L2NAT-MIB

AI MIB Summary

The CISCO-L2NAT-MIB monitors and configures Layer 2 Network Address Translation instances on Cisco Industrial Ethernet switches utilizing FPGA-based uplink processing, specifically tracking per-instance packet fixups, source/destination IP translation rules, and interface-VLAN binding statistics. It provides granular visibility into global platform counters, instance-specific permit/deny flows, and traffic statistics for packets traversing uplinks, enabling the management of embedded IP address translation within Layer 2 switched environments.

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.
Main OID:
ciscoL2natMIB.1.3.6.1.4.1.9.9.806
76
Objects
Active
Status
7
Dependencies

Imported Objects

Objects

76 total
Object Name
ciscoL2natMIB
MODULE-IDENTITY
.1.3.6.1.4.1.9.9.806
ciscoL2natMIBObjects
OBJECT IDENTIFIER
.1.3.6.1.4.1.9.9.806.1
cl2natTotalInstancesro
Counter32
.1.3.6.1.4.1.9.9.806.1.1
cl2natTotalMatchedro
Counter64
.1.3.6.1.4.1.9.9.806.1.2
cl2natTotalUnmatchedro
Counter64
.1.3.6.1.4.1.9.9.806.1.3
cl2natTotalFixupsro
Counter64
.1.3.6.1.4.1.9.9.806.1.4
cl2natTotalTranslationEntryConfiguredro
Unsigned32
.1.3.6.1.4.1.9.9.806.1.5
cl2natTotalPacketTranslatedro
Counter64
.1.3.6.1.4.1.9.9.806.1.6
cl2natInstConfigInstanceTable
SEQUENCE OF Cl2natInstConfigInstanceEntry
.1.3.6.1.4.1.9.9.806.1.7
cl2natInstConfigInstanceEntry
Cl2natInstConfigInstanceEntry
.1.3.6.1.4.1.9.9.806.1.7.1
cl2natInstConfigInstanceName
SnmpAdminString
.1.3.6.1.4.1.9.9.806.1.7.1.1
cl2natInstConfigPermitInrw
Bits
.1.3.6.1.4.1.9.9.806.1.7.1.2
cl2natInstConfigPermitOutrw
Bits
.1.3.6.1.4.1.9.9.806.1.7.1.3
cl2natInstConfigFixuprw
Bits
.1.3.6.1.4.1.9.9.806.1.7.1.4
cl2natInstConfigStorageTypero
StorageType (SNMPv2-TC)
.1.3.6.1.4.1.9.9.806.1.7.1.5
cl2natInstConfigInstanceRowStatusrw
RowStatus (SNMPv2-TC)
.1.3.6.1.4.1.9.9.806.1.7.1.6
cl2natInstIpInstanceIpTable
SEQUENCE OF Cl2natInstIpInstanceIpEntry
.1.3.6.1.4.1.9.9.806.1.8
cl2natInstIpInstanceIpEntry
Cl2natInstIpInstanceIpEntry
.1.3.6.1.4.1.9.9.806.1.8.1
cl2natInstIpDirection
Enumeration
.1.3.6.1.4.1.9.9.806.1.8.1.1
cl2natInstIpAddressType
Enumeration
.1.3.6.1.4.1.9.9.806.1.8.1.2
cl2natInstIpFromIpAddressType
InetAddressType (INET-ADDRESS-MIB)
.1.3.6.1.4.1.9.9.806.1.8.1.3
cl2natInstIpFromIpAddress
InetAddress
.1.3.6.1.4.1.9.9.806.1.8.1.4
cl2natInstIpToIpAddressTyperw
InetAddressType (INET-ADDRESS-MIB)
.1.3.6.1.4.1.9.9.806.1.8.1.5
cl2natInstIpToIpAddressrw
InetAddress
.1.3.6.1.4.1.9.9.806.1.8.1.6
cl2natInstIpAddressMaskrw
CiscoInetAddressMask (CISCO-TC)
.1.3.6.1.4.1.9.9.806.1.8.1.7
cl2natInstIpRangerw
Integer32
.1.3.6.1.4.1.9.9.806.1.8.1.8
cl2natInstStorageIpStorageTypero
StorageType (SNMPv2-TC)
.1.3.6.1.4.1.9.9.806.1.8.1.9
cl2natInstIpRowStatusrw
RowStatus (SNMPv2-TC)
.1.3.6.1.4.1.9.9.806.1.8.1.10
cl2natInterfaceConfigTable
SEQUENCE OF Cl2natInterfaceConfigEntry
.1.3.6.1.4.1.9.9.806.1.9
cl2natInterfaceConfigEntry
Cl2natInterfaceConfigEntry
.1.3.6.1.4.1.9.9.806.1.9.1
cl2natInterfaceConfigIfIndex
Unsigned32
.1.3.6.1.4.1.9.9.806.1.9.1.1
cl2natInterfaceConfigVlanIndex
Unsigned32
.1.3.6.1.4.1.9.9.806.1.9.1.2
cl2natInterfaceConfigInstanceNamero
SnmpAdminString
.1.3.6.1.4.1.9.9.806.1.9.1.3
cl2natInterfaceConfigStorageTypero
StorageType (SNMPv2-TC)
.1.3.6.1.4.1.9.9.806.1.9.1.4
cl2natInterfaceConfigRowStatusrw
RowStatus (SNMPv2-TC)
.1.3.6.1.4.1.9.9.806.1.9.1.5
cl2natInterfaceStatisticsTable
SEQUENCE OF Cl2natInterfaceStatisticsEntry
.1.3.6.1.4.1.9.9.806.1.10
cl2natInterfaceStatisticsEntry
Cl2natInterfaceStatisticsEntry
.1.3.6.1.4.1.9.9.806.1.10.1
cl2natFixupArpInro
Counter64
.1.3.6.1.4.1.9.9.806.1.10.1.1
cl2natFixupIcmpInro
Counter64
.1.3.6.1.4.1.9.9.806.1.10.1.2
cl2natFixupCipInro
Counter64
.1.3.6.1.4.1.9.9.806.1.10.1.3
cl2natFixupProfinetInro
Counter64
.1.3.6.1.4.1.9.9.806.1.10.1.4
cl2natFixupFtpInro
Counter64
.1.3.6.1.4.1.9.9.806.1.10.1.5
cl2natFixupSnmpInro
Counter64
.1.3.6.1.4.1.9.9.806.1.10.1.6
cl2natFixupSipInro
Counter64
.1.3.6.1.4.1.9.9.806.1.10.1.7
cl2natFixupSccpInro
Counter64
.1.3.6.1.4.1.9.9.806.1.10.1.8
cl2natUnmatchedInro
Counter64
.1.3.6.1.4.1.9.9.806.1.10.1.9
cl2natTranslatedUnicastInro
Counter64
.1.3.6.1.4.1.9.9.806.1.10.1.10
cl2natDroppedUnicastInro
Counter64
.1.3.6.1.4.1.9.9.806.1.10.1.11
cl2natDroppedMulticastInro
Counter64
.1.3.6.1.4.1.9.9.806.1.10.1.12
cl2natPassThruUnicastInro
Counter64
.1.3.6.1.4.1.9.9.806.1.10.1.13
cl2natPassThruMulticastInro
Counter64
.1.3.6.1.4.1.9.9.806.1.10.1.14
cl2natPassThruIgmpInro
Counter64
.1.3.6.1.4.1.9.9.806.1.10.1.15
cl2natDroppedIgmpInro
Counter64
.1.3.6.1.4.1.9.9.806.1.10.1.16
cl2natFixupArpOutro
Counter64
.1.3.6.1.4.1.9.9.806.1.10.1.17
cl2natFixupIcmpOutro
Counter64
.1.3.6.1.4.1.9.9.806.1.10.1.18
cl2natFixupCipOutro
Counter64
.1.3.6.1.4.1.9.9.806.1.10.1.19
cl2natFixupProfinetOutro
Counter64
.1.3.6.1.4.1.9.9.806.1.10.1.20
cl2natFixupFtpOutro
Counter64
.1.3.6.1.4.1.9.9.806.1.10.1.21
cl2natFixupSnmpOutro
Counter64
.1.3.6.1.4.1.9.9.806.1.10.1.22
cl2natFixupSipOutro
Counter64
.1.3.6.1.4.1.9.9.806.1.10.1.23
cl2natFixupSccpOutro
Counter64
.1.3.6.1.4.1.9.9.806.1.10.1.24
cl2natUnmatchedOutro
Counter64
.1.3.6.1.4.1.9.9.806.1.10.1.25
cl2natDroppedUnicastOutro
Counter64
.1.3.6.1.4.1.9.9.806.1.10.1.26
cl2natTranslatedUnicastOutro
Counter64
.1.3.6.1.4.1.9.9.806.1.10.1.27
cl2natPassThruUnicastOutro
Counter64
.1.3.6.1.4.1.9.9.806.1.10.1.28
cl2natDroppedMulticastOutro
Counter64
.1.3.6.1.4.1.9.9.806.1.10.1.29
cl2natPassThruMulticastOutro
Counter64
.1.3.6.1.4.1.9.9.806.1.10.1.30
cl2natDroppedIgmpOutro
Counter64
.1.3.6.1.4.1.9.9.806.1.10.1.31
cl2natPassThruIgmpOutro
Counter64
.1.3.6.1.4.1.9.9.806.1.10.1.32
cl2natInterfaceIpStatisticsTable
SEQUENCE OF Cl2natInterfaceIpStatisticsEntry
.1.3.6.1.4.1.9.9.806.1.11
cl2natInterfaceIpStatisticsEntry
Cl2natInterfaceIpStatisticsEntry
.1.3.6.1.4.1.9.9.806.1.11.1
cl2natTranslatesInro
Counter64
.1.3.6.1.4.1.9.9.806.1.11.1.1
cl2natTranslatesOutro
Counter64
.1.3.6.1.4.1.9.9.806.1.11.1.2
ciscoL2natMIBConformance
OBJECT IDENTIFIER
.1.3.6.1.4.1.9.9.806.3
ciscoL2natMIBCompliances
OBJECT IDENTIFIER
.1.3.6.1.4.1.9.9.806.3.1
ciscoL2natMIBGroups
OBJECT IDENTIFIER
.1.3.6.1.4.1.9.9.806.3.2

CISCO-L2NAT-MIB Technical Reference Overview

The CISCO-L2NAT-MIB SNMP MIB module published by Cisco defines 76 managed OID objects, including 61 scalar/column metrics, 5 SNMP tables, and 0 trap/notification events anchored at base OID .1.3.6.1.4.1.9.9.806. Key tabular structures include cl2natInstConfigInstanceTable, cl2natInstIpInstanceIpTable, cl2natInterfaceConfigTable, cl2natInterfaceStatisticsTable, cl2natInterfaceIpStatisticsTable.

Key OID Definitions in CISCO-L2NAT-MIB

ciscoL2natMIBMODULE-IDENTITYnot-accessible
.1.3.6.1.4.1.9.9.806

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.

cl2natInstConfigInstanceTableSEQUENCEnot-accessible
.1.3.6.1.4.1.9.9.806.1.7

This table contains multiple Layer 2 NAT instances. Each Layer 2 NAT instance has a unique name and consists of configurations other than the list of IP NAT translations for which there is a separate table. An instance only becomes effective on traffic after being applied to an interface/vlan combination, which is done through the cl2natInterfaceConfigTable.

cl2natInstIpInstanceIpTableSEQUENCEnot-accessible
.1.3.6.1.4.1.9.9.806.1.8

This table consists of multiple IP entries for each Layer2 NAT instances. This table is a logical extension of the cl2natInstInstanceTable because it is linked to the same Layer 2 NAT instance. This table is required because there can be multiple address translation entries for the same Layer 2 NAT instance.

cl2natInterfaceConfigTableSEQUENCEnot-accessible
.1.3.6.1.4.1.9.9.806.1.9

This table contains multiple entries, where each entry contains configuration of the instance applied to an interface/vlan combination.

cl2natInterfaceStatisticsTableSEQUENCEnot-accessible
.1.3.6.1.4.1.9.9.806.1.10

This table contains the Layer 2 NAT instance level statistics. The IP address translation statistics are contained in the cl2natInterfaceIpStatisticsTable.

cl2natInterfaceIpStatisticsTableSEQUENCEnot-accessible
.1.3.6.1.4.1.9.9.806.1.11

This table contains statistics for IP translations of an L2 NAT instance that is applied to interface/vlan combination. This table is a logical extension of the cl2natInterfaceStatisticsTable, because these translations belong to the same instance referred to in that table.

cl2natTotalInstancesCounter32read-only
.1.3.6.1.4.1.9.9.806.1.1

This object indicates the total number of Instances defined by the user on this device. Each instance is an independent module of configuration including IP address translations that only becomes active after being applied to an interface/vlan combination.

cl2natTotalMatchedCounter64read-only
.1.3.6.1.4.1.9.9.806.1.2

This object indicates the number of times a packet matches with user configured IP translation entries. It should be noted that the same packet can be counted twice if it matches both the outside and inside entries, one for the source address translation, and the other for the destination address translation.

cl2natTotalUnmatchedCounter64read-only
.1.3.6.1.4.1.9.9.806.1.3

This object indicates the total number of packets that did not match any of the configured NAT entries.

cl2natTotalFixupsCounter64read-only
.1.3.6.1.4.1.9.9.806.1.4

This object indicates the total number of packets that required fixups.

cl2natTotalTranslationEntryConfiguredUnsigned32read-only
.1.3.6.1.4.1.9.9.806.1.5

This object specifies the total number IP translation entries currently configured in the system.

cl2natTotalPacketTranslatedCounter64read-only
.1.3.6.1.4.1.9.9.806.1.6

This object indicates the total number of packets that got translated per rules defined in the cl2natinstanceIpTable

cl2natInstConfigInstanceEntryCl2natInstConfigInstanceEntrynot-accessible
.1.3.6.1.4.1.9.9.806.1.7.1

This entry is created as a row in the cl2natInstConfigInstanceTable table when a user configures a new instance. Each entry consists of the configuration parameters described below, and is indexed by the Layer 2 NAT instance name.

cl2natInstConfigInstanceNameSnmpAdminStringnot-accessible
.1.3.6.1.4.1.9.9.806.1.7.1.1

This object specifies the Name assigned by user to a created Layer 2 NAT instance.

cl2natInstConfigPermitInBITSread-create
.1.3.6.1.4.1.9.9.806.1.7.1.2

This object specifies user configured options for permitting or denying packets coming in from uplinks that do not match any NAT entry (unmatched), IGMP packets, multicast packets. A bit value of 0 denotes drop and a value of 1 indicates permit for that type. Default is 'drop' for all 3 types.

cl2natInstConfigPermitOutBITSread-create
.1.3.6.1.4.1.9.9.806.1.7.1.3

This object specifies user configured options for permitting or denying packets going out of uplinks that do not match any NAT entry (unmatched), IGMP packets, multicast packets. A bit value of 0 denotes drop and a value of 1 indicates permit for that type. Default is drop for all 3 types.

cl2natInstConfigFixupBITSread-create
.1.3.6.1.4.1.9.9.806.1.7.1.4

This object specifies user configured options for fixing up ARP, ICMP, Profinet, CIP and SNMP protocols. A fixup is required for protocols which embed IP addresses to work across NAT boundaries, and involves translating any IP address embedded in the protocol payload to the corresponding configured translated address. A bit value of 1 denotes fixup is enabled for that protocol, and a value of 0 indicates fixup is disabled. By default, fixup is enabled for ARP, ICMP, Profinet and CIP (if required).

cl2natInstConfigStorageTypeStorageTyperead-only
.1.3.6.1.4.1.9.9.806.1.7.1.5

This object specifies the storage type for this conceptual row. The following columnar objects are allowed to be writable when the storageType of this conceptual row is permanent(4): (replace with list of columns)

cl2natInstConfigInstanceRowStatusRowStatusread-create
.1.3.6.1.4.1.9.9.806.1.7.1.6

This object will follow RowStatus Textual convention to create/destroy entries. The following columnar objects are mandatory to make the entry 'active': cl2natInstIpInstanceName Once the entry status has been set to active(1), the entry cannot be modified. The only operation possible after this is to delete the entry.

cl2natInstIpInstanceIpEntryCl2natInstIpInstanceIpEntrynot-accessible
.1.3.6.1.4.1.9.9.806.1.8.1

This Entry is created when a new IP translation entry is added for a particular instance.

cl2natInstIpDirectionINTEGERnot-accessible
.1.3.6.1.4.1.9.9.806.1.8.1.1

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.

cl2natInstIpAddressTypeINTEGERnot-accessible
.1.3.6.1.4.1.9.9.806.1.8.1.2

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.

cl2natInstIpFromIpAddressTypeInetAddressTypenot-accessible
.1.3.6.1.4.1.9.9.806.1.8.1.3

The address type of cl2natFromIpAddress. This object specifies whether this translation is for for IPv4 or IPv6.

cl2natInstIpFromIpAddressInetAddressnot-accessible
.1.3.6.1.4.1.9.9.806.1.8.1.4

This object indicates the source IP address of packets going out of the uplink before translation if the cl2natInstIpDirection value for this entry is inside(1). This objects indicate the destination IP address of packets coming in from the uplinks after translation if the cl2natInstIpDirection value for this entry is outside(2)

More MIBs from Cisco

Browse all CiscoMIBs →
CISCO-UNIFIED-COMPUTING-COMPUTE-MIB

The CISCO-UNIFIED-COMPUTING-COMPUTE-MIB provides SNMP-based monitoring and management of Cisco UCS compute blades, servers, and chassis components, exposing critical metrics such as CPU utilization, memory usage, thermal sensor readings, power supply status, and interface operational states. This module enables granular visibility into the health and performance of the Cisco Unified Computing System's compute subsystems for capacity planning and fault isolation.

1401 objects→
CISCO-UNIFIED-COMPUTING-STORAGE-MIB

The CISCO-UNIFIED-COMPUTING-STORAGE-MIB facilitates SNMP-based monitoring and management of storage subsystems, including Fibre Channel and iSCSI interfaces, within the Cisco Unified Computing System (UCS) fabric interconnects and blade servers. It exposes critical operational metrics such as port status, error counters, throughput statistics, and storage controller health states to enable granular visibility into the storage infrastructure.

1295 objects→
CISCO-UNIFIED-COMPUTING-VNIC-MIB

The CISCO-UNIFIED-COMPUTING-VNIC-MIB enables SNMP-based monitoring and management of Virtual Network Interface Card (vNIC) attributes, including operational status, traffic counters, and binding configurations, within the Cisco Unified Computing System (UCS) fabric interconnects and server blades.

1161 objects→
CERENT-GENERIC-MIB

SNMP MIB module

984 objects→
CISCO-UNIFIED-COMPUTING-BIOS-MIB

The CISCO-UNIFIED-COMPUTING-BIOS-MIB enables SNMP-based monitoring and configuration of BIOS-level parameters, firmware versions, and hardware initialization states within Cisco Unified Computing System (UCS) servers. It provides visibility into critical server boot diagnostics, BIOS settings, and hardware readiness indicators to facilitate low-level infrastructure management and troubleshooting.

937 objects→
CISCO-UNIFIED-COMPUTING-ETHER-MIB

The CISCO-UNIFIED-COMPUTING-ETHER-MIB provides SNMP management interfaces for monitoring Ethernet interface statistics, link states, and error counters on Cisco Unified Computing System (UCS) fabric interconnects and blade server line cards. This module enables the tracking of physical layer connectivity, port throughput, and packet error rates within the UCS Ethernet switching infrastructure.

920 objects→