and added files
[bcm963xx.git] / userapps / opensource / net-snmp / mibs / IPV6-TCP-MIB.txt
1 IPV6-TCP-MIB DEFINITIONS ::= BEGIN
2
3 IMPORTS
4    MODULE-COMPLIANCE, OBJECT-GROUP      FROM SNMPv2-CONF
5    MODULE-IDENTITY, OBJECT-TYPE,
6    mib-2, experimental                  FROM SNMPv2-SMI
7    Ipv6Address, Ipv6IfIndexOrZero       FROM IPV6-TC;
8
9 ipv6TcpMIB MODULE-IDENTITY
10    LAST-UPDATED "9801290000Z"
11    ORGANIZATION "IETF IPv6 MIB Working Group"
12    CONTACT-INFO
13         "       Mike Daniele
14
15                 Postal: Compaq Computer Corporation
16                         110 Spitbrook Rd
17                         Nashua, NH 03062.
18                         US
19
20                 Phone:  +1 603 884 1423
21                 Email:  daniele@zk3.dec.com"
22    DESCRIPTION
23         "The MIB module for entities implementing TCP over IPv6."
24    ::= { experimental 86 }
25
26 -- objects specific to TCP for IPv6
27
28 tcp      OBJECT IDENTIFIER ::= { mib-2 6 }
29
30 -- the TCP over IPv6 Connection table
31
32 -- This connection table contains information about this
33 -- entity's existing TCP connections between IPv6 endpoints.
34 -- Only connections between IPv6 addresses are contained in
35 -- this table.  This entity's connections between IPv4
36 -- endpoints are contained in tcpConnTable.
37
38 ipv6TcpConnTable OBJECT-TYPE
39    SYNTAX      SEQUENCE OF Ipv6TcpConnEntry
40    MAX-ACCESS  not-accessible
41    STATUS      current
42    DESCRIPTION
43         "A table containing TCP connection-specific information,
44          for only those connections whose endpoints are IPv6 addresses."
45    ::= { tcp 16 }
46
47 ipv6TcpConnEntry OBJECT-TYPE
48    SYNTAX      Ipv6TcpConnEntry
49    MAX-ACCESS  not-accessible
50    STATUS      current
51    DESCRIPTION
52         "A conceptual row of the ipv6TcpConnTable containing
53          information about a particular current TCP connection.
54          Each row of this table is transient, in that it ceases to
55          exist when (or soon after) the connection makes the transition
56          to the CLOSED state.
57
58          Note that conceptual rows in this table require an additional
59          index object compared to tcpConnTable, since IPv6 addresses
60          are not guaranteed to be unique on the managed node."
61    INDEX   { ipv6TcpConnLocalAddress,
62              ipv6TcpConnLocalPort,
63              ipv6TcpConnRemAddress,
64              ipv6TcpConnRemPort,
65              ipv6TcpConnIfIndex }
66    ::= { ipv6TcpConnTable 1 }
67
68 Ipv6TcpConnEntry ::=
69    SEQUENCE { ipv6TcpConnLocalAddress    Ipv6Address,
70               ipv6TcpConnLocalPort       INTEGER (0..65535),
71               ipv6TcpConnRemAddress      Ipv6Address,
72               ipv6TcpConnRemPort         INTEGER (0..65535),
73               ipv6TcpConnIfIndex         Ipv6IfIndexOrZero,
74               ipv6TcpConnState           INTEGER }
75
76 ipv6TcpConnLocalAddress OBJECT-TYPE
77    SYNTAX     Ipv6Address
78    MAX-ACCESS not-accessible
79    STATUS     current
80    DESCRIPTION
81         "The local IPv6 address for this TCP connection. In
82          the case of a connection in the listen state which
83          is willing to accept connections for any IPv6
84          address associated with the managed node, the value
85          ::0 is used."
86    ::= { ipv6TcpConnEntry 1 }
87
88 ipv6TcpConnLocalPort OBJECT-TYPE
89    SYNTAX     INTEGER (0..65535)
90    MAX-ACCESS not-accessible
91    STATUS     current
92    DESCRIPTION
93         "The local port number for this TCP connection."
94    ::= { ipv6TcpConnEntry 2 }
95
96 ipv6TcpConnRemAddress OBJECT-TYPE
97    SYNTAX     Ipv6Address
98    MAX-ACCESS not-accessible
99    STATUS     current
100    DESCRIPTION
101         "The remote IPv6 address for this TCP connection."
102    ::= { ipv6TcpConnEntry 3 }
103
104 ipv6TcpConnRemPort OBJECT-TYPE
105    SYNTAX     INTEGER (0..65535)
106    MAX-ACCESS not-accessible
107    STATUS     current
108    DESCRIPTION
109         "The remote port number for this TCP connection."
110    ::= { ipv6TcpConnEntry 4 }
111
112 ipv6TcpConnIfIndex OBJECT-TYPE
113    SYNTAX     Ipv6IfIndexOrZero
114    MAX-ACCESS not-accessible
115    STATUS     current
116    DESCRIPTION
117         "An index object used to disambiguate conceptual rows in
118          the table, since the connection 4-tuple may not be unique.
119
120          If the connection's remote address (ipv6TcpConnRemAddress)
121          is a link-local address and the connection's local address
122
123          (ipv6TcpConnLocalAddress) is not a link-local address, this
124          object identifies a local interface on the same link as
125          the connection's remote link-local address.
126
127          Otherwise, this object identifies the local interface that
128          is associated with the ipv6TcpConnLocalAddress for this
129          TCP connection.  If such a local interface cannot be determined,
130          this object should take on the value 0.  (A possible example
131          of this would be if the value of ipv6TcpConnLocalAddress is ::0.)
132
133          The interface identified by a particular non-0 value of this
134          index is the same interface as identified by the same value
135          of ipv6IfIndex.
136
137          The value of this object must remain constant during the life
138          of the TCP connection."
139    ::= { ipv6TcpConnEntry 5 }
140
141 ipv6TcpConnState OBJECT-TYPE
142    SYNTAX     INTEGER {
143         closed(1),
144         listen(2),
145         synSent(3),
146         synReceived(4),
147         established(5),
148         finWait1(6),
149         finWait2(7),
150         closeWait(8),
151         lastAck(9),
152         closing(10),
153         timeWait(11),
154         deleteTCB(12) }
155    MAX-ACCESS read-write
156    STATUS     current
157    DESCRIPTION
158         "The state of this TCP connection.
159
160          The only value which may be set by a management station is
161          deleteTCB(12).  Accordingly, it is appropriate for an agent
162          to return an error response (`badValue' for SNMPv1, 'wrongValue'
163          for SNMPv2) if a management station attempts to set this
164          object to any other value.
165
166          If a management station sets this object to the value
167          deleteTCB(12), then this has the effect of deleting the TCB
168          (as defined in RFC 793) of the corresponding connection on
169          the managed node, resulting in immediate termination of the
170          connection.
171
172          As an implementation-specific option, a RST segment may be
173          sent from the managed node to the other TCP endpoint (note
174          however that RST segments are not sent reliably)."
175    ::= { ipv6TcpConnEntry 6 }
176
177 --
178 -- conformance information
179 --
180
181 ipv6TcpConformance OBJECT IDENTIFIER ::= { ipv6TcpMIB 2 }
182
183 ipv6TcpCompliances OBJECT IDENTIFIER ::= { ipv6TcpConformance 1 }
184 ipv6TcpGroups      OBJECT IDENTIFIER ::= { ipv6TcpConformance 2 }
185
186 -- compliance statements
187
188 ipv6TcpCompliance MODULE-COMPLIANCE
189    STATUS  current
190    DESCRIPTION
191         "The compliance statement for SNMPv2 entities which
192          implement TCP over IPv6."
193    MODULE  -- this module
194    MANDATORY-GROUPS { ipv6TcpGroup }
195    ::= { ipv6TcpCompliances 1 }
196
197 ipv6TcpGroup OBJECT-GROUP
198    OBJECTS   { -- these are defined in this module
199                -- ipv6TcpConnLocalAddress (not-accessible)
200                -- ipv6TcpConnLocalPort (not-accessible)
201                -- ipv6TcpConnRemAddress (not-accessible)
202                -- ipv6TcpConnRemPort (not-accessible)
203                -- ipv6TcpConnIfIndex (not-accessible)
204                ipv6TcpConnState }
205    STATUS    current
206    DESCRIPTION
207         "The group of objects providing management of
208          TCP over IPv6."
209    ::= { ipv6TcpGroups 1 }
210
211 END