ADSTEC-IE-FW-MIB DEFINITIONS ::= BEGIN

-- ADSTEC FW MIB
-- Version 1.4
-- 31. January 2008
-- Alberto Dubuc.
-- ads-tec GmbH

IMPORTS
        enterprises,
	MODULE-IDENTITY		   FROM SNMPv2-SMI
	IpAddress		   FROM SNMPv2-SMI
	OBJECT-TYPE                FROM RFC-1212
	DisplayString		   FROM SNMPv2-TC
	MacAddress		   FROM SNMPv2-TC
	EnabledDisabledStatus	   FROM ADSTEC-MIB
	ads-tec			   FROM ADSTEC-MIB
	adsSysFamily		   FROM ADSTEC-MIB
	industrialEthernet,
	AdsTecIEDeviceType	   FROM ADSTEC-IE-GEN-MIB;
	

firewallMIB	MODULE-IDENTITY
	LAST-UPDATED "200804231305Z" -- Thu Apr 23 13:05:24 CET 2008
	ORGANIZATION "ads-tec GmbH"
	CONTACT-INFO
	"Postal: ads-tec GmbH
		 Raiffeisenstr. 14
		 D-70771, Leinfelden-Echterdingen
		 Germany
	Tel:	 +49 711 458-94-0
	E-mail:	 info@ads-tec.de"
	DESCRIPTION "MIB module for setting parameters on ads-tec IF1000 family devices."
	::= { industrialEthernet 2 }

-- firewallMIB Definitions

adsSysType OBJECT-TYPE
    SYNTAX  AdsTecIEDeviceType
    ACCESS  read-only
    STATUS  mandatory
    DESCRIPTION
            "Type of ads-tec IE System. For IF1000 the value is 1."
    ::= { firewallMIB 1 }

ipSettingsFW	   OBJECT IDENTIFIER ::= { firewallMIB 2 }
cutAndAlarmParams  OBJECT IDENTIFIER ::= { firewallMIB 3 }
lanOutPorts	   OBJECT IDENTIFIER ::= { firewallMIB 4 }
modemService	   OBJECT IDENTIFIER ::= { firewallMIB 5 }
filterRules	   OBJECT IDENTIFIER ::= { firewallMIB 6 }

-- ipSettingsFW Definitions

pppoeParams	   OBJECT IDENTIFIER ::= {  ipSettingsFW 1 }
natParams	   OBJECT IDENTIFIER ::= {  ipSettingsFW 2 }

-- pppoeParams Definitions

pppoeActive OBJECT-TYPE
    SYNTAX  EnabledDisabledStatus
    ACCESS  read-write
    STATUS  mandatory
    DESCRIPTION
            "PPPoE is active or not, value: enabled, disabled"
    ::= { pppoeParams 1 }

pppoeUserName OBJECT-TYPE
    SYNTAX  DisplayString
    ACCESS  read-write
    STATUS  mandatory
    DESCRIPTION
            "PPPoE User Name"
    ::= { pppoeParams 2 }

pppoePassword OBJECT-TYPE
    SYNTAX  DisplayString
    ACCESS  read-write
    STATUS  mandatory
    DESCRIPTION
            "PPPoE User Password"
    ::= { pppoeParams 3 }

-- natParams Definitions

natInterface OBJECT-TYPE
    SYNTAX  DisplayString
    ACCESS  read-write
    STATUS  mandatory
    DESCRIPTION
            "Enable NAT on one of the following ports:
            lan, wan, lan_port1, lan_port2, lan_port3 or lan_port4.
            To disable NAT set this variable to empty."
    ::= {  natParams 1 }

one2OneNatEnable OBJECT-TYPE
    SYNTAX  DisplayString
    ACCESS  read-write
    STATUS  mandatory
    DESCRIPTION
            "One to One NAT is active or not,  value: enabled, disabled"
    ::= {  natParams 2 }

one2OneNatIpAddress OBJECT-TYPE
    SYNTAX  IpAddress
    ACCESS  read-write
    STATUS  mandatory
    DESCRIPTION
            "IP address of the 1 to 1 NAT Network."
    ::= {  natParams 3 }

one2OneNatNetMask OBJECT-TYPE
    SYNTAX  INTEGER
    ACCESS  read-write
    STATUS  mandatory
    DESCRIPTION
            "Netmask of the 1 to 1 NAT Network."
    ::= {  natParams 4 }

-- cutAndAlarmParams Definitions

