CTC-FMUX160-SERIES-MIB DEFINITIONS ::= BEGIN

IMPORTS
	MODULE-IDENTITY, OBJECT-TYPE, Counter32, 
	Gauge32, Integer32, TimeTicks, mib-2, 
	enterprises, IpAddress,	
	NOTIFICATION-TYPE                        FROM SNMPv2-SMI
	TEXTUAL-CONVENTION, DisplayString,
	PhysAddress, TruthValue, RowStatus,
	TimeStamp, AutonomousType, TestAndIncr,
	MacAddress                               FROM SNMPv2-TC
	MODULE-COMPLIANCE, OBJECT-GROUP,
	NOTIFICATION-GROUP                       FROM SNMPv2-CONF
	;

fmux160Series MODULE-IDENTITY                                              
	LAST-UPDATED "201401100000Z"
	ORGANIZATION "CTC Union Technologies Co., Ltd."
	CONTACT-INFO "   Support Department
				 CTC Union Tech. Co., Ltd.
				 8F, No.60, ZhouZi Street, Nei-Hu,
				 Taipei 114, Taiwan
				 +886-2-2659-1021
				 support@ctcu.com"
	DESCRIPTION  "FMUX160/FMUX1600/FMUX80/FMUX800 Fiber multiplex series MIB FILE V1.01"

	REVISION 	 "201401100000Z"
	DESCRIPTION  "V1.01 released"
	
	REVISION 	 "201312260000Z"
	DESCRIPTION  "V1.00 released"
	::= { ctc 124 }
    
ctc OBJECT IDENTIFIER ::= { enterprises 4756 }

--
-- snmpInfo 
--

snmpInfo OBJECT IDENTIFIER ::= { fmux160Series 10 }   
snmpHWVersion OBJECT-TYPE 
	SYNTAX      DisplayString
	MAX-ACCESS  read-only
	STATUS      current
	DESCRIPTION "Hardware version"
	::= { snmpInfo 1 }         
         
snmpFWVersion OBJECT-TYPE 
	SYNTAX      DisplayString
	MAX-ACCESS  read-only
	STATUS      current
	DESCRIPTION "Firmware version"
	::= { snmpInfo 2 }

macAddress OBJECT-TYPE 
	SYNTAX      MacAddress
	MAX-ACCESS  read-only
	STATUS      current
	DESCRIPTION "MAC address"
	::= { snmpInfo 3 } 
                      
timeServerIP OBJECT-TYPE
	SYNTAX	    IpAddress
	MAX-ACCESS  read-write
	STATUS      current
	DESCRIPTION "Time server IP address."
	::= { snmpInfo 4 }
		
timeZone OBJECT-TYPE
	SYNTAX	    DisplayString
	MAX-ACCESS  read-write
	STATUS      current
	DESCRIPTION	"Time zone +hh:mm or -hh:mm."
	::= { snmpInfo 5 }
	
autoRecvTime OBJECT-TYPE
	SYNTAX      INTEGER{
	                disable(1),
	                enable(2)
	            } 
	MAX-ACCESS  read-write
	STATUS      current
	DESCRIPTION "1:Disable auto recieve time at startup
	             2:Enable auto recieve time at startup"
	::= { snmpInfo 6 }		
	
curDateTime OBJECT-TYPE
	SYNTAX	    DisplayString
	MAX-ACCESS  read-write
	STATUS      current
	DESCRIPTION "Set date and time of system"
	::= { snmpInfo 7 }                      

syncTime OBJECT-TYPE
	SYNTAX	    INTEGER{
	                off(1),
	                action(2)
	            } 
	MAX-ACCESS  read-write
	STATUS      current
	DESCRIPTION "1:Off
	             2:Do synchronise time"
	::= { snmpInfo 8 } 
	
reboot OBJECT-TYPE 
	SYNTAX      INTEGER{
	                off(1),
	                action(2)
	            }  
	MAX-ACCESS  read-write
	STATUS      current
	DESCRIPTION "Reboot SNMP Manager system: 
	            1:Off
	            2:Action"
	::= { snmpInfo 9 }	

--
-- deviceInfo 
--

deviceInfo OBJECT IDENTIFIER ::= { fmux160Series 20 }   

deviceTable	    OBJECT-TYPE
	SYNTAX      SEQUENCE OF DeviceEntry
	MAX-ACCESS  not-accessible
	STATUS      current
	DESCRIPTION "A list of system entries."
	::= { deviceInfo 1 }

deviceEntry OBJECT-TYPE
	SYNTAX      DeviceEntry
	MAX-ACCESS  not-accessible
	STATUS      current
	DESCRIPTION "An entry containing management information applicable
				to device system."
	INDEX   	{ sideIndex }
	::= { deviceTable 1 }

DeviceEntry ::=
	SEQUENCE {  
		sideIndex		INTEGER,
		hwVersion		DisplayString,
		fwVersion		DisplayString,
      	cpldVersion		DisplayString,   
      	fpgaVersion		DisplayString,
      	model			INTEGER,           
      	serialNo		DisplayString,
      	snmpManagement	INTEGER,
      	uptime			DisplayString, 
      	power1Type		INTEGER,
      	power1Status	INTEGER,
      	power2Type		INTEGER,
      	power2Status	INTEGER, 
      	deviceActive	INTEGER,
      	e1t1FuncMode	INTEGER,
      	deviceReset		INTEGER,
      	setDefault		INTEGER,
      	storeParameter	INTEGER,
      	clearUptime		INTEGER
	}
	
sideIndex OBJECT-TYPE       
	SYNTAX      INTEGER (1..2)
	MAX-ACCESS  read-only
	STATUS      current
	DESCRIPTION "A unique value for each side device:
	             1:Local device
	             2:Remote device"
	::= { deviceEntry 1 }
 
hwVersion OBJECT-TYPE
	SYNTAX      DisplayString 
	MAX-ACCESS  read-only
	STATUS      current
	DESCRIPTION "Hardware version"
	::= { deviceEntry 2 }

