-- ***************************************************************** -- MY-AP-MIB.mib: My Trunk MIB file -- -- $Copyright$ -- -- ***************************************************************** -- MY-AP-MIB DEFINITIONS ::= BEGIN IMPORTS MODULE-IDENTITY, OBJECT-TYPE, NOTIFICATION-TYPE, Integer32, Counter32, IpAddress FROM SNMPv2-SMI TruthValue, DisplayString, RowStatus, MacAddress FROM SNMPv2-TC MODULE-COMPLIANCE, OBJECT-GROUP, NOTIFICATION-GROUP FROM SNMPv2-CONF ConfigStatus, MemberMap, IfIndex FROM MY-TC EnabledStatus FROM P-BRIDGE-MIB myMgmt FROM MY-SMI; myApMIB MODULE-IDENTITY LAST-UPDATED "200203200000Z" ORGANIZATION "$Company$" CONTACT-INFO " Tel: $Telephone$ E-mail: $E-mail$" DESCRIPTION "This module defines my aggreate port(AP) mibs." REVISION "200203200000Z" DESCRIPTION "Initial version of this MIB module." ::= { myMgmt 7} myApMIBObjects OBJECT IDENTIFIER ::= { myApMIB 1 } myApMaxNumber OBJECT-TYPE SYNTAX Integer32 MAX-ACCESS read-only STATUS current DESCRIPTION "Number of MAX aggreate ports this system supported." ::= { myApMIBObjects 1 } myApCurrentNumber OBJECT-TYPE SYNTAX Integer32 MAX-ACCESS read-only STATUS current DESCRIPTION "Number of current aggreate ports this system have." ::= { myApMIBObjects 2 } myApPortConfigTable OBJECT-TYPE SYNTAX SEQUENCE OF MyApPortConfigEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "aggreate port table." ::= { myApMIBObjects 3 } myApPortConfigEntry OBJECT-TYPE SYNTAX MyApPortConfigEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "list of aggreate port and it's port group table." INDEX { myApPortConfigPortIndex } ::= { myApPortConfigTable 1 } MyApPortConfigEntry ::= SEQUENCE { myApPortConfigPortIndex IfIndex, myApPortConfigApIndex IfIndex } myApPortConfigPortIndex OBJECT-TYPE SYNTAX IfIndex MAX-ACCESS not-accessible STATUS current DESCRIPTION " " ::= { myApPortConfigEntry 1 } myApPortConfigApIndex OBJECT-TYPE SYNTAX IfIndex MAX-ACCESS read-write STATUS current DESCRIPTION "Set this value to 1. myApMaxNumber indicate that add this value to that aggreate port which this aggreate port must be valid. It separates this port from aggreate port to set this value to 0 " ::= { myApPortConfigEntry 2 } myApTable OBJECT-TYPE SYNTAX SEQUENCE OF MyApEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "Aggreate ports table." ::= { myApMIBObjects 4 } myApEntry OBJECT-TYPE SYNTAX MyApEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "list of aggreate ports and it's distribution table." INDEX { myApIndex } ::= { myApTable 1 } MyApEntry ::= SEQUENCE { myApIndex IfIndex, myApMemberAction MemberMap, myApPossibleMember MemberMap, myApMaxPtNumber Integer32 -- myApEntryStatus ConfigStatus } myApIndex OBJECT-TYPE SYNTAX IfIndex MAX-ACCESS read-only STATUS current DESCRIPTION "aggreate ports index." ::= { myApEntry 1 } myApMemberAction OBJECT-TYPE SYNTAX MemberMap MAX-ACCESS read-only STATUS current DESCRIPTION "Each octet in this member action map assigned to a port, when the octet's value is 1 indicates the port of this octect is in the aggreate port. and 0 indicates the port is not in the aggreate port. this object can be modified only when the status of this entry is invalid." ::= { myApEntry 2 } myApPossibleMember OBJECT-TYPE SYNTAX MemberMap MAX-ACCESS read-only STATUS current DESCRIPTION "Each octet in this member action map assigned to a port, when the octet's value is 1 indicates the port of this octect can be set in the aggreate port. and 0 indicates the port is not possible be set in the aggreate port." ::= { myApEntry 3 } myApMaxPtNumber OBJECT-TYPE SYNTAX Integer32 MAX-ACCESS read-only STATUS current DESCRIPTION "Max number of ports this aggreate port can include." ::= { myApEntry 4 } --myApEntryStatus OBJECT-TYPE -- SYNTAX ConfigStatus -- MAX-ACCESS read-create -- STATUS current -- DESCRIPTION -- "Status of this entry, set this object to valid will create a aggreate port, -- and set its value to invalid will delete the aggreate port of this entry." -- ::= { myApEntry 5 } myApFlowBanlance OBJECT-TYPE SYNTAX INTEGER { source-mac(1), destination-mac(2), src-dest-mac(3), source-ip(4), destination-ip(5), src-dest-ip(6), src-dest-port(7) } MAX-ACCESS read-write STATUS current DESCRIPTION "Aggreate port's flow banlance arithmetic." DEFVAL{source-mac} ::= { myApMIBObjects 5 } myApMIBConformance OBJECT IDENTIFIER ::= { myApMIB 2 } myApMIBCompliances OBJECT IDENTIFIER ::= { myApMIBConformance 1 } myApMIBGroups OBJECT IDENTIFIER ::= { myApMIBConformance 2 } -- compliance statements myApMIBCompliance MODULE-COMPLIANCE STATUS current DESCRIPTION "The compliance statement for entities which implement the My Ap MIB" MODULE -- this module MANDATORY-GROUPS { myApMIBGroup } ::= { myApMIBCompliances 1 } -- units of conformance myApMIBGroup OBJECT-GROUP OBJECTS { myApMaxNumber, myApCurrentNumber, myApPortConfigPortIndex, myApPortConfigApIndex, myApIndex, myApMemberAction, myApMaxPtNumber, myApFlowBanlance -- myApEntryStatus } STATUS current DESCRIPTION "A collection of objects providing aggreate port configure." ::= { myApMIBGroups 1 } END