313 lines
10 KiB
Plaintext
313 lines
10 KiB
Plaintext
--MibName=rcAutoConfig
|
|
-- *****************************************************************
|
|
-- switch-autoconfig-mib.mi2: Raisecom Auto Configuration MIB file
|
|
-- Jun 2009, tangyoucan, enhance autoconfig module
|
|
--
|
|
-- Oct 2007, zhangliwei
|
|
--
|
|
-- Copyright (c) 1994-2007 by Raisecom Technology Co., Ltd.
|
|
-- All rights reserved.
|
|
--
|
|
-- *****************************************************************
|
|
|
|
|
|
|
|
AUTO-CONFIGURATION-MIB DEFINITIONS ::= BEGIN
|
|
|
|
IMPORTS
|
|
MODULE-IDENTITY,
|
|
NOTIFICATION-TYPE,
|
|
IpAddress,
|
|
OBJECT-TYPE FROM SNMPv2-SMI
|
|
|
|
MODULE-COMPLIANCE,
|
|
NOTIFICATION-GROUP,
|
|
OBJECT-GROUP FROM SNMPv2-CONF
|
|
EnableVar FROM SWITCH-TC
|
|
iscomSwitch FROM RAISECOM-BASE-MIB;
|
|
|
|
|
|
rcAutoConfig MODULE-IDENTITY
|
|
LAST-UPDATED "200906110000Z"
|
|
ORGANIZATION "Raisecom, Inc."
|
|
CONTACT-INFO
|
|
"Raise Systems
|
|
|
|
Postal: Beijing,China
|
|
|
|
Tel: 86-010-82884499
|
|
|
|
E-mail: support@raisecom.com"
|
|
DESCRIPTION
|
|
"The MIB module for Auto Config upgrade service."
|
|
::= { iscomSwitch 28}
|
|
|
|
------------------------------------------------------------------------------
|
|
-- define groups in AUTO-CONFIGURATION-MIB
|
|
------------------------------------------------------------------------------
|
|
rcAutoConfigTraps OBJECT IDENTIFIER ::= { rcAutoConfig 9 }
|
|
-- End of define groups
|
|
|
|
|
|
rcAutoConfigTftpServerAddress OBJECT-TYPE
|
|
SYNTAX IpAddress
|
|
MAX-ACCESS read-write
|
|
STATUS current
|
|
DESCRIPTION
|
|
"The object indicates the tftp server address requested
|
|
of auto upgrade. The configuration of this object
|
|
would not have effect on the tftp server address obtained
|
|
from DHCP server."
|
|
DEFVAL {""}
|
|
::= { rcAutoConfig 1 }
|
|
|
|
rcAutoConfigFileName OBJECT-TYPE
|
|
SYNTAX OCTET STRING (SIZE(0..80))
|
|
MAX-ACCESS read-write
|
|
STATUS current
|
|
DESCRIPTION
|
|
"The object indicates the configuration file name requested
|
|
of auto upgrade. The configuration of this object would
|
|
not have effect on the configuration file name obtained from
|
|
DHCP server."
|
|
DEFVAL {""}
|
|
::= { rcAutoConfig 2 }
|
|
|
|
rcAutoConfigStartupEnable OBJECT-TYPE
|
|
SYNTAX EnableVar
|
|
MAX-ACCESS read-write
|
|
STATUS current
|
|
DESCRIPTION
|
|
"The object indicates whether the auto configuration will
|
|
start while startup."
|
|
DEFVAL {disable}
|
|
::= { rcAutoConfig 3 }
|
|
|
|
rcAutoConfigOverwriteEnable OBJECT-TYPE
|
|
SYNTAX EnableVar
|
|
MAX-ACCESS read-write
|
|
STATUS current
|
|
DESCRIPTION
|
|
"The object indicates whether overwrite the local
|
|
configuration file using the server configuration file."
|
|
DEFVAL {disable}
|
|
::= { rcAutoConfig 4 }
|
|
|
|
rcAutoConfigTrapEnable OBJECT-TYPE
|
|
SYNTAX EnableVar
|
|
MAX-ACCESS read-write
|
|
STATUS current
|
|
DESCRIPTION
|
|
"The object indicates whether sending the trap
|
|
information or not."
|
|
DEFVAL {disable}
|
|
::= { rcAutoConfig 5 }
|
|
|
|
rcAutoConfigCommand OBJECT-TYPE
|
|
SYNTAX INTEGER{
|
|
start(1),
|
|
stop(2)
|
|
}
|
|
MAX-ACCESS read-write
|
|
STATUS deprecated
|
|
DESCRIPTION
|
|
"The object indicates the request type of
|
|
auto upgrade."
|
|
DEFVAL {start}
|
|
::= { rcAutoConfig 6 }
|
|
|
|
rcAutoConfigOperationStates OBJECT-TYPE
|
|
SYNTAX INTEGER{
|
|
waiting(1),
|
|
getting(2),
|
|
loading(3),
|
|
writing(4),
|
|
done(5)
|
|
}
|
|
MAX-ACCESS read-only
|
|
STATUS current
|
|
DESCRIPTION
|
|
"The object indicates the running states of
|
|
auto upgrade."
|
|
DEFVAL {done}
|
|
::= { rcAutoConfig 7 }
|
|
|
|
rcAutoConfigResult OBJECT-TYPE
|
|
SYNTAX INTEGER{
|
|
none(1),
|
|
succeeded(2),
|
|
ipAddressUnavailable(3),
|
|
acquireFailed(4),
|
|
getFailed(5),
|
|
writeFailed(6),
|
|
notEnoughMemory(7),
|
|
other(8),
|
|
stopped(9)
|
|
}
|
|
MAX-ACCESS read-only
|
|
STATUS current
|
|
DESCRIPTION
|
|
"The object indicates the result states of
|
|
auto upgrade."
|
|
DEFVAL {none}
|
|
::= { rcAutoConfig 8 }
|
|
|
|
rcAutoConfigFilenameRule OBJECT-TYPE
|
|
SYNTAX Unsigned32 (80000..89999)
|
|
MAX-ACCESS read-write
|
|
STATUS current
|
|
DESCRIPTION
|
|
"The filename rule number "
|
|
|
|
::= { rcAutoConfig 10 }
|
|
|
|
------------------------------------------------------------------------------
|
|
--
|
|
-- Auto Configuration Trap
|
|
--
|
|
-- This trap used to inform the result states of auto configuration.
|
|
--
|
|
------------------------------------------------------------------------------
|
|
--
|
|
rcAutoConfigCompletionTrap NOTIFICATION-TYPE
|
|
OBJECTS {rcAutoConfigCurrentFileType, rcAutoConfigResult }
|
|
STATUS current
|
|
DESCRIPTION
|
|
"Auto Configuration Completion."
|
|
::= { rcAutoConfigTraps 1 }
|
|
|
|
rcAutoConfigLoadFailTrap NOTIFICATION-TYPE
|
|
STATUS current
|
|
DESCRIPTION
|
|
"Auto Configuration Completion."
|
|
::= { rcAutoConfigTraps 2 }
|
|
|
|
------------------------------------------------------------------------------
|
|
-- define version of upgrade file
|
|
------------------------------------------------------------------------------
|
|
rcAutoConfigSystemBootVersion OBJECT-TYPE
|
|
SYNTAX OCTET STRING (SIZE(1..7))
|
|
MAX-ACCESS read-write
|
|
STATUS current
|
|
DESCRIPTION
|
|
"version of systerm boot file, format is year-month-day-number.such as 0906031"
|
|
::= { rcAutoConfig 11 }
|
|
|
|
|
|
rcAutoConfigBootstrapVersion OBJECT-TYPE
|
|
SYNTAX OCTET STRING (SIZE(1..7))
|
|
MAX-ACCESS read-write
|
|
STATUS current
|
|
DESCRIPTION
|
|
"version of bootstrap file, format is year-month-day-number.such as 0906031"
|
|
::= { rcAutoConfig 12 }
|
|
|
|
rcAutoConfigStartupConfigVersion OBJECT-TYPE
|
|
SYNTAX OCTET STRING (SIZE(1..7))
|
|
MAX-ACCESS read-write
|
|
STATUS current
|
|
DESCRIPTION
|
|
"name of startup config file, format is year-month-day-number.such as 0906031"
|
|
::= { rcAutoConfig 13 }
|
|
|
|
rcAutoConfigEnable OBJECT-TYPE
|
|
SYNTAX EnableVar
|
|
MAX-ACCESS read-write
|
|
STATUS current
|
|
DESCRIPTION
|
|
"Auto upgrade disable or enable."
|
|
DEFVAL {enable}
|
|
::= { rcAutoConfig 14 }
|
|
|
|
rcAutoConfigCurrentFileType OBJECT-TYPE
|
|
SYNTAX INTEGER{
|
|
none(1),
|
|
startup-config(2),
|
|
system-boot(3),
|
|
bootstrap(4)
|
|
}
|
|
MAX-ACCESS read-only
|
|
STATUS current
|
|
DESCRIPTION
|
|
"The object indicates the current operate file."
|
|
DEFVAL {none}
|
|
::= { rcAutoConfig 15 }
|
|
|
|
rcAutoConfigFilenamePrefix OBJECT-TYPE
|
|
SYNTAX OCTET STRING (SIZE(0..16))
|
|
MAX-ACCESS read-write
|
|
STATUS current
|
|
DESCRIPTION
|
|
"The object indicates the config file name prefix."
|
|
::= { rcAutoConfig 16 }
|
|
|
|
rcAutoConfigFilenamePostfix OBJECT-TYPE
|
|
SYNTAX OCTET STRING (SIZE(0..16))
|
|
MAX-ACCESS read-write
|
|
STATUS current
|
|
DESCRIPTION
|
|
"The object indicates the config file name postfix."
|
|
::= { rcAutoConfig 17 }
|
|
|
|
rcAutoConfigAccessType OBJECT-TYPE
|
|
SYNTAX INTEGER{
|
|
none(1),
|
|
DHCPC(2),
|
|
Auto-provision(3)
|
|
}
|
|
MAX-ACCESS read-write
|
|
STATUS current
|
|
DESCRIPTION
|
|
"The object indicates the access type."
|
|
::= { rcAutoConfig 18 }
|
|
|
|
rcAutoConfigStatus OBJECT-TYPE
|
|
SYNTAX INTEGER{
|
|
init(1),
|
|
management-access(2),
|
|
success(3),
|
|
fail(4)
|
|
}
|
|
MAX-ACCESS read-write
|
|
STATUS current
|
|
DESCRIPTION
|
|
"The object indicates the auto config status."
|
|
::= { rcAutoConfig 19 }
|
|
|
|
rcAutoConfigLoadConfigStatus OBJECT-TYPE
|
|
SYNTAX INTEGER{
|
|
success(1),
|
|
tftp-fail(2),
|
|
load-fail(3),
|
|
config-conflict(4),
|
|
write-fail(5),
|
|
format-fail(6)
|
|
}
|
|
MAX-ACCESS read-only
|
|
STATUS current
|
|
DESCRIPTION
|
|
"The object indicates the error code of auto config."
|
|
::= { rcAutoConfig 20 }
|
|
|
|
rcAutoConfigDhcpTftpAddress OBJECT-TYPE
|
|
SYNTAX IpAddress
|
|
MAX-ACCESS read-only
|
|
STATUS current
|
|
DESCRIPTION
|
|
"The object indicates the TFTP server address of DHCP."
|
|
::= { rcAutoConfig 21 }
|
|
|
|
rcAutoConfigErrorLineNum OBJECT-TYPE
|
|
SYNTAX OCTET STRING (SIZE(0..80))
|
|
MAX-ACCESS read-write
|
|
STATUS current
|
|
DESCRIPTION
|
|
"The line ."
|
|
DEFVAL {"The configuration file line numbers which load failed."}
|
|
::= { rcAutoConfig 22 }
|
|
|
|
------------------------------------------------------------------------------
|
|
-- end rcAutoConfig
|
|
END
|
|
|
|
|