Imported Upstream version 0.4.8
[platform/upstream/libsmi.git] / mibs / ietf / TOKENRING-STATION-SR-MIB
1 TOKENRING-STATION-SR-MIB DEFINITIONS ::= BEGIN
2
3 IMPORTS
4     MODULE-IDENTITY, OBJECT-TYPE
5                                          FROM SNMPv2-SMI
6     TEXTUAL-CONVENTION, RowStatus, MacAddress
7                                          FROM SNMPv2-TC
8     MODULE-COMPLIANCE, OBJECT-GROUP      FROM SNMPv2-CONF
9     mib-2, ifIndex                       FROM RFC1213-MIB;
10
11 dot5SrMIB MODULE-IDENTITY
12     LAST-UPDATED "9412161000Z"
13     ORGANIZATION "IETF Interfaces MIB Working Group"
14     CONTACT-INFO
15             "       Keith McCloghrie
16             Postal: Cisco Systems, Inc.
17                     170 West Tasman Drive
18                     San Jose, CA  95134-1706
19                     US
20
21              Phone: +1 408 526 5260
22              Email: kzm@cisco.com"
23     DESCRIPTION
24             "The MIB module for managing source routes in
25             end-stations on IEEE 802.5 Token Ring networks."
26     ::= { mib-2 42 }
27 dot5SrMIBObjects OBJECT IDENTIFIER ::= { dot5SrMIB 1 }
28
29 SourceRoute ::= TEXTUAL-CONVENTION
30     DISPLAY-HINT "1x:"
31     STATUS       current
32     DESCRIPTION
33                  "Represents a Source Route, containing an
34                  embedded sequence of bridge and ring ID's,
35                  as used by 802.5 Source Routing."
36     REFERENCE    "Annex C of ISO/IEC 10038: 1993,
37                  [ANSI/IEEE Std 802.1D, 1993]"
38     SYNTAX       OCTET STRING (SIZE(0..30))
39
40
41 --           The 802.5 Station Source Route Table
42 --
43
44 dot5SrRouteTable   OBJECT-TYPE
45     SYNTAX      SEQUENCE OF Dot5SrRouteEntry
46     MAX-ACCESS  not-accessible
47     STATUS      current
48     DESCRIPTION
49                "The table of source-routing routes.
50                This represents the 802.5 RIF database."
51     ::= { dot5SrMIBObjects 1 }
52
53 dot5SrRouteEntry  OBJECT-TYPE
54     SYNTAX      Dot5SrRouteEntry
55     MAX-ACCESS  not-accessible
56     STATUS      current
57     DESCRIPTION
58                 "Information on a specific route.
59
60                 An entry is created whenever a 'Single Path
61                 Explorer' or an 'All Paths Explorer' discovers
62                 a route to a neighbor not currently in the table,
63                 or whenever an 'All Paths Explorer' discovers a
64                 better (e.g., shorter) route than the route currently
65                 stored in the table.  This is done on behalf of
66                 any network layer client.
67
68                 The ifIndex value in the INDEX clause refers to
69                 the value of MIB-II's ifIndex object for the
70                 interface on which the route is in effect."
71     INDEX  { ifIndex, dot5SrRouteDestination }
72     ::= { dot5SrRouteTable 1 }
73
74 Dot5SrRouteEntry ::= SEQUENCE {
75     dot5SrRouteDestination   MacAddress,
76     dot5SrRouteControl       OCTET STRING,
77     dot5SrRouteDescr         SourceRoute,
78     dot5SrRouteStatus        RowStatus
79 }
80
81 dot5SrRouteDestination  OBJECT-TYPE
82     SYNTAX      MacAddress
83     MAX-ACCESS  not-accessible
84     STATUS      current
85     DESCRIPTION
86                "The destination of this route."
87     ::= { dot5SrRouteEntry 2 }
88
89 dot5SrRouteControl  OBJECT-TYPE
90     SYNTAX      OCTET STRING (SIZE(2))
91     MAX-ACCESS  read-create
92     STATUS      current
93     DESCRIPTION
94                "The value of Routing Control field for this
95                route."
96     REFERENCE  "Annex C of ISO/IEC 10038: 1993,
97                [ANSI/IEEE Std 802.1D, 1993]"
98     ::= { dot5SrRouteEntry 3 }
99
100 dot5SrRouteDescr  OBJECT-TYPE
101     SYNTAX      SourceRoute
102     MAX-ACCESS  read-create
103     STATUS      current
104     DESCRIPTION
105                "The embedded sequence of bridge and ring ID's
106                for this route.  For destinations on the
107                local ring, the value of this object is
108                the zero-length string."
109     REFERENCE  "Annex C of ISO/IEC 10038: 1993,
110                [ANSI/IEEE Std 802.1D, 1993]"
111     ::= { dot5SrRouteEntry 4 }
112
113 dot5SrRouteStatus  OBJECT-TYPE
114     SYNTAX      RowStatus
115     MAX-ACCESS  read-create
116     STATUS      current
117     DESCRIPTION
118              "The status of this row.  Values of the instances
119              of dot5SrRouteControl and dot5SrRouteDescr can be
120              modified while the row's status is 'active."
121     ::= { dot5SrRouteEntry 5 }
122
123 -- conformance information
124
125 dot5SrConformance OBJECT IDENTIFIER ::= { dot5SrMIB 2 }
126
127 dot5SrGroups      OBJECT IDENTIFIER ::= { dot5SrConformance 1 }
128 dot5SrCompliances OBJECT IDENTIFIER ::= { dot5SrConformance 2 }
129
130
131 -- compliance statements
132
133 dot5SrCompliance MODULE-COMPLIANCE
134     STATUS  current
135     DESCRIPTION
136         "The compliance statement for SNMPv2 entities
137         which implement the IEEE 802.5 Station Source Route
138         MIB."
139
140     MODULE  -- this module
141         MANDATORY-GROUPS { dot5SrRouteGroup }
142
143         OBJECT      dot5SrRouteStatus
144         SYNTAX      INTEGER { active(1) }   -- subset of values
145         MIN-ACCESS  read-only
146         DESCRIPTION
147             "Write access is not required, and only the 'active'
148             value need be supported."
149
150         OBJECT      dot5SrRouteControl
151         MIN-ACCESS  read-only
152         DESCRIPTION
153             "Write access is not required."
154
155         OBJECT      dot5SrRouteDescr
156         MIN-ACCESS  read-only
157         DESCRIPTION
158             "Write access is not required."
159
160     ::= { dot5SrCompliances 1 }
161
162
163 -- units of conformance
164
165 dot5SrRouteGroup  OBJECT-GROUP
166     OBJECTS   { dot5SrRouteControl,
167                 dot5SrRouteDescr,
168                 dot5SrRouteStatus
169               }
170     STATUS    current
171     DESCRIPTION
172         "A collection of objects providing for the management of
173         source routes in stations on IEEE 802.5 source-routing
174         networks."
175     ::= { dot5SrGroups 1 }
176
177 END