fwVersion OBJECT-TYPE 
	SYNTAX      DisplayString
	MAX-ACCESS  read-only
	STATUS      current
	DESCRIPTION "Firmware version"
	::= { deviceEntry 3 } 

cpldVersion OBJECT-TYPE 
	SYNTAX      DisplayString
	MAX-ACCESS  read-only
	STATUS      current
	DESCRIPTION "CPLD version"
	::= { deviceEntry 4 } 

fpgaVersion OBJECT-TYPE 
	SYNTAX      DisplayString
	MAX-ACCESS  read-only
	STATUS      current
	DESCRIPTION "FPGA version"
	::= { deviceEntry 5 } 

model OBJECT-TYPE 
	SYNTAX      INTEGER{
	                fmux160(1),
	                fmux1600(2),
	                fmux80(3),
	                fmux800(4)
	            }  
	MAX-ACCESS  read-only
	STATUS      current
	DESCRIPTION "SNMP function management
	            1:FMUX160
	            2:FMUX1600
	            3:FMUX80
	            4:FMUX800"             
	::= { deviceEntry 6 }

serialNo OBJECT-TYPE 
	SYNTAX      DisplayString
	MAX-ACCESS  read-only
	STATUS      current
	DESCRIPTION "Serial number"
	::= { deviceEntry 7 } 

snmpManagement OBJECT-TYPE 
	SYNTAX      INTEGER{
	                disable(1),
	                enable(2)
	            }  
	MAX-ACCESS  read-only
	STATUS      current
	DESCRIPTION "SNMP function management
	            1:Disable
	            2:Enable"
	::= { deviceEntry 8 } 

uptime OBJECT-TYPE 
	SYNTAX      DisplayString
	MAX-ACCESS  read-only
	STATUS      current
	DESCRIPTION "Operation time hh:mm:ss"
	::= { deviceEntry 9 } 
                 
power1Type OBJECT-TYPE 
	SYNTAX      INTEGER {
	                empty(1),
	                dc24v(2),
	                dc48v(3),
	                ac(4)
	            }
	MAX-ACCESS  read-only
	STATUS      current
	DESCRIPTION "Power 1 type:
	            1:Empty
	            2:DC-24V
	            3:DC-48V
	            4:AC"
	::= { deviceEntry 10 }      
	
power1Status OBJECT-TYPE 
	SYNTAX      INTEGER {
	                down(1),
	                up(2)
	            }
	MAX-ACCESS  read-only
	STATUS      current
	DESCRIPTION "Power 1 status:
	            1:Down
	            2:Up"
	::= { deviceEntry 11 }  
         
power2Type OBJECT-TYPE 
	SYNTAX      INTEGER {
	                empty(1),
	                dc24v(2),
	                dc48v(3),
	                ac(4)
	            }
	MAX-ACCESS  read-only
	STATUS      current
	DESCRIPTION "Power 2 type:
	            1:Empty
	            2:DC-24V
	            3:DC-48V
	            4:AC"
	::= { deviceEntry 12 }      
	
power2Status OBJECT-TYPE 
	SYNTAX      INTEGER {
	                down(1),
	                up(2)
	            }
	MAX-ACCESS  read-only
	STATUS      current
	DESCRIPTION "Power 2 status:
	            1:Down
	            2:Up"
	::= { deviceEntry 13 }    
	                       
deviceActive OBJECT-TYPE 
	SYNTAX      INTEGER{
	                disable(1),
	                enable(2)
	            }  
	MAX-ACCESS  read-write
	STATUS      current
	DESCRIPTION "Device active (remote side read-only): 
	            1:Disable
	            2:Enable"
	::= { deviceEntry 14 }  	

e1t1FuncMode OBJECT-TYPE 
	SYNTAX      INTEGER{
	                e175ohm(1),
	                e1120ohm(2),
	                t1100ohm(3)
	            }  
	MAX-ACCESS  read-write
	STATUS      current
	DESCRIPTION "E1/T1 function mode for interface E1/T1 model (interface E1 model read-only): 
	            1:E1 75 ohm 
	            2:E1 120 ohm
	            3:T1 100 ohm"
	::= { deviceEntry 15 }
	                       
deviceReset OBJECT-TYPE 
	SYNTAX      INTEGER{
	                off(1),
	                action(2)
	            }  
	MAX-ACCESS  read-write
	STATUS      current
	DESCRIPTION "Reset and reboot device:
	            1:Off
	            2:Action"
	::= { deviceEntry 16 }   

setDefault OBJECT-TYPE 
	SYNTAX      INTEGER{
	                off(1),
	                action(2)
	            }  
	MAX-ACCESS  read-write
	STATUS      current
	DESCRIPTION "Set device configurations to factory defaults: 
	            1:Off
	            2:Action"
	::= { deviceEntry 17 }                           
  
storeParameter OBJECT-TYPE 
	SYNTAX      INTEGER{
	                off(1),
	                action(2)
	            }  
	MAX-ACCESS  read-write
	STATUS      current
	DESCRIPTION "Store parameters:
	            1:Off
	            2:Action"
	::= { deviceEntry 18 }  	

  
clearUptime OBJECT-TYPE 
	SYNTAX      INTEGER{
	                off(1),
	                action(2)
	            }  
	MAX-ACCESS  read-write
	STATUS      current
	DESCRIPTION "Clear system uptime:
	            1:Off
	            2:Action"
	::= { deviceEntry 19 }

--
-- ledInfo 
--

ledInfo OBJECT IDENTIFIER ::= { fmux160Series 30 }   

ledTable	    OBJECT-TYPE
	SYNTAX      SEQUENCE OF LedEntry
	MAX-ACCESS  not-accessible
	STATUS      current
	DESCRIPTION "A list of led status entries."
	::= { ledInfo 1 }

ledEntry OBJECT-TYPE
	SYNTAX      LedEntry
	MAX-ACCESS  not-accessible
	STATUS      current
	DESCRIPTION "An entry containing management information applicable
				to led status."
	INDEX   	{ sideIndex }
	::= { ledTable 1 }

