NAT-MIB DEFINITIONS ::= BEGIN IMPORTS MODULE-IDENTITY, OBJECT-TYPE, IpAddress, Integer32, Counter32 FROM SNMPv2-SMI TruthValue, RowStatus FROM SNMPv2-TC tiaraIpIfIndex FROM TIARA-IP-MIB tiaraMgmt FROM TIARA-NETWORKS-SMI; tiaraNatMib MODULE-IDENTITY LAST-UPDATED "0008020000Z" ORGANIZATION "Tiara Networks Inc." CONTACT-INFO " Tiara Networks Customer Support 525 Race Street, Suite 100, San Jose, CA 95126 USA Tel: +1 408-216-4700 Fax: +1 408-216-4701 email: support@tiaranetworks.com" DESCRIPTION "This MIB module describes Tiara Networks implementation of network address translation." ::= { tiaraMgmt 100 } --Tiara NAT MIB -- NatConfigTable definition natConfigTable OBJECT-TYPE SYNTAX SEQUENCE OF NatConfigTableEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "NAT config table." ::= {tiaraNatMib 1} natConfigTableEntry OBJECT-TYPE SYNTAX NatConfigTableEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "NAT config table entry." INDEX { tiaraIpIfIndex } ::= {natConfigTable 1} NatConfigTableEntry ::= SEQUENCE { natConfigInitialize TruthValue, natConfigTranslationMode INTEGER, natConfigDynamicTranslationIpAddr IpAddress, natConfigReverseNat TruthValue, natConfigMaximumTranslations Integer32, natConfigPassThrough TruthValue, natConfigUnregistered TruthValue, natConfigTCPTimeOut Integer32, natConfigUDPTimeOut Integer32, natClearTranslationEntries INTEGER, natClearCounters TruthValue, natConfigRowStatus RowStatus } natConfigInitialize OBJECT-TYPE SYNTAX TruthValue MAX-ACCESS read-create STATUS current DESCRIPTION "Intializes network address translation for an interface. By default NAT is not initialized." DEFVAL { false } ::= { natConfigTableEntry 1} natConfigTranslationMode OBJECT-TYPE SYNTAX INTEGER { static(1), dynamic(2), all(3) } MAX-ACCESS read-create STATUS current DESCRIPTION "The type of address translation supported for the interface. This can be one of three values: static, dynamic, or both (static and dynamic). By default, both are enabled." DEFVAL { all } ::= { natConfigTableEntry 2 } natConfigDynamicTranslationIpAddr OBJECT-TYPE SYNTAX IpAddress MAX-ACCESS read-create STATUS current DESCRIPTION "Ip Address for dynamic address translation. By default this is the interface Ip Address." --DEFVAL { "INTERFACE IP ADDRESS" } ?? ::= { natConfigTableEntry 3 } natConfigReverseNat OBJECT-TYPE SYNTAX TruthValue MAX-ACCESS read-create STATUS current DESCRIPTION "Enable or disable the reverse NAT configuration." DEFVAL { false } ::= { natConfigTableEntry 4 } natConfigMaximumTranslations OBJECT-TYPE SYNTAX Integer32 -- RANGE MAX-ACCESS read-create STATUS current DESCRIPTION "Limit on the number of translations allowed." DEFVAL { 60000 } ::= { natConfigTableEntry 5} natConfigPassThrough OBJECT-TYPE SYNTAX TruthValue MAX-ACCESS read-create STATUS current DESCRIPTION "Enable the NAT pass-thru functionality for the interface." DEFVAL { false } ::= { natConfigTableEntry 6} natConfigUnregistered OBJECT-TYPE SYNTAX TruthValue MAX-ACCESS read-create STATUS current DESCRIPTION "Enable allows only unregistered address translation. Disable allows both registered and unregistered address translation." DEFVAL { false } ::= { natConfigTableEntry 7} natConfigTCPTimeOut OBJECT-TYPE SYNTAX Integer32 -- RANGE UNITS "seconds" MAX-ACCESS read-create STATUS current DESCRIPTION "The time-out value for dynamic TCP translation entries. The default is 24 hours." DEFVAL { 86400} ::= { natConfigTableEntry 8} natConfigUDPTimeOut OBJECT-TYPE SYNTAX Integer32 -- RANGE UNITS "seconds" MAX-ACCESS read-create STATUS current DESCRIPTION "The time-out value for dynamic UDP translation entries. The default is one minute." DEFVAL { 60 } ::= { natConfigTableEntry 9} natClearTranslationEntries OBJECT-TYPE SYNTAX INTEGER { static (1), dynamic (2), all (3), none (4) } MAX-ACCESS read-create STATUS current DESCRIPTION "Clear entires per interface." DEFVAL { none } ::= { natConfigTableEntry 10} natClearCounters OBJECT-TYPE SYNTAX TruthValue MAX-ACCESS read-create STATUS current DESCRIPTION "Clear the hit miss counters for the interface." DEFVAL { false } ::= { natConfigTableEntry 11} natConfigRowStatus OBJECT-TYPE SYNTAX RowStatus MAX-ACCESS read-create STATUS current DESCRIPTION "Used to add or delete a row in the table." ::= { natConfigTableEntry 12 } ----------- natStaticAddressTable OBJECT-TYPE SYNTAX SEQUENCE OF NatStaticAddressTableEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "NAT static table." ::= {tiaraNatMib 2} natStaticAddressTableEntry OBJECT-TYPE SYNTAX NatStaticAddressTableEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "NAT static table entry." INDEX { tiaraIpIfIndex, natNumericIndex} ::= {natStaticAddressTable 1} NatStaticAddressTableEntry ::= SEQUENCE { natNumericIndex Integer32, natStaticAddrLocalAddr IpAddress, natStaticAddrGlobalAddr IpAddress, natStaticAddrRowStatus RowStatus } natNumericIndex OBJECT-TYPE SYNTAX Integer32 MAX-ACCESS not-accessible STATUS current DESCRIPTION "When a row is created, you must provide the invalid numeric index (0XFFFF). This invalid index appends the new row to the table and enables a valid numeric index to be internally generated for the row. Performing an SNMP walk enables one to query any variable in the table for a particular row or determine the number of rows in the table." ::= { natStaticAddressTableEntry 1 } natStaticAddrLocalAddr OBJECT-TYPE SYNTAX IpAddress MAX-ACCESS read-create STATUS current DESCRIPTION "Local address used for static address translation." ::= { natStaticAddressTableEntry 2 } natStaticAddrGlobalAddr OBJECT-TYPE SYNTAX IpAddress MAX-ACCESS read-create STATUS current DESCRIPTION "Global address used for static address translation." ::= { natStaticAddressTableEntry 3 } natStaticAddrRowStatus OBJECT-TYPE SYNTAX RowStatus MAX-ACCESS read-create STATUS current DESCRIPTION "Used to add or delete a row in the table." ::= { natStaticAddressTableEntry 4 } -------------- natStaticPortTable OBJECT-TYPE SYNTAX SEQUENCE OF NatStaticPortTableEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "NAT static table." ::= {tiaraNatMib 3} natStaticPortTableEntry OBJECT-TYPE SYNTAX NatStaticPortTableEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "NAT static table entry." INDEX { tiaraIpIfIndex, natNumericIndex} ::= {natStaticPortTable 1} NatStaticPortTableEntry ::= SEQUENCE { natStaticPortLocalAddr IpAddress, natStaticPortLocalPort Integer32, natStaticPortGlobalAddr IpAddress, natStaticPortGlobalPort Integer32, natStaticPortProtType INTEGER, natStaticPortRowStatus RowStatus } natStaticPortLocalAddr OBJECT-TYPE SYNTAX IpAddress MAX-ACCESS read-create STATUS current DESCRIPTION "Local address used for static port translation." ::= { natStaticPortTableEntry 1 } natStaticPortLocalPort OBJECT-TYPE SYNTAX Integer32 -- RANGE MAX-ACCESS read-create STATUS current DESCRIPTION "Local port used for static port translation." ::= { natStaticPortTableEntry 2 } natStaticPortGlobalAddr OBJECT-TYPE SYNTAX IpAddress MAX-ACCESS read-create STATUS current DESCRIPTION "Global address used for static port translation." ::= { natStaticPortTableEntry 3 } natStaticPortGlobalPort OBJECT-TYPE SYNTAX Integer32 -- RANGE MAX-ACCESS read-create STATUS current DESCRIPTION "Global port used for static port translation." ::= { natStaticPortTableEntry 4 } natStaticPortProtType OBJECT-TYPE SYNTAX INTEGER { tcp(6), udp(17) } MAX-ACCESS read-create STATUS current DESCRIPTION "Protocol type." ::= { natStaticPortTableEntry 5 } natStaticPortRowStatus OBJECT-TYPE SYNTAX RowStatus MAX-ACCESS read-create STATUS current DESCRIPTION "Used to add or delete a row in the table." ::= { natStaticPortTableEntry 6 } -- natDynamicTable OBJECT-TYPE SYNTAX SEQUENCE OF NatDynamicTableEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "NAT dynamic table." ::= {tiaraNatMib 4} natDynamicTableEntry OBJECT-TYPE SYNTAX NatDynamicTableEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "NAT dynamic table entry." INDEX { tiaraIpIfIndex, natNumericIndex} ::= {natDynamicTable 1} NatDynamicTableEntry ::= SEQUENCE { natDynamicLocalAddr IpAddress, natDynamicLocalPort Integer32, natDynamicGlobalAddr IpAddress, natDynamicGlobalPort Integer32, natDynamicProtType INTEGER, natDynamicRowDelete TruthValue } natDynamicLocalAddr OBJECT-TYPE SYNTAX IpAddress MAX-ACCESS read-only STATUS current DESCRIPTION "Local address used for dynamic address translation." ::= { natDynamicTableEntry 1 } natDynamicLocalPort OBJECT-TYPE SYNTAX Integer32 -- RANGE MAX-ACCESS read-only STATUS current DESCRIPTION "Local port used for dynamic address translation." ::= { natDynamicTableEntry 2 } natDynamicGlobalAddr OBJECT-TYPE SYNTAX IpAddress MAX-ACCESS read-only STATUS current DESCRIPTION "Global address used for dynamic address translation." ::= { natDynamicTableEntry 3 } natDynamicGlobalPort OBJECT-TYPE SYNTAX Integer32 -- RANGE MAX-ACCESS read-only STATUS current DESCRIPTION "Global port used for dynamic address translation." ::= { natDynamicTableEntry 4 } natDynamicProtType OBJECT-TYPE SYNTAX INTEGER { icmp(1), tcp(6), udp(17) } MAX-ACCESS read-only STATUS current DESCRIPTION "Protocol type." ::= { natDynamicTableEntry 5 } natDynamicRowDelete OBJECT-TYPE SYNTAX TruthValue MAX-ACCESS read-write STATUS current DESCRIPTION "Delete the row of the dynamic translation table." ::= { natDynamicTableEntry 6 } --- natClearAllTranslationEntry OBJECT-TYPE SYNTAX TruthValue MAX-ACCESS read-write STATUS current DESCRIPTION "Clear all translation entries." ::= { tiaraNatMib 5} -- natStatsTable OBJECT-TYPE SYNTAX SEQUENCE OF NatStatsTableEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "NAT statistic table." ::= {tiaraNatMib 6} natStatsTableEntry OBJECT-TYPE SYNTAX NatStatsTableEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "NAT statistic table entry." INDEX { tiaraIpIfIndex } ::= {natStatsTable 1} NatStatsTableEntry ::= SEQUENCE { natStatsStaticAddrTranslations Counter32, natStatsPortTranslations Counter32, natStatsTotalTranslations Counter32, natStatsHitsInComing Counter32, natStatsMissesInComing Counter32, natStatsHitsOutgoing Counter32, natStatsMissesOutgoing Counter32, natStatsPassThroughIn Counter32, natStatsPassThroughOut Counter32, natStatsDynamicPortTranslations Counter32 } natStatsStaticAddrTranslations OBJECT-TYPE SYNTAX Counter32 MAX-ACCESS read-only STATUS current DESCRIPTION "The number of static address translations." ::= { natStatsTableEntry 1 } natStatsPortTranslations OBJECT-TYPE SYNTAX Counter32 MAX-ACCESS read-only STATUS current DESCRIPTION "The number of static port translations." ::= { natStatsTableEntry 2 } natStatsTotalTranslations OBJECT-TYPE SYNTAX Counter32 MAX-ACCESS read-only STATUS current DESCRIPTION "The number of total translations." ::= { natStatsTableEntry 3 } natStatsHitsInComing OBJECT-TYPE SYNTAX Counter32 MAX-ACCESS read-only STATUS current DESCRIPTION "The number of translation hits incoming." ::= { natStatsTableEntry 4 } natStatsMissesInComing OBJECT-TYPE SYNTAX Counter32 MAX-ACCESS read-only STATUS current DESCRIPTION "The number of translation misses incoming." ::= { natStatsTableEntry 5 } natStatsHitsOutgoing OBJECT-TYPE SYNTAX Counter32 MAX-ACCESS read-only STATUS current DESCRIPTION "The number of translation hits outgoing." ::= { natStatsTableEntry 6 } natStatsMissesOutgoing OBJECT-TYPE SYNTAX Counter32 MAX-ACCESS read-only STATUS current DESCRIPTION "The number of translation misses outgoing." ::= { natStatsTableEntry 7 } natStatsPassThroughIn OBJECT-TYPE SYNTAX Counter32 MAX-ACCESS read-only STATUS current DESCRIPTION "The number of incoming pass-thru packets." ::= { natStatsTableEntry 8 } natStatsPassThroughOut OBJECT-TYPE SYNTAX Counter32 MAX-ACCESS read-only STATUS current DESCRIPTION "The number of outgoing pass-thru packets." ::= { natStatsTableEntry 9 } natStatsDynamicPortTranslations OBJECT-TYPE SYNTAX Counter32 MAX-ACCESS read-only STATUS current DESCRIPTION "The number of dynamic port translations." ::= { natStatsTableEntry 10 } END