257 lines
9.0 KiB
Plaintext
257 lines
9.0 KiB
Plaintext
-- *****************************************************************
|
||
-- MY-TRAFFIC-CTRL-MIB.mib: My traffic control MIB file
|
||
--
|
||
-- $Copyright$
|
||
--
|
||
-- *****************************************************************
|
||
--
|
||
|
||
DES7200-TRAFFIC-CTRL-MIB DEFINITIONS ::= BEGIN
|
||
|
||
IMPORTS
|
||
MODULE-IDENTITY,
|
||
OBJECT-TYPE,
|
||
NOTIFICATION-TYPE,
|
||
Integer32,
|
||
Counter32,
|
||
IpAddress
|
||
FROM SNMPv2-SMI
|
||
VlanId
|
||
FROM Q-BRIDGE-MIB
|
||
TruthValue,
|
||
DisplayString,
|
||
RowStatus,
|
||
MacAddress
|
||
FROM SNMPv2-TC
|
||
MODULE-COMPLIANCE,
|
||
OBJECT-GROUP,
|
||
NOTIFICATION-GROUP
|
||
FROM SNMPv2-CONF
|
||
ConfigStatus,
|
||
MemberMap,
|
||
IfIndex
|
||
FROM DES7200-TC
|
||
ifIndex
|
||
FROM IF-MIB
|
||
EnabledStatus
|
||
FROM P-BRIDGE-MIB
|
||
myMgmt
|
||
FROM DES7200-SMI;
|
||
|
||
myTrafficCtrlMIB MODULE-IDENTITY
|
||
LAST-UPDATED "200203200000Z"
|
||
ORGANIZATION "$Company$"
|
||
CONTACT-INFO
|
||
"
|
||
Tel: $Telephone$
|
||
|
||
E-mail: $E-mail$"
|
||
DESCRIPTION
|
||
"This module defines my traffic control mibs."
|
||
REVISION "200203200000Z"
|
||
DESCRIPTION
|
||
"Initial version of this MIB module."
|
||
::= { myMgmt 14}
|
||
|
||
-- Percentage for statistic, etc.
|
||
--
|
||
Percent ::= TEXTUAL-CONVENTION
|
||
STATUS current
|
||
DESCRIPTION
|
||
"An integer that is in the range of a percent value."
|
||
SYNTAX INTEGER (1..100)
|
||
|
||
myTrafficCtrlMIBObjects OBJECT IDENTIFIER ::= { myTrafficCtrlMIB 1 }
|
||
|
||
|
||
myPtTrafficCtrlTable OBJECT-TYPE
|
||
SYNTAX SEQUENCE OF MyPtTrafficCtrlEntry
|
||
MAX-ACCESS not-accessible
|
||
STATUS current
|
||
DESCRIPTION
|
||
"list of port-based traffic control configuration objects."
|
||
::= { myTrafficCtrlMIBObjects 1 }
|
||
|
||
myPtTrafficCtrlEntry OBJECT-TYPE
|
||
SYNTAX MyPtTrafficCtrlEntry
|
||
MAX-ACCESS not-accessible
|
||
STATUS current
|
||
DESCRIPTION
|
||
"Entry contains port-based traffic control configuration objects."
|
||
INDEX { myPtTrafficCtrlIfIndex }
|
||
::= { myPtTrafficCtrlTable 1 }
|
||
|
||
MyPtTrafficCtrlEntry ::=
|
||
SEQUENCE {
|
||
myPtTrafficCtrlIfIndex IfIndex,
|
||
myPtProtectedPortStatus EnabledStatus,
|
||
myPtBroadcastStormControlStatus EnabledStatus,
|
||
myPtMulticastStormControlStatus EnabledStatus,
|
||
myPtUnicastStormControlStatus EnabledStatus,
|
||
myPtBroadcastStormControlLevel Percent,
|
||
myPtMulticastStormControlLevel Percent,
|
||
myPtUnicastStormControlLevel Percent
|
||
}
|
||
|
||
myPtTrafficCtrlIfIndex OBJECT-TYPE
|
||
SYNTAX IfIndex
|
||
MAX-ACCESS read-only
|
||
STATUS current
|
||
DESCRIPTION
|
||
" "
|
||
::= { myPtTrafficCtrlEntry 1 }
|
||
|
||
myPtProtectedPortStatus OBJECT-TYPE
|
||
SYNTAX EnabledStatus
|
||
MAX-ACCESS read-write
|
||
STATUS current
|
||
DESCRIPTION
|
||
"Some applications require that no traffic be forwarded by the
|
||
Layer 2 protocol between ports on the same switch. In such an
|
||
environment, there is no exchange of unicast, broadcast,
|
||
or multicast traffic betweenports on the switch, and traffic
|
||
between ports on the same switch is forwarded through a Layer 3 device
|
||
such as a router.
|
||
|
||
To meet this requirement, you can configure ports as protected ports(Set this
|
||
value to enabled).Protected ports do not forward any traffic to protected ports on
|
||
the same switch. This means that all traffic passing between protected
|
||
ports<74><73>unicast, broadcast, and multicast<73><74>must be forwarded through a Layer 3 device.
|
||
Protected ports can forward any type of traffic to nonprotected ports,
|
||
and they forward as usual to all ports on other switches. Dynamically learnt
|
||
addresses are not retained if the switch is reloaded."
|
||
DEFVAL { disabled }
|
||
::= { myPtTrafficCtrlEntry 2 }
|
||
|
||
myPtBroadcastStormControlStatus OBJECT-TYPE
|
||
SYNTAX EnabledStatus
|
||
MAX-ACCESS read-write
|
||
STATUS current
|
||
DESCRIPTION
|
||
"the broadcast storm control status of a port, can be opened by setting its
|
||
value to Enabled(1), or closed by setting its value to Disabled(2).
|
||
|
||
This attribute apply physical port and aggreate port"
|
||
::= { myPtTrafficCtrlEntry 3 }
|
||
|
||
myPtMulticastStormControlStatus OBJECT-TYPE
|
||
SYNTAX EnabledStatus
|
||
MAX-ACCESS read-write
|
||
STATUS current
|
||
DESCRIPTION
|
||
"the multicast storm control status of a port, can be opened by setting its
|
||
value to Enabled(1), or closed by setting its value to Disabled(2).
|
||
|
||
This attribute apply physical port and aggreate port"
|
||
::= { myPtTrafficCtrlEntry 4 }
|
||
|
||
myPtUnicastStormControlStatus OBJECT-TYPE
|
||
SYNTAX EnabledStatus
|
||
MAX-ACCESS read-write
|
||
STATUS current
|
||
DESCRIPTION
|
||
"the unknown unicast storm control status of a port, can be opened by setting its
|
||
value to Enabled(1), or closed by setting its value to Disabled(2).
|
||
|
||
This attribute apply physical port and aggreate port"
|
||
::= { myPtTrafficCtrlEntry 5 }
|
||
|
||
myPtBroadcastStormControlLevel OBJECT-TYPE
|
||
SYNTAX Percent
|
||
MAX-ACCESS read-write
|
||
STATUS current
|
||
DESCRIPTION
|
||
"<22><>ʾ<EFBFBD>ӿ<EFBFBD><D3BF><EFBFBD><EFBFBD><EFBFBD>ͨ<EFBFBD><CDA8><EFBFBD>㲥<EFBFBD><E3B2A5><EFBFBD><EFBFBD><EFBFBD>ݵ<EFBFBD><DDB5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ռ<EFBFBD>ӿ<EFBFBD>
|
||
<20><><EFBFBD><EFBFBD><EFBFBD>İٷֱȣ<D6B1><C8A3><EFBFBD><EFBFBD>㲥<EFBFBD><E3B2A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>˰ٷֱȵ<D6B1>ʱ<EFBFBD><CAB1>
|
||
<20>ӿڽ<D3BF><DABD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ֵĹ㲥<C4B9><E3B2A5><EFBFBD><EFBFBD>
|
||
|
||
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ֻ<EFBFBD><D6BB><EFBFBD>ڽӿڹ㲥<DAB9>籩<EFBFBD><E7B1A9><EFBFBD>ƹ<EFBFBD><C6B9>ܴ<EFBFBD><DCB4><EFBFBD>ʱ<EFBFBD><CAB1><EFBFBD><EFBFBD>Ч"
|
||
DEFVAL { 10 }
|
||
::= { myPtTrafficCtrlEntry 6 }
|
||
|
||
myPtMulticastStormControlLevel OBJECT-TYPE
|
||
SYNTAX Percent
|
||
MAX-ACCESS read-write
|
||
STATUS current
|
||
DESCRIPTION
|
||
"<22><>ʾ<EFBFBD>ӿ<EFBFBD><D3BF><EFBFBD><EFBFBD><EFBFBD>ͨ<EFBFBD><CDA8><EFBFBD>ಥ<EFBFBD><E0B2A5><EFBFBD><EFBFBD><EFBFBD>ݵ<EFBFBD><DDB5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ռ<EFBFBD>ӿ<EFBFBD>
|
||
<20><><EFBFBD><EFBFBD><EFBFBD>İٷֱȣ<D6B1><C8A3><EFBFBD><EFBFBD>ಥ<EFBFBD><E0B2A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>˰ٷֱȵ<D6B1>ʱ<EFBFBD><CAB1>
|
||
<20>ӿڽ<D3BF><DABD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ֵĶಥ<C4B6><E0B2A5><EFBFBD><EFBFBD>
|
||
|
||
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ֻ<EFBFBD><D6BB><EFBFBD>ڽӿڶಥ<DAB6>籩<EFBFBD><E7B1A9><EFBFBD>ƹ<EFBFBD><C6B9>ܴ<EFBFBD><DCB4><EFBFBD>ʱ<EFBFBD><CAB1><EFBFBD><EFBFBD>Ч"
|
||
DEFVAL { 10 }
|
||
::= { myPtTrafficCtrlEntry 7 }
|
||
|
||
myPtUnicastStormControlLevel OBJECT-TYPE
|
||
SYNTAX Percent
|
||
MAX-ACCESS read-write
|
||
STATUS current
|
||
DESCRIPTION
|
||
"<22><>ʾ<EFBFBD>ӿ<EFBFBD><D3BF><EFBFBD><EFBFBD><EFBFBD>ͨ<EFBFBD><CDA8>δ֪<CEB4><D6AA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ݵ<EFBFBD><DDB5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ռ<EFBFBD>ӿ<EFBFBD>
|
||
<20><><EFBFBD><EFBFBD><EFBFBD>İٷֱȣ<D6B1><C8A3><EFBFBD>δ֪<CEB4><D6AA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>˰ٷֱȵ<D6B1>ʱ<EFBFBD><CAB1>
|
||
<20>ӿڽ<D3BF><DABD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ֵ<EFBFBD>δ֪<CEB4><D6AA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||
|
||
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ֻ<EFBFBD><D6BB><EFBFBD>ڽӿ<DABD>δ֪<CEB4><D6AA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>籩<EFBFBD><E7B1A9><EFBFBD>ƹ<EFBFBD><C6B9>ܴ<EFBFBD><DCB4><EFBFBD>ʱ<EFBFBD><CAB1><EFBFBD><EFBFBD>Ч"
|
||
DEFVAL { 10 }
|
||
::= { myPtTrafficCtrlEntry 8 }
|
||
|
||
myPtTrafficCtrlTraps OBJECT IDENTIFIER ::= { myTrafficCtrlMIB 2 }
|
||
|
||
stormViolationAlarmType OBJECT-TYPE
|
||
SYNTAX INTEGER{
|
||
unknown(1),
|
||
broadcast(2),
|
||
mutlicast(3),
|
||
unicast(4)
|
||
}
|
||
MAX-ACCESS accessible-for-notify
|
||
STATUS current
|
||
DESCRIPTION
|
||
"The type of storm of interface"
|
||
::= { myPtTrafficCtrlTraps 1 }
|
||
|
||
stormViolationAlarm NOTIFICATION-TYPE
|
||
OBJECTS {ifIndex, stormViolationAlarmType}
|
||
STATUS current
|
||
DESCRIPTION
|
||
"while the storm threshold has been set, if more broadcast
|
||
is send to the port, then this trap will be sent."
|
||
::= { myPtTrafficCtrlTraps 2 }
|
||
|
||
myPtTrafficCtrlMIBConformance OBJECT IDENTIFIER ::= { myTrafficCtrlMIB 3 }
|
||
myPtTrafficCtrlMIBCompliances OBJECT IDENTIFIER ::= { myPtTrafficCtrlMIBConformance 1 }
|
||
myPtTrafficCtrlMIBGroups OBJECT IDENTIFIER ::= { myPtTrafficCtrlMIBConformance 2 }
|
||
|
||
|
||
-- compliance statements
|
||
|
||
myPtTrafficCtrlMIBCompliance MODULE-COMPLIANCE
|
||
STATUS current
|
||
DESCRIPTION
|
||
"The compliance statement for entities which implement
|
||
the My IfConfig MIB"
|
||
MODULE -- this module
|
||
MANDATORY-GROUPS { myPtTrafficCtrlMIBGroup
|
||
}
|
||
::= { myPtTrafficCtrlMIBCompliances 1 }
|
||
|
||
-- units of conformance
|
||
|
||
myPtTrafficCtrlMIBGroup OBJECT-GROUP
|
||
OBJECTS {
|
||
myPtTrafficCtrlIfIndex,
|
||
myPtProtectedPortStatus,
|
||
myPtBroadcastStormControlStatus,
|
||
myPtMulticastStormControlStatus,
|
||
myPtUnicastStormControlStatus,
|
||
myPtBroadcastStormControlLevel,
|
||
myPtMulticastStormControlLevel,
|
||
myPtUnicastStormControlLevel
|
||
}
|
||
STATUS current
|
||
DESCRIPTION
|
||
"A collection of objects providing port traffic control configure."
|
||
::= { myPtTrafficCtrlMIBGroups 1 }
|
||
|
||
END
|