internalCutResetActive OBJECT-TYPE
    SYNTAX  EnabledDisabledStatus
    ACCESS  read-write
    STATUS  mandatory
    DESCRIPTION
            "The internal Cut signal will be automatically reseted after a certain amount of time"
    ::= {  cutAndAlarmParams 1 }

internalCutResetTimeout OBJECT-TYPE
    SYNTAX  INTEGER
    ACCESS  read-write
    STATUS  mandatory
    DESCRIPTION
            "Amount of time in seconds where the internal Cut signal will be automatically reseted."
    ::= {  cutAndAlarmParams 2 }


alarmResetActive OBJECT-TYPE
    SYNTAX  EnabledDisabledStatus
    ACCESS  read-write
    STATUS  mandatory
    DESCRIPTION
            "The Alarm signal will be automatically reseted after a certain amount of time"
    ::= { cutAndAlarmParams 3 }

alarmResetTimeout OBJECT-TYPE
    SYNTAX  INTEGER
    ACCESS  read-write
    STATUS  mandatory
    DESCRIPTION
            "Amount of time in seconds where the Alarm signal will be automatically reseted."
    ::= { cutAndAlarmParams 4 }

alarmStatus OBJECT-TYPE
    SYNTAX  EnabledDisabledStatus
    ACCESS  read-only
    STATUS  mandatory
    DESCRIPTION
            "Status of the Alarm signal."
    ::= { cutAndAlarmParams 5 }

internalCutStatus OBJECT-TYPE
    SYNTAX  EnabledDisabledStatus
    ACCESS  read-only
    STATUS  mandatory
    DESCRIPTION
            "Status of the internal Cut signal."
    ::= { cutAndAlarmParams 6 }

externalCutStatus OBJECT-TYPE
    SYNTAX  EnabledDisabledStatus
    ACCESS  read-only
    STATUS  mandatory
    DESCRIPTION
            "Status of the external Cut signal."
    ::= { cutAndAlarmParams 7 }

-- lanOutPorts Definitions

lanOutPort01 OBJECT-TYPE
    SYNTAX  EnabledDisabledStatus
    ACCESS  read-write
    STATUS  mandatory
    DESCRIPTION
            "Activaction of the LAN-out port 1."
    ::= { lanOutPorts 1 }

lanOutPort02 OBJECT-TYPE
    SYNTAX  EnabledDisabledStatus
    ACCESS  read-write
    STATUS  mandatory
    DESCRIPTION
            "Activaction of the LAN-out port 2."
    ::= { lanOutPorts 2 }


lanOutPort03 OBJECT-TYPE
    SYNTAX  EnabledDisabledStatus
    ACCESS  read-write
    STATUS  mandatory
    DESCRIPTION
            "Activaction of the LAN-out port 3."
    ::= { lanOutPorts 3 }


lanOutPort04 OBJECT-TYPE
    SYNTAX  EnabledDisabledStatus
    ACCESS  read-write
    STATUS  mandatory
    DESCRIPTION
            "Activaction of the LAN-out port 4."
    ::= { lanOutPorts 4 }




-- modemService Definitions

-- Textual Conventions

ModemModeOfOperation ::= TEXTUAL-CONVENTION
    STATUS current
    DESCRIPTION
        "This textual convention is used to the SERVICE Modem variable on the
        device, to show if the modem is setted as dial-in or dial-out.

        dialOut : The modem is setted to make calls to a service provider.
        dialIn  : The modem is setted to recieve calls from a client."

    SYNTAX INTEGER {
        dialOut(0),
        dialIn(1)
    }

ModemDialOutAutenticationType ::= TEXTUAL-CONVENTION
    STATUS current
    DESCRIPTION
        "This textual convention is used to the SERVICE Modem set of variables on the
        device, to set the type of authentication of the device."
    SYNTAX INTEGER {
        authChap(0),
        authPap(1)
    }

ModemDialOutDialMode ::= TEXTUAL-CONVENTION
    STATUS current
    DESCRIPTION
        "This textual convention is used to the SERVICE Modem set of variables on the
        device, to set the way of dialing on the modem."
    SYNTAX INTEGER {
        dialManual(0),
        dialOnDemand(1)
    }



modemServiceActive OBJECT-TYPE
    SYNTAX  EnabledDisabledStatus
    ACCESS  read-write
    STATUS  mandatory
    DESCRIPTION
            "Activaction of the SERVICE Modem."
    ::= { modemService 1 }

modemServiceMode OBJECT-TYPE
    SYNTAX  ModemModeOfOperation
    ACCESS  read-write
    STATUS  mandatory
    DESCRIPTION
            "Operation mode of the SERVICE Modem."
    ::= { modemService 2 }