LedEntry ::=
	SEQUENCE {
		ledPWR1		INTEGER,
		ledPWR2		INTEGER,
		ledSYS		INTEGER, 
		ledE1		INTEGER,
		ledOP1		INTEGER,
		ledOP2		INTEGER, 
		ledSNMP		INTEGER,
		ledPhone	INTEGER,
		ledALM		INTEGER,
		ledRDI		INTEGER
	}
	
ledPWR1 OBJECT-TYPE	
	SYNTAX      INTEGER{
	            	off(1),
	            	on(2)
	            }  
	MAX-ACCESS  read-only
	STATUS      current
	DESCRIPTION "LED power 1 status:
	            1:Off
	            2:On"
	::= { ledEntry 1 } 
	
ledPWR2 OBJECT-TYPE	
	SYNTAX      INTEGER{
	            	off(1),
	            	on(2)
	            }  
	MAX-ACCESS  read-only
	STATUS      current
	DESCRIPTION "LED power 2 status:
	            1:Off
	            2:On"
	::= { ledEntry 2 } 
	 
ledSYS OBJECT-TYPE	
	SYNTAX      INTEGER{
	            	off(1),
	            	on(2)
	            }  
	MAX-ACCESS  read-only
	STATUS      current
	DESCRIPTION "LED system status:
	            1:Off
	            2:On"
	::= { ledEntry 3 } 

ledE1 OBJECT-TYPE	
	SYNTAX      INTEGER{
	            	off(1),	            	
	            	on(2),
	            	flash(3)
	            }  
	MAX-ACCESS  read-only
	STATUS      current
	DESCRIPTION "LED E1/T1 mode status:
	            1:Off
	            2:On
	            3:Flash"
	::= { ledEntry 4 } 	 

ledOP1 OBJECT-TYPE	
	SYNTAX      INTEGER{
	            	off(1),	            	
	            	on(2),
	            	flash(3)
	            }  
	MAX-ACCESS  read-only
	STATUS      current
	DESCRIPTION "LED optical 1 status:
	            1:Off
	            2:On
	            3:Flash"
	::= { ledEntry 5 } 	    
	
ledOP2 OBJECT-TYPE	
	SYNTAX      INTEGER{
	            	off(1),	            	
	            	on(2),
	            	flash(3)
	            }  
	MAX-ACCESS  read-only
	STATUS      current
	DESCRIPTION "LED optical 2 status:
	            1:Off
	            2:On
	            3:Flash"
	::= { ledEntry 6 }   
	
ledSNMP OBJECT-TYPE	
	SYNTAX      INTEGER{
	            	off(1),	            	
	            	on(2),
	            	flash(3)
	            }  
	MAX-ACCESS  read-only
	STATUS      current
	DESCRIPTION "LED SNMP card status:
	            1:Off
	            2:On
	            3:Flash"
	::= { ledEntry 7 }
	 	
ledPhone OBJECT-TYPE	
	SYNTAX      INTEGER{
	            	off(1),	            	
	               	flash(2)
	            }  
	MAX-ACCESS  read-only
	STATUS      current
	DESCRIPTION "LED phone ring status:
	            1:Off
	            2:Flash"
	::= { ledEntry 8 } 		

ledALM OBJECT-TYPE	
	SYNTAX      INTEGER{
	            	off(1),	            	
	               	on(2)
	            }  
	MAX-ACCESS  read-only
	STATUS      current
	DESCRIPTION "LED system alarm status:
	            1:Off
	            2:On"
	::= { ledEntry 9 } 
	

ledRDI OBJECT-TYPE	
	SYNTAX      INTEGER{
	            	off(1),	            	
	               	flash(2)
	            }  
	MAX-ACCESS  read-only
	STATUS      current
	DESCRIPTION "LED remote alarm status:
	            1:Off
	            2:Flash"
	::= { ledEntry 10 } 

     
ledE1t1Table	OBJECT-TYPE
	SYNTAX      SEQUENCE OF LedE1t1Entry
	MAX-ACCESS  not-accessible
	STATUS      current
	DESCRIPTION "A list of E1/T1 channel LED status entries."
	::= { ledInfo 2 }   
     
ledE1t1Entry OBJECT-TYPE
	SYNTAX      LedE1t1Entry
	MAX-ACCESS  not-accessible
	STATUS      current
	DESCRIPTION "An entry containing management information applicable
				to E1/T1 channel LED status."
	INDEX   	{ sideIndex, e1t1ChanIndex }
	::= { ledE1t1Table 1 }

LedE1t1Entry ::=
	SEQUENCE {
		e1t1ChanIndex	INTEGER,	
		ledE1T1			INTEGER
	}
	          	
e1t1ChanIndex OBJECT-TYPE 
	SYNTAX      INTEGER (1..16)
	MAX-ACCESS  read-only
	STATUS      current
	DESCRIPTION "A unique value for each E1/T1 channel interface"
	::= { ledE1t1Entry 1 }
	
ledE1T1 OBJECT-TYPE	
	SYNTAX      INTEGER{
	            	off(1),
	            	yellowOn(2),
	            	yellowFlash(3),
	            	greenOn(4)
	            }  
	MAX-ACCESS  read-only
	STATUS      current
	DESCRIPTION "LED E1/T1 channel status:
	            1:Off
	            2:Yellow on
	            3:Yellow flash
	            4:Green on"
	::= { ledE1t1Entry 2 } 
  
  
ledLanTable	OBJECT-TYPE
	SYNTAX      SEQUENCE OF LedLanEntry
	MAX-ACCESS  not-accessible
	STATUS      current
	DESCRIPTION "A list of LAN ethernet port LED status entries."
	::= { ledInfo 3 }   
     
ledLanEntry OBJECT-TYPE
	SYNTAX      LedLanEntry
	MAX-ACCESS  not-accessible
	STATUS      current
	DESCRIPTION "An entry containing management information applicable
				to LAN ethernet port LED status."
	INDEX   	{ sideIndex, lanPortIndex }
	::= { ledLanTable 1 }

LedLanEntry ::=
	SEQUENCE {
		lanPortIndex	INTEGER,	
		ledUtpLink		INTEGER,
		ledUtpSpeed		INTEGER
	}
	          	
