⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 natmib.mib

📁 nat PNE 3.3 source code, running at more than vxworks6.x version.
💻 MIB
📖 第 1 页 / 共 3 页
字号:
-- natMib.mib  - Snmp v1/v2 agent nat mib definition -- Copyright 2000-2005 Wind River Systems, Inc-- modification history	  NatMib DEFINITIONS ::= BEGIN          IMPORTS		  IpAddress			  FROM RFC1155-SMI		  windRiverNAT			  FROM WRS-MASTER-MIB                  OBJECT-TYPE                          FROM RFC-1212		  DisplayString, RowStatus			  FROM SNMPv2-TC;          --  This MIB module uses the extended OBJECT-TYPE macro as          --  defined in [14];	  -- a truth value	  Boolean ::=   INTEGER { true(1), false(2) }          -- Implementation of the NAT group is mandatory for          -- all systems.           -- groups in NAT MIB          natDesc	OBJECT IDENTIFIER               ::= { windRiverNAT 1 }          natBind	OBJECT IDENTIFIER ::= { windRiverNAT 2 }          natSession	OBJECT IDENTIFIER ::= { windRiverNAT 3 }          -- the NAT descriptor group           -- Implementation of the NAT descriptor group is mandatory for all          -- systems which implement the NAT.           natNumber OBJECT-TYPE              SYNTAX  INTEGER              ACCESS  read-only              STATUS  mandatory              DESCRIPTION                      "The number of NAT instances (regardless of                      their current state) present on this system."	      DEFVAL { 1 }              ::= { natDesc 1 }          natSessionNumber OBJECT-TYPE              SYNTAX    INTEGER              ACCESS    read-only              STATUS    mandatory              DESCRIPTION		      "The number of NAT sessions present on this system."              ::= { natDesc 2 }          natSwVersion OBJECT-TYPE              SYNTAX  DisplayString (SIZE (0..255))              ACCESS  read-only              STATUS  mandatory              DESCRIPTION                      "A textual string describing the NAT software 		      version in use."              ::= { natDesc 3 }           natPrRealmType OBJECT-TYPE              SYNTAX  DisplayString (SIZE (0..255))              ACCESS  read-only              STATUS  mandatory              DESCRIPTION                      "A textual string containing information about the                      private realm this nat is bridging. Common value will be IPv4."              ::= { natDesc 4 }          natExtRealmType OBJECT-TYPE              SYNTAX  DisplayString (SIZE (0..255))              ACCESS  read-only              STATUS  mandatory              DESCRIPTION                      "A textual string containing information about the                      external realm this nat is bridging. Common value will be IPv4."              ::= { natDesc 5 }          natTable OBJECT-TYPE              SYNTAX  SEQUENCE OF NatEntry              ACCESS  not-accessible              STATUS  mandatory              DESCRIPTION                      "A list of NAT descriptor entries.  The number of                      entries is given by the value of natNumber."              ::= { natDesc 6 }           natEntry OBJECT-TYPE              SYNTAX  NatEntry              ACCESS  not-accessible              STATUS  mandatory              DESCRIPTION                      "A NAT entry contains all the relevant objects		      describing a particular NAT instance."              INDEX   { natIndex }              ::= { natTable 1 }          NatEntry ::=              SEQUENCE {                  natIndex                      INTEGER,                  natTypeMask                      INTEGER,                  natType                      INTEGER,                  natTotalBinds                      INTEGER,                  natMaxStaticBinds                      INTEGER,                  natCurrStaticBinds                      INTEGER,                  natCurrDynamicBinds                      INTEGER,                  natMaxStaticIpBinds                      INTEGER,                  natCurrStaticIpBinds                      INTEGER,                  natCurrDynamicIpBinds                      INTEGER,                  natMaxStaticTcpBinds                      INTEGER,                  natCurrStaticTcpBinds                      INTEGER,                  natCurrDynamicTcpBinds                      INTEGER,                  natMaxStaticUdpBinds                      INTEGER,                  natCurrStaticUdpBinds                      INTEGER,                  natCurrDynamicUdpBinds                      INTEGER,                  natSessionMaxIdleTime                      INTEGER,                  natUdpSessionMaxIdleTime                      INTEGER,                  natIcmpSessionMaxIdleTime                      INTEGER,                  natTcpUpSessionMaxIdleTime                      INTEGER,                  natTcpDiscSessionMaxIdleTime                      INTEGER,                  natTcpClosingSessionMaxIdleTime                      INTEGER,                  natTcpSyncSessionMaxIdleTime                      INTEGER,                  natLogMask                      INTEGER,                  natEnable                      Boolean,                  natDefXEnable                      Boolean,                  natGlobalAddrFilter                      Boolean,                  natStaticBindEnable                      Boolean              }          natIndex OBJECT-TYPE              SYNTAX  INTEGER              ACCESS  read-only              STATUS  mandatory              DESCRIPTION                      "A unique value for each NAT instance.  Its value                      ranges between 1 and the value of natNumber.  The                      value for each NAT instance must remain constant at                      least from one re-initialization of the entity's                      network management system to the next re-                      initialization."              ::= { natEntry 1 }          natTypeMask OBJECT-TYPE              SYNTAX  INTEGER (0..'7FFFFFFF'h)              ACCESS  read-only              STATUS  mandatory              DESCRIPTION		      "A Bit Mask documenting the NAT types as defined in 		      RFC 2663 this NAT instance supports. 		      Its value may be any combination of the options below:		      Basic-NAT(Bit 0)    		      NAPT(Bit 1)    		      Bi-directional-NAT(Bit 2)    		      Twice-NAT(Bit 3)    		      RSA-IP-Server(Bit 4)    		      RSAP-IP-Server(Bit 5)		      Bit 0, if set, indicates that Basic-NAT is supported.		      Bit 1, if set, indicates that NAPT is supported.		      Bit 2, if set, indicates that Bi-directional-NAT is supported.		      Bit 3, if set, indicates that Twice-NAT is supported.		      Bit 4, if set, indicates that RSA-IP-Server is supported.		      Bit 5, if set, indicates that RSAP-IP-Server is supported.		      "	     REFERENCE		      "RFC 2663"	     DEFVAL { 3 }              ::= { natEntry 2 }          natType OBJECT-TYPE              SYNTAX  INTEGER (0..'7FFFFFFF'h)              ACCESS  read-only              STATUS  mandatory              DESCRIPTION		      "A Bit Mask documenting the NAT device's actual 		      configuration according to natTypeMask above. 		      Its value may be one and only one of the options below:		      Basic-NAT(Bit 0)    		      NAPT(Bit 1)    		      Bi-directional-NAT(Bit 2)    		      Twice-NAT(Bit 3)    		      RSA-IP-Server(Bit 4)    		      RSAP-IP-Server(Bit 5)		      Bit 0, if set, indicates that Basic-NAT is configured.		      Bit 1, if set, indicates that NAPT is configured.		      Bit 2, if set, indicates that Bi-directional-NAT is configured.		      Bit 3, if set, indicates that Twice-NAT is configured.		      Bit 4, if set, indicates that RSA-IP-Server is configured.		      Bit 5, if set, indicates that RSAP-IP-Server is configured."	     REFERENCE		      "RFC 2663"	     DEFVAL { 2 }              ::= { natEntry 3 }          natTotalBinds OBJECT-TYPE              SYNTAX    INTEGER              ACCESS    read-only              STATUS    mandatory              DESCRIPTION                        "The number of NAT bind entries present on this system."              ::= { natEntry 4 }          natMaxStaticBinds OBJECT-TYPE              SYNTAX  INTEGER              ACCESS  read-only              STATUS  mandatory              DESCRIPTION                      "The maximum number of static bind entries this NAT 		      device supports."	      DEFVAL { 30 }              ::= { natEntry 5 }          natCurrStaticBinds OBJECT-TYPE              SYNTAX  INTEGER              ACCESS  read-only              STATUS  mandatory              DESCRIPTION                      "The current number of static bind entries on this NAT 		      device."              ::= { natEntry 6 }          natCurrDynamicBinds OBJECT-TYPE              SYNTAX  INTEGER              ACCESS  read-only              STATUS  mandatory              DESCRIPTION                      "The current number of dynamic bind entries on this NAT 		      device."              ::= { natEntry 7 }          natMaxStaticIpBinds OBJECT-TYPE              SYNTAX  INTEGER              ACCESS  read-only              STATUS  mandatory              DESCRIPTION                      "The maximum number of static IP bind entries this NAT 		      device supports."	      DEFVAL { 10 }              ::= { natEntry 8 }          natCurrStaticIpBinds OBJECT-TYPE              SYNTAX  INTEGER              ACCESS  read-only              STATUS  mandatory              DESCRIPTION                      "The current number of static IP bind entries this NAT 		      device supports."              ::= { natEntry 9 }          natCurrDynamicIpBinds OBJECT-TYPE              SYNTAX  INTEGER              ACCESS  read-only              STATUS  mandatory              DESCRIPTION                      "The current number of dynamic IP bind entries on this NAT 		      device."              ::= { natEntry 10 }          natMaxStaticTcpBinds OBJECT-TYPE              SYNTAX  INTEGER              ACCESS  read-only              STATUS  mandatory              DESCRIPTION                      "The maximum number of static TCP bind entries this NAT 		      device supports. This only applies if the NAT device		      is configured in NAPT mode."	      DEFVAL { 10 }              ::= { natEntry 11 }          natCurrStaticTcpBinds OBJECT-TYPE              SYNTAX  INTEGER              ACCESS  read-only              STATUS  mandatory              DESCRIPTION                      "The current number of static TCP bind entries this NAT 		      device supports. This only applies if the NAT device		      is configured in NAPT mode."              ::= { natEntry 12 }          natCurrDynamicTcpBinds OBJECT-TYPE              SYNTAX  INTEGER              ACCESS  read-only              STATUS  mandatory              DESCRIPTION                      "The current number of dynamic TCP bind entries on 		      this NAT device."              ::= { natEntry 13 }          natMaxStaticUdpBinds OBJECT-TYPE              SYNTAX  INTEGER              ACCESS  read-only              STATUS  mandatory              DESCRIPTION                      "The maximum number of static UDP bind entries this NAT 		      device supports. This only applies if the NAT device		      is configured in NAPT mode."	      DEFVAL { 10 }              ::= { natEntry 14 }          natCurrStaticUdpBinds OBJECT-TYPE              SYNTAX  INTEGER              ACCESS  read-only              STATUS  mandatory              DESCRIPTION                      "The current number of static UDP bind entries this NAT 		      device supports. This only applies if the NAT device		      is configured in NAPT mode."              ::= { natEntry 15 }          natCurrDynamicUdpBinds OBJECT-TYPE              SYNTAX  INTEGER              ACCESS  read-only              STATUS  mandatory              DESCRIPTION                      "The current number of dynamic UDP bind entries on this NAT 		      device."              ::= { natEntry 16 }          natSessionMaxIdleTime OBJECT-TYPE              SYNTAX  INTEGER              ACCESS  read-write              STATUS  mandatory              DESCRIPTION		      "All sessions are associated with a session-idle timeout.  		      When this timeout expires, if the session is idle, 		      the corresponding entry in the session table is deleted.              This parameter defines the value in seconds for the		      IP session-idle timeout loaded when the session itself		      is detected on the NAT device. Changing this parameter only 			  affects IP sessions detected at a later time.		      This parameter is only significant when the device		      operates in Basic-NAT mode."	      DEFVAL { 120 }              ::= { natEntry 17 }          natUdpSessionMaxIdleTime OBJECT-TYPE              SYNTAX  INTEGER              ACCESS  read-write              STATUS  mandatory              DESCRIPTION		      "All sessions are associated with a session-idle timeout.		      When this timeout expires if the session is idle, 		      the corresponding entry in the session table is deleted.                      This parameter defines the value in seconds for the		      UDP session-idle timeout loaded when the session itself		      is detected on the NAT device.		      Changing this parameter only affects UDP sessions 		      detected at a later time.		      		      This parameter is only significant when the device		      operates in NAPT mode."              ::= { natEntry 18 }          natIcmpSessionMaxIdleTime OBJECT-TYPE              SYNTAX  INTEGER              ACCESS  read-write

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -