summaryrefslogtreecommitdiff
path: root/MIBS/awplus/AT-IP-MIB
blob: 5e94c6772f112b9539f2f278247bd5f87d0056a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
-- ============================================================================
-- at-ip.mib, Allied Telesis enterprise MIB:
-- License MIB for the AlliedWare Plus(tm) operating system
--
-- Copyright (c) 2008 by Allied Telesis, Inc.
-- All rights reserved.
--
-- ============================================================================

    AT-IP-MIB DEFINITIONS ::= BEGIN

        IMPORTS
            modules
                FROM AT-SMI-MIB
            InterfaceIndex
                FROM IF-MIB
            InetAddressType, InetAddress
                FROM INET-ADDRESS-MIB
            OBJECT-TYPE, MODULE-IDENTITY
                FROM SNMPv2-SMI
            DisplayString, RowStatus, TEXTUAL-CONVENTION
                FROM SNMPv2-TC;


        atIpMib MODULE-IDENTITY
            LAST-UPDATED "201006140509Z"
            ORGANIZATION
                "Allied Telesis Labs New Zealand"
            CONTACT-INFO
                "http://www.alliedtelesis.com"
            DESCRIPTION
                "The IP MIB - for AT specific IP management."
            REVISION "201006140509Z"
            DESCRIPTION
                "MIB revision history dates in descriptions updated."
            REVISION "200811100000Z"
            DESCRIPTION
                "Initial revision."
            ::= { modules 602 }



--
-- Textual conventions
--

        AtIpAddressAssignmentType ::= TEXTUAL-CONVENTION
            STATUS current
            DESCRIPTION
                "The IP address assignment type being applied to the interface.
                notSet(0) indicates that the IP address assignment type has
                not yet been configured. This value can only ever be read.
                primary(1) indicates that the address is a primary IP address
                (only one primary address is allowed per interface).
                secondary(2) indicates that the address is a secondary IP
                address (any number of secondary IP addresses may be applied
                to each interface)."
            SYNTAX INTEGER
                {
                notSet(0),
                primary(1),
                secondary(2)
                }


--
-- Node definitions
--

-- ---------------------------------------------------------- --
-- The IP Address Assignment Table
-- ---------------------------------------------------------- --

        atIpAddressTable OBJECT-TYPE
            SYNTAX SEQUENCE OF AtIpAddressEntry
            MAX-ACCESS not-accessible
            STATUS current
            DESCRIPTION
                "A table containing mappings between primary/secondary IP
                addresses, and the interfaces they are assigned to."
            ::= { atIpMib 1 }


        atIpAddressEntry OBJECT-TYPE
            SYNTAX AtIpAddressEntry
            MAX-ACCESS not-accessible
            STATUS current
            DESCRIPTION
                "An address mapping for a particular interface."
            INDEX { atIpAddressAddrType, atIpAddressAddr }
            ::= { atIpAddressTable 1 }


        AtIpAddressEntry ::=
            SEQUENCE {
                atIpAddressAddrType
                    InetAddressType,
                atIpAddressAddr
                    InetAddress,
                atIpAddressPrefixLen
                    INTEGER,
                atIpAddressLabel
                    DisplayString,
                atIpAddressIfIndex
                    InterfaceIndex,
                atIpAddressAssignmentType
                    AtIpAddressAssignmentType,
                atIpAddressRowStatus
                    RowStatus
             }

        atIpAddressAddrType OBJECT-TYPE
            SYNTAX InetAddressType
            MAX-ACCESS not-accessible
            STATUS current
            DESCRIPTION
                "An indication of the IP version of atIpAddressAddr."
            ::= { atIpAddressEntry 1 }


        atIpAddressAddr OBJECT-TYPE
            SYNTAX InetAddress
            MAX-ACCESS not-accessible
            STATUS current
            DESCRIPTION
                "The IP address to which this entry's addressing information
                pertains. The address type of this object is specified in
                atIpAddressAddrType."
            ::= { atIpAddressEntry 2 }


        atIpAddressPrefixLen OBJECT-TYPE
            SYNTAX INTEGER
            MAX-ACCESS read-create
            STATUS current
            DESCRIPTION
                "The prefix length of the IP address represented by this entry."
            ::= { atIpAddressEntry 3 }


        atIpAddressLabel OBJECT-TYPE
            SYNTAX DisplayString
            MAX-ACCESS read-create
            STATUS current
            DESCRIPTION
                "A name assigned to the IP address represented by this entry."
            ::= { atIpAddressEntry 4 }


        atIpAddressIfIndex OBJECT-TYPE
            SYNTAX InterfaceIndex
            MAX-ACCESS read-create
            STATUS current
            DESCRIPTION
                "The index value that uniquely identifies the interface to
                which this entry is applicable.  The interface identified by
                a particular value of this index is the same interface as
                identified by the same value of the IF-MIB's ifIndex."
            ::= { atIpAddressEntry 5 }


        atIpAddressAssignmentType OBJECT-TYPE
            SYNTAX AtIpAddressAssignmentType
            MAX-ACCESS read-create
            STATUS current
            DESCRIPTION
                "The IP address assignment type for this entry (primary or
                secondary)."
            ::= { atIpAddressEntry 6 }


        atIpAddressRowStatus OBJECT-TYPE
            SYNTAX RowStatus
            MAX-ACCESS read-create
            STATUS current
            DESCRIPTION
                "The current status of the IP address entry. The following
                values may be returned when reading this object:

                active (1)        - The IP address is currently mapped to
                                    an interface and is valid.
                notReady (3)      - The IP address is currently partially
                                    configured and is not mapped to an
                                    interface.

                The following values may be written to this object:

                active (1)        - An attempt will be made to map the IP
                                    address to the configured interface.
                createAndWait (5) - An attempt will be made to create a new
                                    IP address entry.
                destroy (6)       - The IP address setting will be removed
                                    from the device.

                An entry cannot be made active until its atIpAddressPrefixLen,
                atIpAddressIfIndex and atIpAddressAssignmentType objects have
                been set to valid values."
            ::= { atIpAddressEntry 7 }



    END

--
-- at-ip.mib
--