lanPortIndex OBJECT-TYPE 
	SYNTAX      INTEGER (1..4)
	MAX-ACCESS  read-only
	STATUS      current
	DESCRIPTION "A unique value for each port interface"
	::= { ledLanEntry 1 }

ledUtpLink OBJECT-TYPE	
	SYNTAX      INTEGER{
	            	off(1),
	            	on(2)
	            }  
	MAX-ACCESS  read-only
	STATUS      current
	DESCRIPTION "LED ethernet port link status:
	            1:Off
	            2:On"
	::= { ledLanEntry 2 } 

ledUtpSpeed OBJECT-TYPE	
	SYNTAX      INTEGER{
	            	off(1),
	            	greenOn(2),
	            	yellowOn(3)
	            }  
	MAX-ACCESS  read-only
	STATUS      current
	DESCRIPTION "LED ethernet port speed status:
	            1:Off
	            2:Green on
	            3:Yellow on"
	::= { ledLanEntry 3 } 
	
--
-- alarmInfo 
--      
       
alarmInfo OBJECT IDENTIFIER ::= { fmux160Series 40 }   

alarmTable	    OBJECT-TYPE
	SYNTAX      SEQUENCE OF AlarmEntry
	MAX-ACCESS  not-accessible
	STATUS      current
	DESCRIPTION "A list of system alarm entries."
	::= { alarmInfo 1 }

alarmEntry OBJECT-TYPE
	SYNTAX      AlarmEntry
	MAX-ACCESS  not-accessible
	STATUS      current
	DESCRIPTION "An entry containing management information applicable
				to system alarm."
	INDEX   	{ sideIndex }
	::= { alarmTable 1 }

AlarmEntry ::=
	SEQUENCE {  
		alarmStatus			INTEGER,
		alarmRelayStatus	INTEGER,
		alarmBuzzerStatus	INTEGER,   
		rDI					INTEGER,
		alarmRelay          INTEGER,
        alarmBuzzer         INTEGER,
        alarmTrigPower      INTEGER,
	    alarmTrigOptical    INTEGER,               
        alarmTrigLan		INTEGER,
        alarmTrigRDI        INTEGER
	}
	
alarmStatus OBJECT-TYPE 
	SYNTAX      INTEGER {
	                normal(1),
	                alarm(2)
	            }
	MAX-ACCESS  read-only
	STATUS      current
	DESCRIPTION "System alarm status:
	            1:Normal
	            2:Alarm"
	::= { alarmEntry 1 }
         
alarmRelayStatus OBJECT-TYPE 
	SYNTAX      INTEGER {
	                normal(1),
	                alarm(2)
	            }
	MAX-ACCESS  read-only
	STATUS      current
	DESCRIPTION "Alarm relay status:
	            1:Normal
	            2:Alarm"
	::= { alarmEntry 2 }

alarmBuzzerStatus OBJECT-TYPE 
	SYNTAX      INTEGER {
	                normal(1),
	                alarm(2)
	            }
	MAX-ACCESS  read-only
	STATUS      current
	DESCRIPTION "Alarm buzzer status:
	            1:Normal
	            2:Alarm"
	::= { alarmEntry 3 }

rDI OBJECT-TYPE 
	SYNTAX      INTEGER {
	                normal(1),
	                alarm(2)
	            }
	MAX-ACCESS  read-only
	STATUS      current
	DESCRIPTION "RDI status:
	            1:Normal
	            2:Alarm"
	::= { alarmEntry 4 }  
      
alarmRelay OBJECT-TYPE 
	SYNTAX      INTEGER{
	                disable(1),
	                enable(2)
	            }  
	MAX-ACCESS  read-write
	STATUS      current
	DESCRIPTION "Alarm relay: 
	            1:Disable
	            2:Enable"
	::= { alarmEntry 5 }           

alarmBuzzer OBJECT-TYPE 
	SYNTAX      INTEGER{
	                disable(1),
	                enable(2)
	            }  
	MAX-ACCESS  read-write
	STATUS      current
	DESCRIPTION "Alarm buzzer: 
	            1:Disable
	            2:Enable"
	::= { alarmEntry 6 }   
	                      
alarmTrigPower OBJECT-TYPE 
	SYNTAX      INTEGER{
	                disable(1),
	                enable(2)
	            }  
	MAX-ACCESS  read-write
	STATUS      current
	DESCRIPTION "Alarm trigger when power fail: 
	            1:Disable
	            2:Enable"
	::= { alarmEntry 7 } 	                      

alarmTrigOptical OBJECT-TYPE 
	SYNTAX      INTEGER{
	                disable(1),
	                enable(2)
	            }  
	MAX-ACCESS  read-write
	STATUS      current
	DESCRIPTION "Alarm trigger when optical link down: 
	            1:Disable
	            2:Enable"
	::= { alarmEntry 8 }                              
                             
alarmTrigLan OBJECT-TYPE 
	SYNTAX      INTEGER{
	                disable(1),
	                enable(2)
	            }  
	MAX-ACCESS  read-write
	STATUS      current
	DESCRIPTION "Alarm trigger when LAN port link down: 
	            1:Disable
	            2:Enable"
	::= { alarmEntry 9 }                          

alarmTrigRDI OBJECT-TYPE 
	SYNTAX      INTEGER{
	                disable(1),
	                enable(2)
	            }  
	MAX-ACCESS  read-write
	STATUS      current
	DESCRIPTION "Alarm trigger when RDI detected: 
	            1:Disable
	            2:Enable"
	::= { alarmEntry 10 }  

--
-- opticalPort 
-- 
   
opticalPort OBJECT IDENTIFIER ::= { fmux160Series 50 }   

opticalTable  OBJECT-TYPE
	SYNTAX      SEQUENCE OF OpticalEntry
	MAX-ACCESS  not-accessible
	STATUS      current
	DESCRIPTION "A list of optical configuration entries."
	::= { opticalPort 1 }

opticalEntry OBJECT-TYPE
	SYNTAX      OpticalEntry
	MAX-ACCESS  not-accessible
	STATUS      current
	DESCRIPTION "An entry containing management information applicable
				to optical configuration."
	INDEX   	{ sideIndex }
	::= { opticalTable 1 }