modemDialInParams	   OBJECT IDENTIFIER ::= { modemService 3 }

-- modemDialInParams Definitions

modemDialInRemoteIP OBJECT-TYPE
    SYNTAX  IpAddress
    ACCESS  read-write
    STATUS  mandatory
    DESCRIPTION
            "Remote assigned IP Address of the DIAL-IN port."
    ::= { modemDialInParams 1 }

modemDialInLocalIP OBJECT-TYPE
    SYNTAX  IpAddress
    ACCESS  read-write
    STATUS  mandatory
    DESCRIPTION
            "Local assigned IP Address of the DIAL-IN port."
    ::= { modemDialInParams 2 }

modemDialOutParams	   OBJECT IDENTIFIER ::= { modemService 4 }

-- modemDialOutParams Definitions

modemDialOutActivateNAT OBJECT-TYPE
    SYNTAX  EnabledDisabledStatus
    ACCESS  read-write
    STATUS  mandatory
    DESCRIPTION
            "If Network Address Translation is active or not active for the device."
    ::= { modemDialOutParams 1 }

modemDialOutTelephoneNr OBJECT-TYPE
    SYNTAX  DisplayString
    ACCESS  read-write
    STATUS  mandatory
    DESCRIPTION
            "Telephon number that is dialed by the SERVICE Modem in dial-out mode."
    ::= { modemDialOutParams 2 }

modemServiceUserName OBJECT-TYPE
    SYNTAX  DisplayString
    ACCESS  read-write
    STATUS  mandatory
    DESCRIPTION
            "User name that is used by the SERVICE Modem."
    ::= { modemService 5 }

modemServicePassword OBJECT-TYPE
    SYNTAX  DisplayString
    ACCESS  read-write
    STATUS  mandatory
    DESCRIPTION
            "Password that is used by the SERVICE Modem."
    ::= { modemService 6 }

-- filterRules Definitions

filtersLayer2	   OBJECT IDENTIFIER ::= { filterRules 1 }

-- Available Layer 2 Filters definitions:

filtersL2AvailTable OBJECT-TYPE
    SYNTAX     SEQUENCE OF FilterL2AvailEntryDef
    ACCESS     not-accessible
    STATUS     mandatory
    DESCRIPTION
            "Table of all available Layer 2 filter definitions."
    ::= { filtersLayer2 1 }

filtersL2AvailEntry OBJECT-TYPE
    SYNTAX     FilterL2AvailEntryDef
    ACCESS     not-accessible
    STATUS     mandatory
    DESCRIPTION
            "An entry (conceptual row) in the filtersL2AvailTable."
    INDEX      { filterL2AvailIdx }
    ::= { filtersL2AvailTable 1 }

-- FilterL2AvailEntryDef Definition

FilterL2AvailEntryDef ::= SEQUENCE {
    filterL2AvailIdx	     INTEGER,
    filterL2AvailName	     DisplayString,
    filterL2AvailNumber	     INTEGER
}

filterL2AvailIdx OBJECT-TYPE
    SYNTAX     INTEGER (1..1024)
    ACCESS     not-accessible
    STATUS     mandatory
    DESCRIPTION
            "Index in the filter table."
    ::= {  filtersL2AvailEntry 1 }

filterL2AvailName OBJECT-TYPE
    SYNTAX     DisplayString
    ACCESS     read-only
    STATUS     mandatory
    DESCRIPTION
            "Filter Ruleset name."
    ::= { filtersL2AvailEntry 2 }

filterL2AvailNumber OBJECT-TYPE
    SYNTAX     DisplayString
    ACCESS     read-only
    STATUS     mandatory
    DESCRIPTION
            "Filter Ruleset position in the filter table."
    ::= { filtersL2AvailEntry 3 }


-- Current Layer 2 Filters definitions:

filtersL2CurrTable OBJECT-TYPE
    SYNTAX     SEQUENCE OF FilterL2CurrEntryDef
    ACCESS     not-accessible
    STATUS     mandatory
    DESCRIPTION
            "Table of all currently active Layer 2 filter definitions."
    ::= { filtersLayer2 2}

filtersL2CurrEntry OBJECT-TYPE
    SYNTAX     FilterL2CurrEntryDef
    ACCESS     not-accessible
    STATUS     mandatory
    DESCRIPTION
            "An entry (conceptual row) in the filtersL2CurrTable."
    INDEX      { filterL2CurrIdx }
    ::= { filtersL2CurrTable 1 }

-- FilterL2CurrEntryDef Definition

