-- ***************************************************************** -- MY-V1-TRAP.mib: My Switch SNMPv1 Trap MIB -- -- $Copyright$ -- -- ***************************************************************** -- MY-V1-TRAP DEFINITIONS ::= BEGIN IMPORTS myMacNotiHisMacChangedMsg FROM MY-ADDRESS-MIB mySystemHardChangeDesc FROM MY-SYSTEM-MIB stormViolationAlarmType FROM MY-TRAFFIC-CTRL-MIB mySystemHwPower,mySystemHwFan FROM MY-SYSTEM-MIB lineDetectStatus,lineDetectPosition FROM MY-INTERFACE-MIB myModules, switch FROM MY-SMI; -- -- snmpv1-trap definitions -- sysHardChangeDetected TRAP-TYPE ENTERPRISE switch VARIABLES { mySystemHardChangeDesc } 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 { myMacNotiHisMacChangedMsg } 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 myMacNotificationInterval object. If there are more MAC addresses information than can fit into one myMacNotiHisMacChangedMsg object, then multiple notifications will be generated." ::= 4 powerStateChange TRAP-TYPE ENTERPRISE switch VARIABLES { mySystemHwPower} DESCRIPTION "while the state of power changed, then this trap will be sent." ::= 5 fanStateChange TRAP-TYPE ENTERPRISE switch VARIABLES { mySystemHwFan} 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 {myIgmpInterfaceIfIndex, myIgmpInterfaceVersion, myIgmpInterfaceHostVersion } 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 myDvmrpRoutehogNotification in one minute, then the trap should be generated." ::= 9 entityNotification TRAP-TYPE ENTERPRISE switch VARIABLES { myEntityStateChgDesc} 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 { myTemperatureWarningDesc } 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 "当发现线缆出现短路或者断路问题,或者线缆从断路或者 短路状态中恢复正常时通知." ::= 13 smpFrameRelay TRAP-TYPE ENTERPRISE switch VARIABLES {mySMPSwitchIP,mySMPSwitchInterfaceID,mySMPSwitchInterfaceVLANID, mySMPFrameContentLength,mySMPFrameContent} DESCRIPTION "Trap信息包含以下内容:接收到指定报文的交换机的IP, 接收报文的端口,报文的长度以及报文内容信息" ::= 14 smpArpAttack TRAP-TYPE ENTERPRISE switch VARIABLES { mySMPArpAttackSubnetIP, mySMPArpAttackSubnetIPNum, mySMPArpAttackInterfaceSlot, mySMPArpAttackInterfacePort, mySMPArpAttackInterfaceVlanID, mySMPArpAttackFrameContent, mySMPArpAttackStatus, mySMPArpAttackCriticalStatus, mySMPArpAttackMac, mySMPArpAttackInterfaceIndex } DESCRIPTION "检测到ARP攻击时,向SMP发送警告." ::= 15 END