OpticalEntry ::=
	SEQUENCE {
		optiWorkPath		INTEGER,
		optiBitErrCount		INTEGER, 
		optiProtect			INTEGER,
		optiAls				INTEGER, 
		optiLoopback		INTEGER,
		optiInsBertError	INTEGER, 
		optiClrBitError		INTEGER
	}                   	
	
optiWorkPath OBJECT-TYPE 
	SYNTAX      INTEGER {
	                op1(1),
	                op2(2)
	            }
	MAX-ACCESS  read-only
	STATUS      current
	DESCRIPTION "Optical working port:
	            1:OP1
	            2:OP2"
	::= { opticalEntry 1 }
	

optiBitErrCount OBJECT-TYPE 
	SYNTAX      INTEGER
	MAX-ACCESS  read-only
	STATUS      current
	DESCRIPTION "Optical bit error counter"
	::= { opticalEntry 2 }
   
optiProtect OBJECT-TYPE 
	SYNTAX      INTEGER {
	                autoNoRevert(1),
	                autoRevert(2),
	                manualOp1(3),
	                manualOp2(4)
	            }
	MAX-ACCESS  read-write
	STATUS      current
	DESCRIPTION "Optical protection mode:
	            1:Auto, No-Revert
	            2:Auto, Revert
	            3:Manual OP1
	            4:Manual OP2"
	::= { opticalEntry 3 }

optiAls OBJECT-TYPE 
	SYNTAX      INTEGER{
	                disable(1),
	                enable(2)
	            }  
	MAX-ACCESS  read-write
	STATUS      current
	DESCRIPTION "Optical automatic laser shutdown: 
	            1:Disable
	            2:Enable" 
	::= { opticalEntry 4 }
	              
optiLoopback OBJECT-TYPE 
	SYNTAX      INTEGER{
	                disable(1),
	                llb(2),
	                rlb(3),
	                rrlb(4)
	            }  
	MAX-ACCESS  read-write
	STATUS      current
	DESCRIPTION "Optical loopback testing (remote side read-only): 
	            1:Disable 
	            2:LLB
	            3:RLB
	            2:RRLB" 
	::= { opticalEntry 5 }   

optiInsBertError OBJECT-TYPE 
	SYNTAX      INTEGER{
	                off(1),
	                action(2)
	            }  
	MAX-ACCESS  read-write
	STATUS      current
	DESCRIPTION "Insert optical one BERT error:
	            1:Off
	            2:Action"
	::= { opticalEntry 6 }
	
	
optiClrBitError OBJECT-TYPE 
	SYNTAX      INTEGER{
	                off(1),
	                action(2)
	            }  
	MAX-ACCESS  read-write
	STATUS      current
	DESCRIPTION "Clear optical bit error counter:
	            1:Off
	            2:Action"
	::= { opticalEntry 7 }

opticalPortTable  OBJECT-TYPE
	SYNTAX      SEQUENCE OF OpticalPortEntry
	MAX-ACCESS  not-accessible
	STATUS      current
	DESCRIPTION "A list of optical port status entries."
	::= { opticalPort 2 }

opticalPortEntry OBJECT-TYPE
	SYNTAX      OpticalPortEntry
	MAX-ACCESS  not-accessible
	STATUS      current
	DESCRIPTION "An entry containing management information applicable
				to optical port status."
	INDEX   	{ sideIndex, optiPortIndex }
	::= { opticalPortTable 1 }

OpticalPortEntry ::=
	SEQUENCE {
		optiPortIndex		INTEGER,
		optiType			INTEGER,
		optiLink			INTEGER,
		optiTxFault			INTEGER,
		optiPreset			INTEGER,
		optiDDVendor		DisplayString,
		optiDDPartNo		DisplayString,
		optiDDFiberType		INTEGER,
       	optiDDWaveLen		DisplayString,
		optiDDWaveLen2	    DisplayString,
		optiDDLinkLen		DisplayString,
		optiDDLinkLenUnit	INTEGER,
		optiDDStatus		INTEGER,
		optiDDTxPower		DisplayString,
		optiDDRxPower		DisplayString,
		optiDDRxSens		DisplayString,
		optiDDTemp			DisplayString
	} 
	
optiPortIndex OBJECT-TYPE       
	SYNTAX      INTEGER (1..2)
	MAX-ACCESS  read-only
	STATUS      current
	DESCRIPTION "A unique value for each optical port"
	::= { opticalPortEntry 1 }
	
optiType OBJECT-TYPE 
	SYNTAX      INTEGER {
	                type1x9(1),
	                typeSfp(2)
	            }
	MAX-ACCESS  read-only
	STATUS      current
	DESCRIPTION "Optical port type:
	            1:1x9 Module
	            2:SFP Module"
	::= { opticalPortEntry 2 }

optiLink OBJECT-TYPE 
	SYNTAX      INTEGER {
	                down(1),
	                up(2)
	            }
	MAX-ACCESS  read-only
	STATUS      current
	DESCRIPTION "Optical port link status:
	            1:Down
	            2:UP"
	::= { opticalPortEntry 3 }

optiTxFault OBJECT-TYPE 
	SYNTAX      INTEGER {
	                fault(1),
	                normal(2)
	            }
	MAX-ACCESS  read-only
	STATUS      current
	DESCRIPTION "Optical port Tx fault status:
	            1:Fault
	            2:Normal"
	::= { opticalPortEntry 4 }  
	
optiPreset OBJECT-TYPE 
	SYNTAX      INTEGER {
	                empty(1),
	                exist(2)
	            }
	MAX-ACCESS  read-only
	STATUS      current
	DESCRIPTION "Optical port connector presentation:
	            1:Empty
	            2:SFP existed"
	::= { opticalPortEntry 5 }       
	
optiDDVendor OBJECT-TYPE
	SYNTAX      DisplayString
	MAX-ACCESS  read-only
	STATUS      current
	DESCRIPTION	"SFP D/D information:
	             Vendor name"
	::= { opticalPortEntry 6 }

