239 lines
8.0 KiB
Plaintext
239 lines
8.0 KiB
Plaintext
-- *****************************************************************
|
|
-- FS-V1-TRAP.mib: FS Switch SNMPv1 Trap MIB
|
|
--
|
|
-- November 2002, Wuzg
|
|
--
|
|
-- Copyright (c) 2002 by FS.COM Inc..
|
|
-- All rights reserved.
|
|
--
|
|
-- *****************************************************************
|
|
--
|
|
|
|
FS-V1-TRAP DEFINITIONS ::= BEGIN
|
|
|
|
IMPORTS
|
|
fsMacNotiHisMacChangedMsg
|
|
FROM FS-ADDRESS-MIB
|
|
fsSystemHardChangeDesc
|
|
FROM FS-SYSTEM-MIB
|
|
stormViolationAlarmType
|
|
FROM FS-TRAFFIC-CTRL-MIB
|
|
fsSystemHwPower,
|
|
fsSystemHwFan
|
|
FROM FS-SYSTEM-MIB
|
|
fsIgmpInterfaceIfIndex,
|
|
fsIgmpInterfaceVersion,
|
|
fsIgmpInterfaceHostVersion
|
|
FROM FS-IGMP-MIB
|
|
fsEntityStateChgDesc,
|
|
fsTemperatureWarningDesc
|
|
FROM FS-ENTITY-MIB
|
|
-- scMemberOperStatus
|
|
-- FROM FS-CLUSTER-MIB
|
|
fsSMPSwitchIP,
|
|
fsSMPSwitchInterfaceID,
|
|
fsSMPSwitchInterfaceVLANID,
|
|
fsSMPFrameContentLength,
|
|
fsSMPFrameContent,
|
|
fsSMPArpAttackSubnetIP,
|
|
fsSMPArpAttackSubnetIPNum,
|
|
fsSMPArpAttackInterfaceSlot,
|
|
fsSMPArpAttackInterfacePort,
|
|
fsSMPArpAttackInterfaceVlanID,
|
|
fsSMPArpAttackFrameContent,
|
|
fsSMPArpAttackStatus,
|
|
fsSMPArpAttackCriticalStatus,
|
|
fsSMPArpAttackMac,
|
|
fsSMPArpAttackInterfaceIndex
|
|
FROM FS-SMP-MIB
|
|
lineDetectStatus,
|
|
lineDetectPosition
|
|
FROM FS-INTERFACE-MIB
|
|
-- userIpaddr
|
|
-- FROM FS-AUTH-GATEWAY-MIB
|
|
fsUrpfIfDropRate
|
|
FROM FS-URPF-MIB
|
|
TRAP-TYPE
|
|
FROM RFC-1215
|
|
ifIndex
|
|
FROM RFC1213-MIB
|
|
switch
|
|
FROM FS-SMI;
|
|
|
|
--
|
|
-- snmpv1-trap definitions
|
|
--
|
|
|
|
sysHardChangeDetected TRAP-TYPE
|
|
ENTERPRISE switch
|
|
VARIABLES { fsSystemHardChangeDesc }
|
|
DESCRIPTION
|
|
"System hardware has changed include number of devices or number of modules
|
|
or the place or type of the module is change."
|
|
::= 1
|
|
|
|
portSecurityViolate TRAP-TYPE
|
|
ENTERPRISE switch
|
|
VARIABLES { ifIndex }
|
|
DESCRIPTION
|
|
"the port security violate trap indicates that port security rule
|
|
is violated when port security of this port is opened."
|
|
::= 2
|
|
|
|
stormViolationAlarm TRAP-TYPE
|
|
ENTERPRISE switch
|
|
VARIABLES { ifIndex,stormViolationAlarmType}
|
|
DESCRIPTION
|
|
"while the storm threshold has been set, if more broadcast
|
|
is send to the port, then this trap will be sent."
|
|
::= 3
|
|
|
|
macNotification TRAP-TYPE
|
|
ENTERPRISE switch
|
|
VARIABLES { fsMacNotiHisMacChangedMsg }
|
|
DESCRIPTION
|
|
"This notification is generated when there is enough MAC
|
|
address information to fully occupy a maximum size SNMP trap
|
|
message. This notification is also generated when there
|
|
is at least one MAC address changed or removed and the amount
|
|
of time elapsed from the previous notification is greater
|
|
than the maximum wait time denoted by fsMacNotificationInterval object.
|
|
|
|
If there are more MAC addresses information than can fit into
|
|
one fsMacNotiHisMacChangedMsg object, then multiple notifications
|
|
will be generated."
|
|
::= 4
|
|
|
|
powerStateChange TRAP-TYPE
|
|
ENTERPRISE switch
|
|
VARIABLES { fsSystemHwPower}
|
|
DESCRIPTION
|
|
"while the state of power changed, then this trap will be sent."
|
|
::= 5
|
|
|
|
fanStateChange TRAP-TYPE
|
|
ENTERPRISE switch
|
|
VARIABLES { fsSystemHwFan}
|
|
DESCRIPTION
|
|
"while the state of fan changed, then this trap will be sent."
|
|
::= 6
|
|
|
|
pimNeighborLoss TRAP-TYPE
|
|
ENTERPRISE switch
|
|
VARIABLES {ifIndex }
|
|
DESCRIPTION
|
|
"A pimNeighborLoss trap signifies the loss of an adjacency
|
|
with a neighbor. This trap should be generated when the
|
|
neighbor timer expires, and the router has no other
|
|
neighbors on the same interface with a lower IP address than
|
|
itself."
|
|
::= 7
|
|
|
|
igmpVersionConflicted TRAP-TYPE
|
|
ENTERPRISE switch
|
|
VARIABLES {fsIgmpInterfaceIfIndex,
|
|
fsIgmpInterfaceVersion,
|
|
fsIgmpInterfaceHostVersion }
|
|
DESCRIPTION
|
|
"A igmpVersionErr trap signifies version is
|
|
different in the interface with host.This trap
|
|
should be generated when interface run version
|
|
IGMPV1 and reported by host which run version IGMPV2.
|
|
also when interface run version IGMPV2 and reported
|
|
by host which run version IGMPV1."
|
|
::= 8
|
|
|
|
dvmrpRouteInformation TRAP-TYPE
|
|
ENTERPRISE switch
|
|
DESCRIPTION
|
|
"A dvmrpRouteInformation trap signifies the
|
|
Number of routes is more than The limit of
|
|
fsDvmrpRoutehogNotification in one minute,
|
|
then the trap should be generated."
|
|
::= 9
|
|
|
|
entityNotification TRAP-TYPE
|
|
ENTERPRISE switch
|
|
VARIABLES { fsEntityStateChgDesc}
|
|
DESCRIPTION
|
|
"while the state of entity changed or some failure happened, this trap will be sent."
|
|
::= 10
|
|
|
|
-- clusterMemberStateChange TRAP-TYPE
|
|
-- ENTERPRISE switch
|
|
-- VARIABLES {scMemberOperStatus}
|
|
-- DESCRIPTION
|
|
-- "while the state of member switch changed, then this trap will be sent.
|
|
-- either state of member switch change from active to inactive or from
|
|
-- inactive to active."
|
|
-- ::= 11
|
|
|
|
temperatureWarning TRAP-TYPE
|
|
ENTERPRISE switch
|
|
VARIABLES { fsTemperatureWarningDesc }
|
|
DESCRIPTION
|
|
"while the temperature of one of modules reach warning temperature, then this trap will be sent."
|
|
::= 12
|
|
|
|
lineDetect TRAP-TYPE
|
|
ENTERPRISE switch
|
|
VARIABLES { ifIndex, lineDetectStatus,lineDetectPosition }
|
|
DESCRIPTION
|
|
"Notifications of the detection of short circuit or broken circuit, or restoring the line to normal state."
|
|
::= 13
|
|
|
|
smpFrameRelay TRAP-TYPE
|
|
ENTERPRISE switch
|
|
VARIABLES {fsSMPSwitchIP,fsSMPSwitchInterfaceID,fsSMPSwitchInterfaceVLANID,
|
|
fsSMPFrameContentLength,fsSMPFrameContent}
|
|
DESCRIPTION
|
|
"Trap message includes:
|
|
IP address for the switch receiving specified messages;
|
|
Port receving the messages;
|
|
Message length;
|
|
Message content."
|
|
::= 14
|
|
|
|
|
|
smpArpAttack TRAP-TYPE
|
|
ENTERPRISE switch
|
|
VARIABLES { fsSMPArpAttackSubnetIP, fsSMPArpAttackSubnetIPNum, fsSMPArpAttackInterfaceSlot,
|
|
fsSMPArpAttackInterfacePort, fsSMPArpAttackInterfaceVlanID, fsSMPArpAttackFrameContent,
|
|
fsSMPArpAttackStatus, fsSMPArpAttackCriticalStatus, fsSMPArpAttackMac,
|
|
fsSMPArpAttackInterfaceIndex }
|
|
DESCRIPTION
|
|
"Send warning to SMP when detecting the ARP attack."
|
|
::= 15
|
|
|
|
|
|
-- authGatewayUserLeave TRAP-TYPE
|
|
-- ENTERPRISE switch
|
|
-- VARIABLES {userIpaddr}
|
|
-- DESCRIPTION
|
|
-- "Sending Trap when the user is offline."
|
|
-- ::= 16
|
|
|
|
|
|
urpfIfDropRateNotify TRAP-TYPE
|
|
ENTERPRISE switch
|
|
VARIABLES {fsUrpfIfDropRate}
|
|
DESCRIPTION
|
|
"This notification is generated when
|
|
fsUrpfIfDropRateNotifyEnable is set to true and
|
|
the calculated URPF drop rate (fsUrpfIfDropRate)
|
|
exceeds the notification threshold drop rate
|
|
(fsUrpfIfNotifyDropRateThreshold). Note the
|
|
exceptional value of 0 for threshold allows notification
|
|
generation if any drop events occur in an interval.
|
|
|
|
After generating this notification, another such
|
|
notification will not be sent out for a minimum of five
|
|
minutes (note the exception to this provided by
|
|
fsUrpfIfNotifyDrHoldDownReset).
|
|
|
|
The object value present in the notification is the
|
|
the drop rate that exceeded the threshold."
|
|
::= 17
|
|
|
|
END
|