FilterL2CurrEntryDef ::= SEQUENCE {
    filterL2CurrIdx	     INTEGER,
    filterL2CurrName	     DisplayString,
    filterL2CurrNumber	     INTEGER
}

filterL2CurrIdx OBJECT-TYPE
    SYNTAX     INTEGER (1..1024)
    ACCESS     not-accessible
    STATUS     mandatory
    DESCRIPTION
            "Index in the filter table."
    ::= {  filtersL2CurrEntry 1 }

filterL2CurrName OBJECT-TYPE
    SYNTAX     DisplayString
    ACCESS     read-write
    STATUS     mandatory
    DESCRIPTION
            "Filter Ruleset name."
    ::= { filtersL2CurrEntry 2 }

filterL2CurrNumber OBJECT-TYPE
    SYNTAX     DisplayString
    ACCESS     read-write
    STATUS     mandatory
    DESCRIPTION
            "Filter Ruleset position in the filter table."
    ::= { filtersL2CurrEntry 3 }


filtersLayer3	   OBJECT IDENTIFIER ::= { filterRules 2 }

-- Available Layer 3 Filters definitions:

filtersL3AvailTable OBJECT-TYPE
    SYNTAX     SEQUENCE OF FilterL3AvailEntryDef
    ACCESS     not-accessible
    STATUS     mandatory
    DESCRIPTION
            "Table of all available Layer 3 filter definitions."
    ::= { filtersLayer3 1 }

filtersL3AvailEntry OBJECT-TYPE
    SYNTAX     FilterL3AvailEntryDef
    ACCESS     not-accessible
    STATUS     mandatory
    DESCRIPTION
            "An entry (conceptual row) in the filtersL3AvailTable."
    INDEX      { filterL3AvailIdx }
    ::= { filtersL3AvailTable 1 }

-- FilterL3AvailEntryDef Definition

FilterL3AvailEntryDef ::= SEQUENCE {
    filterL3AvailIdx	     INTEGER,
    filterL3AvailName	     DisplayString,
    filterL3AvailNumber	     INTEGER
}

filterL3AvailIdx OBJECT-TYPE
    SYNTAX     INTEGER (1..1024)
    ACCESS     not-accessible
    STATUS     mandatory
    DESCRIPTION
            "Index in the filter table."
    ::= {  filtersL3AvailEntry 1 }

filterL3AvailName OBJECT-TYPE
    SYNTAX     DisplayString
    ACCESS     read-only
    STATUS     mandatory
    DESCRIPTION
            "Filter Ruleset name."
    ::= { filtersL3AvailEntry 2 }

filterL3AvailNumber OBJECT-TYPE
    SYNTAX     DisplayString
    ACCESS     read-only
    STATUS     mandatory
    DESCRIPTION
            "Filter Ruleset position in the filter table."
    ::= { filtersL3AvailEntry 3 }


-- Current Layer 2 Filters definitions:

filtersL3CurrTable OBJECT-TYPE
    SYNTAX     SEQUENCE OF FilterL3CurrEntryDef
    ACCESS     not-accessible
    STATUS     mandatory
    DESCRIPTION
            "Table of all currently active Layer 3 filter definitions."
    ::= { filtersLayer3 2 }

filtersL3CurrEntry OBJECT-TYPE
    SYNTAX     FilterL3CurrEntryDef
    ACCESS     not-accessible
    STATUS     mandatory
    DESCRIPTION
            "An entry (conceptual row) in the filtersL3CurrTable."
    INDEX      { filterL3CurrIdx }
    ::= { filtersL3CurrTable 1 }

-- FilterL3CurrEntryDef Definition

FilterL3CurrEntryDef ::= SEQUENCE {
    filterL3CurrIdx	     INTEGER,
    filterL3CurrName	     DisplayString,
    filterL3CurrNumber	     INTEGER
}

filterL3CurrIdx OBJECT-TYPE
    SYNTAX     INTEGER (1..1024)
    ACCESS     not-accessible
    STATUS     mandatory
    DESCRIPTION
            "Index in the filter table."
    ::= {  filtersL3CurrEntry 1 }

filterL3CurrName OBJECT-TYPE
    SYNTAX     DisplayString
    ACCESS     read-write
    STATUS     mandatory
    DESCRIPTION
            "Filter Ruleset name."
    ::= { filtersL3CurrEntry 2 }

filterL3CurrNumber OBJECT-TYPE
    SYNTAX     DisplayString
    ACCESS     read-write
    STATUS     mandatory
    DESCRIPTION
            "Filter Ruleset position in the filter table."
    ::= { filtersL3CurrEntry 3 }

END