optiDDPartNo OBJECT-TYPE
	SYNTAX      DisplayString
	MAX-ACCESS  read-only
	STATUS      current
	DESCRIPTION	"SFP D/D information:
	            Vendor part number"
	::= { opticalPortEntry 7 }

optiDDFiberType OBJECT-TYPE
	SYNTAX      INTEGER {
	                multi(1),
	                single(2)
	            }		
	MAX-ACCESS  read-only
	STATUS      current
	DESCRIPTION	"SFP D/D information:
	            Fiber type:
	            1:Multi mode
	            2:Single mode"
	::= { opticalPortEntry 8 }

optiDDWaveLen OBJECT-TYPE
	SYNTAX      DisplayString
	MAX-ACCESS  read-only
	STATUS      current
	DESCRIPTION	"SFP D/D information:
	            Wave length, unit nm"
	::= { opticalPortEntry 9}

optiDDWaveLen2 OBJECT-TYPE
	SYNTAX      DisplayString
	MAX-ACCESS  read-only
	STATUS      current
	DESCRIPTION	"SFP D/D information:
	            Wave length 2, unit nm"
	::= { opticalPortEntry 10}      
	
optiDDLinkLen OBJECT-TYPE
	SYNTAX      DisplayString
	MAX-ACCESS  read-only
	STATUS      current
	DESCRIPTION	"SFP D/D information:
	            Link length"
	::= { opticalPortEntry 11}
		
optiDDLinkLenUnit OBJECT-TYPE
	SYNTAX      INTEGER{
	                kilometer(1),
	                meter(2)
	            }
	MAX-ACCESS  read-only
	STATUS      current
	DESCRIPTION	"SFP D/D information:
	            Link length unit:
	            1:Kilometer
	            2:Meter"
	::= { opticalPortEntry 12}
		
optiDDStatus OBJECT-TYPE
	SYNTAX      INTEGER{
	                no(1),
	                yes(2)
	            }
	MAX-ACCESS  read-only
	STATUS      current
	DESCRIPTION	"SFP D/D information:
	            DD status:
	            1:No
	            2:Yes"
	::= { opticalPortEntry 13}

optiDDTxPower OBJECT-TYPE
	SYNTAX      DisplayString
	MAX-ACCESS  read-only
	STATUS      current
	DESCRIPTION	"SFP D/D information:
	            Tx power, unit dbm"
	::= { opticalPortEntry 14}

optiDDRxPower OBJECT-TYPE
	SYNTAX      DisplayString
	MAX-ACCESS  read-only
	STATUS      current
	DESCRIPTION	"SFP D/D information:
	            Rx power, unit dbm"
	::= { opticalPortEntry 15}
 
optiDDRxSens OBJECT-TYPE
	SYNTAX      DisplayString
	MAX-ACCESS  read-only
	STATUS      current
	DESCRIPTION	"SFP D/D information:
	            Sensitivity, unit dbm"
	::= { opticalPortEntry 16}

optiDDTemp OBJECT-TYPE
	SYNTAX      DisplayString
	MAX-ACCESS  read-only
	STATUS      current
	DESCRIPTION	"SFP D/D information:
	            Temperature, unit degree C"
	::= { opticalPortEntry 17}

--
-- e1t1Channel 
-- 
	
e1t1Channel OBJECT IDENTIFIER ::= { fmux160Series 60 }   

e1t1ChanTable  OBJECT-TYPE
	SYNTAX      SEQUENCE OF E1T1ChanEntry
	MAX-ACCESS  not-accessible
	STATUS      current
	DESCRIPTION "A list of E1/T1 channel entries."
	::= { e1t1Channel 1 }

e1t1ChanEntry OBJECT-TYPE
	SYNTAX      E1T1ChanEntry
	MAX-ACCESS  not-accessible
	STATUS      current
	DESCRIPTION "An entry containing management information applicable
				to E1/T1 channel."
	INDEX   	{ sideIndex, e1t1ChanIndex }
	::= { e1t1ChanTable 1 }

E1T1ChanEntry ::=
	SEQUENCE {
		e1t1Mode		DisplayString,
		e1t1RxLoss		INTEGER,
		e1t1AIS			INTEGER,
		e1t1TxFail		INTEGER,
		e1t1Performance	INTEGER,
		e1t1Service		INTEGER,
		e1t1LineCode	INTEGER,   
		e1t1AutoAIS		INTEGER,
		e1t1Loopback	INTEGER,  
		e1t1ClrPMCount	INTEGER
	}   
	
e1t1Mode OBJECT-TYPE 
	SYNTAX      DisplayString  
	MAX-ACCESS  read-only
	STATUS      current
	DESCRIPTION "E1/T1 channel connector mode"
	::= { e1t1ChanEntry 1 }

e1t1RxLoss OBJECT-TYPE 
	SYNTAX      INTEGER{
	                normal(1),
	                loss(2)
	            }  
	MAX-ACCESS  read-only
	STATUS      current
	DESCRIPTION "E1/T1 channel Rx loss signal detect: 
	            1:Normal 
	            2:Loss"
	::= { e1t1ChanEntry 2 }
	
e1t1AIS OBJECT-TYPE 
	SYNTAX      INTEGER{
	                normal(1),
	                detected(2)
	            }  
	MAX-ACCESS  read-only
	STATUS      current
	DESCRIPTION "E1/T1 channel AIS signal detect: 
	            1:Normal 
	            2:Detected"
	::= { e1t1ChanEntry 3 }
   
e1t1TxFail OBJECT-TYPE 
	SYNTAX      INTEGER{
	                normal(1),
	                fail(2)
	            }  
	MAX-ACCESS  read-only
	STATUS      current
	DESCRIPTION "E1/T1 channel Tx driver failure: 
	            1:Normal 
	            2:Fail"
	::= { e1t1ChanEntry 4 }
   
e1t1Performance OBJECT-TYPE 
	SYNTAX      INTEGER{
	                normal(1),
	                fail(2)
	            }  
	MAX-ACCESS  read-only
	STATUS      current
	DESCRIPTION "E1/T1 channel performance"
	::= { e1t1ChanEntry 5 }

e1t1Service OBJECT-TYPE 
	SYNTAX      INTEGER{
	                disable(1),
	                enable(2)
	            }  
	MAX-ACCESS  read-write
	STATUS      current
	DESCRIPTION "E1/T1 channel service: 
	            1:Disable
	            2:Enable"
	::= { e1t1ChanEntry 6 }    
   
e1t1LineCode OBJECT-TYPE 
	SYNTAX      INTEGER{
	                hdb3-b8zs(1),
	                ami(2)
	            }  
	MAX-ACCESS  read-write
	STATUS      current
	DESCRIPTION "E1/T1 channel service: 
	            1:HDB3/B8ZS
	            2:AMI"
	::= { e1t1ChanEntry 7 }    
   
e1t1AutoAIS OBJECT-TYPE 
	SYNTAX      INTEGER{
	                disable(1),
	                enable(2)
	            }  
	MAX-ACCESS  read-write
	STATUS      current
	DESCRIPTION "E1/T1 channel Auto AIS: 
	            1:Disable
	            2:Enable"
	::= { e1t1ChanEntry 8 }   
   
e1t1Loopback OBJECT-TYPE 
	SYNTAX      INTEGER{
	                disable(1),
	                llb(2),
	                rlb(3),
	                rrlb(4)
	            }  
	MAX-ACCESS  read-write
	STATUS      current
	DESCRIPTION "E1/T1 channel loopback testing: 
	            1:Disable
	            2:LLB
	            3:RLB
	            4:RRLB"
	::= { e1t1ChanEntry 9 }     
   
e1t1ClrPMCount OBJECT-TYPE 
	SYNTAX      INTEGER{
	                off(1),
	                action(2)
	            }  
	MAX-ACCESS  read-write
	STATUS      current
	DESCRIPTION "Clear E1/T1 channel performance counter:
	            1:Off
	            2:Action"
	::= { e1t1ChanEntry 10 }    

--
-- lanPort 
-- 
	
lanPort OBJECT IDENTIFIER ::= { fmux160Series 70 }   
          
lanTable  OBJECT-TYPE
	SYNTAX      SEQUENCE OF LanEntry
	MAX-ACCESS  not-accessible
	STATUS      current
	DESCRIPTION "A list of LAN ethernet entries."
	::= { lanPort 1 }

lanEntry OBJECT-TYPE
	SYNTAX      LanEntry
	MAX-ACCESS  not-accessible
	STATUS      current
	DESCRIPTION "An entry containing management information applicable
				to LAN ethernet."
	INDEX   	{ sideIndex }
	::= { lanTable 1 }

LanEntry ::=
	SEQUENCE {
		utpVlan			INTEGER,  
		utpFlowControl	INTEGER,
		utpJumboFrame	INTEGER
	}   

utpVlan OBJECT-TYPE
	SYNTAX      INTEGER {
	                disable(1),
	                enable(2)
	            }
	MAX-ACCESS  read-write
	STATUS      current
	DESCRIPTION	"Ethernet VLAN:
	            1:Disable
	            2:Enable"
	::= { lanEntry 1 }
   
utpFlowControl OBJECT-TYPE
	SYNTAX      INTEGER {
	                disable(1),
	                enable(2)
	            }
	MAX-ACCESS  read-write
	STATUS      current
	DESCRIPTION	"Ethernet flow control:
	            1:Disable
	            2:Enable"
	::= { lanEntry 2 }
   
utpJumboFrame OBJECT-TYPE
	SYNTAX      INTEGER {
	                disable(1),
	                enable(2)
	            }
	MAX-ACCESS  read-write
	STATUS      current
	DESCRIPTION	"Ethernet jumbo frame (100base model read-only):
	            1:Disable
	            2:Enable"
	::= { lanEntry 3 }
 
lanPortTable  OBJECT-TYPE
	SYNTAX      SEQUENCE OF LanPortEntry
	MAX-ACCESS  not-accessible
	STATUS      current
	DESCRIPTION "A list of LAN ethernet port entries."
	::= { lanPort 2 }

lanPortEntry OBJECT-TYPE
	SYNTAX      LanPortEntry
	MAX-ACCESS  not-accessible
	STATUS      current
	DESCRIPTION "An entry containing management information applicable
				to LAN ethernet port."
	INDEX   	{ sideIndex, lanPortIndex }
	::= { lanPortTable 1 }

LanPortEntry ::=
	SEQUENCE {
		utpLink			INTEGER,  
		utpSpeedStatus	INTEGER, 
		utpDuplexStatus	INTEGER,
		utpService		INTEGER,
		utpNegotiate	INTEGER,
		utpSpeed		INTEGER,
		utpDuplex		INTEGER,
		utpPortVlan		INTEGER
	}   

utpLink OBJECT-TYPE
	SYNTAX      INTEGER {
	                down(1),
	                up(2)
	            }
	MAX-ACCESS  read-only
	STATUS      current
	DESCRIPTION	"Ethernet port link status:
	            1:Down
	            2:Up"
	::= { lanPortEntry 1 }

utpSpeedStatus OBJECT-TYPE
	SYNTAX      INTEGER {
	                speed10m(1),
	                speed100m(2),
	                speed1000m(3)
	            }
	MAX-ACCESS  read-only
	STATUS      current
	DESCRIPTION	"Ethernet port speed status:
	            1:10M
	            2:100M
	            3:1000M"
	::= { lanPortEntry 2 }

utpDuplexStatus OBJECT-TYPE
	SYNTAX      INTEGER {
					half(1),  				
	                full(2)
	            }
	MAX-ACCESS  read-only
	STATUS      current
	DESCRIPTION "Ethernet port duplex status:
	            1:Half duplex mode
	            2:Full duplex mode"
	::= { lanPortEntry 3 }    
	
utpService OBJECT-TYPE 
	SYNTAX      INTEGER{
	                disable(1),
	                enable(2)
	            }  
	MAX-ACCESS  read-write
	STATUS      current
	DESCRIPTION "Ethernet port service: 
	            1:Disable
	            2:Enable"
	::= { lanPortEntry 4 } 	

utpNegotiate OBJECT-TYPE 
	SYNTAX      INTEGER{
	                auto(1),
	                force(2)
	            }  
	MAX-ACCESS  read-write
	STATUS      current
	DESCRIPTION "Ethernet port negotiation: 
	            1:Auto
	            2:Force"
	::= { lanPortEntry 5 } 	

utpSpeed OBJECT-TYPE
	SYNTAX      INTEGER {
	                speed10m(1),
	                speed100m(2),
	                speed1000m(3)
	            }
	MAX-ACCESS  read-write
	STATUS      current
	DESCRIPTION	"Ethernet port speed (auto negotiation read-only):
	            1:10M
	            2:100M
	            3:1000M"
	::= { lanPortEntry 6 }

utpDuplex OBJECT-TYPE
	SYNTAX      INTEGER {
					half(1),  				
	                full(2)
	            }
	MAX-ACCESS  read-write
	STATUS      current
	DESCRIPTION "Ethernet port duplex (auto negotiation read-only):
	            1:Half duplex mode
	            2:Full duplex mode"
	::= { lanPortEntry 7 } 


utpPortVlan OBJECT-TYPE
	SYNTAX      INTEGER {
					groupA(1),
					groupB(2),
					groupC(3),
					groupD(4)
	            }
	MAX-ACCESS  read-write
	STATUS      current
	DESCRIPTION "Ethernet port VLAN group:
	            1:Group A
	            2:Group B
	            3:Group C
	            4:Group D"
	::= { lanPortEntry 8 } 
 
--
-- orderWire 
-- 
    
orderWire OBJECT IDENTIFIER ::= { fmux160Series 80 }      

orderWireTable  OBJECT-TYPE
	SYNTAX      SEQUENCE OF OrderWireEntry
	MAX-ACCESS  not-accessible
	STATUS      current
	DESCRIPTION "A list of order wire entries."
	::= { orderWire 1 }

orderWireEntry OBJECT-TYPE
	SYNTAX      OrderWireEntry
	MAX-ACCESS  not-accessible
	STATUS      current
	DESCRIPTION "An entry containing management information applicable
				to order wire."
	INDEX   	{ sideIndex }
	::= { orderWireTable 1 }

OrderWireEntry ::=
	SEQUENCE {
		phoneRing	INTEGER,  
		wireType	INTEGER
	}     
    
phoneRing OBJECT-TYPE
	SYNTAX      INTEGER {
	                none(1),
	                ring(2)
	            }
	MAX-ACCESS  read-only
	STATUS      current
	DESCRIPTION	"Order wire phone ring status:
	            1:None
	            2:Ring"
	::= { orderWireEntry 1 }
   
wireType OBJECT-TYPE
	SYNTAX      INTEGER {
	                empty(1),
	                wire2(2),
	                wire4(3)
	            }
	MAX-ACCESS  read-only
	STATUS      current
	DESCRIPTION	"Order wire type:
	            1:Empty
	            2:2-wire
	            3:4-wire"
	::= { orderWireEntry 2 }   
	

--
-- ENTERPRISE TRAP DEFINITION 
--

alarmTrap OBJECT IDENTIFIER ::= { fmux160Series 1000 }   

powerOn	NOTIFICATION-TYPE
	STATUS    current
	DESCRIPTION "Power on."
	::={ alarmTrap 10 }

powerOff	NOTIFICATION-TYPE
	STATUS    current
	DESCRIPTION "Power failed or empty."
	::={ alarmTrap 15 }

utpLinkUp	NOTIFICATION-TYPE
	STATUS    current
	DESCRIPTION "UTP port link up."
	::={ alarmTrap 30 }
	
utpLinkDown	NOTIFICATION-TYPE
	STATUS    current
	DESCRIPTION "UTP port link down."
	::={ alarmTrap 35 }

opticalLinkUp	NOTIFICATION-TYPE
	STATUS    current
	DESCRIPTION "Optical port link up."
	::={ alarmTrap 40 } 

opticalLinkDown	NOTIFICATION-TYPE
	STATUS    current
	DESCRIPTION "Optical port link down."
	::={ alarmTrap 45 }
	
alarmModeChange	NOTIFICATION-TYPE
STATUS    current
	DESCRIPTION "Alarm mode changed."
	::={ alarmTrap 50 }

login	NOTIFICATION-TYPE
STATUS    current
	DESCRIPTION "Somebody login."
	::={ alarmTrap 60 }
	
logout	NOTIFICATION-TYPE
STATUS    current
	DESCRIPTION "Somebody logout."
	::={ alarmTrap 61 }
	
loginError	NOTIFICATION-TYPE
STATUS    current
	DESCRIPTION "Somebody login error."
	::={ alarmTrap 65 }  

e1t1SignalNormal	NOTIFICATION-TYPE
	STATUS    current
	DESCRIPTION "E1/T1 channel signal normal."
	::={ alarmTrap 70 } 

e1t1SignalLoss	NOTIFICATION-TYPE
	STATUS    current
	DESCRIPTION "E1/T1 channel signal loss."
	::={ alarmTrap 75 }
	
rdiOff	NOTIFICATION-TYPE
	STATUS    current
	DESCRIPTION "RDI alarm off."
	::={ alarmTrap 80 } 
	
rdiOn	NOTIFICATION-TYPE
	STATUS    current
	DESCRIPTION "RDI alarm on."
	::={ alarmTrap 85 } 

alarmOff	NOTIFICATION-TYPE
	STATUS    current
	DESCRIPTION "System alarm off."
	::={ alarmTrap 90 }	
	
alarmOn	NOTIFICATION-TYPE
	STATUS    current
	DESCRIPTION "System alarm on."
	::={ alarmTrap 95 } 

remoteDevFound	NOTIFICATION-TYPE
	STATUS    current
	DESCRIPTION "Remote device found."
	::={ alarmTrap 100 }	
	  
remoteDevDisconn	NOTIFICATION-TYPE
	STATUS    current
	DESCRIPTION "Remote device disconnected."
	::={ alarmTrap 105 }	

END
