summaryrefslogtreecommitdiff
path: root/MIBS/mrv/NBS-CONNECTIVITY-MIB
blob: 8fc3264fb8b03d5cc715a8b8539fd91d26b175ff (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
NBS-CONNECTIVITY-MIB  DEFINITIONS ::= BEGIN

IMPORTS

    OBJECT-TYPE, MODULE-IDENTITY, OBJECT-IDENTITY, NOTIFICATION-TYPE,
    IpAddress
        FROM SNMPv2-SMI

    InterfaceIndex
        FROM IF-MIB

    nbs
        FROM NBS-MIB

    nbsCmmcChassisIndex, nbsCmmcSlotIndex, nbsCmmcPortIndex
        FROM NBS-CMMC-MIB

    InetAddress, InetAddressType
        FROM INET-ADDRESS-MIB;

nbsConnectivityMib  MODULE-IDENTITY
    LAST-UPDATED "201405280000Z"  -- May 28, 2014
    ORGANIZATION "NBS"
    CONTACT-INFO
      "For technical support, please contact your service channel"

    DESCRIPTION
      "Read-only MIB which lists externally linked ports"
    ::= { nbs 238 }

-- *******************************************************************
-- NBS-CONNECTIVITY-MIB local defines
-- *******************************************************************

nbsConnectivityGrp  OBJECT-IDENTITY
    STATUS    current
    DESCRIPTION
      "Connectivity information"
    ::= { nbsConnectivityMib 1 }

nbsConnectivityTraps  OBJECT-IDENTITY
    STATUS      current
    DESCRIPTION
       "SNMP Traps or Notifications"
    ::= { nbsConnectivityMib 100 }

nbsConnectivityEvent  OBJECT-IDENTITY
    STATUS      current
    DESCRIPTION
       "Event Notification Definitions"
    ::= { nbsConnectivityTraps 0 }


-- *******************************************************************
--
-- the nbsConnectivityTable
--
-- *******************************************************************

nbsConnectivityTable OBJECT-TYPE
        SYNTAX      SEQUENCE OF NbsConnectivityEntry
        MAX-ACCESS  not-accessible
        STATUS      current
        DESCRIPTION
                "List of externally connected port pairs.

                 The connectivity table entries come from discovery
                 protocols."
        ::= { nbsConnectivityGrp 1 }

nbsConnectivityEntry      OBJECT-TYPE
        SYNTAX      NbsConnectivityEntry
        MAX-ACCESS  not-accessible
        STATUS      current
        DESCRIPTION
                "Contains a description of a particular Port Connection."
        INDEX { nbsConnectivitySourceIfIndex,
                nbsConnectivityOrdinalIndex }
        ::= { nbsConnectivityTable 1 }

NbsConnectivityEntry ::= SEQUENCE {
        nbsConnectivitySourceIfIndex   InterfaceIndex,
        nbsConnectivityOrdinalIndex    INTEGER,
        nbsConnectivityDestIfIndex     InterfaceIndex,
        nbsConnectivityDestIPAddress   IpAddress,
        nbsConnectivityDestAddrType    InetAddressType,
        nbsConnectivityDestAddr        InetAddress,
        nbsConnectivityStatus          INTEGER,
        nbsConnectivityDestV6AddrType  InetAddressType,
        nbsConnectivityDestV6Addr      InetAddress
}

nbsConnectivitySourceIfIndex    OBJECT-TYPE
        SYNTAX      InterfaceIndex
        MAX-ACCESS  not-accessible
        STATUS      current
        DESCRIPTION
                "MIB II Interface index."
        ::= { nbsConnectivityEntry 10 }

nbsConnectivityOrdinalIndex    OBJECT-TYPE
        SYNTAX      INTEGER (1..2)
        MAX-ACCESS  not-accessible
        STATUS      current
        DESCRIPTION
                "The ordinal index for this entry. A given source
                 port may have one or more destination ports."
        ::= { nbsConnectivityEntry 11 }

nbsConnectivityDestIfIndex    OBJECT-TYPE
        SYNTAX      InterfaceIndex
        MAX-ACCESS  read-only
        STATUS      current
        DESCRIPTION
                "MIB II Interface index."
        ::= { nbsConnectivityEntry 20 }

nbsConnectivityDestIPAddress OBJECT-TYPE
        SYNTAX      IpAddress
        MAX-ACCESS  read-only
        STATUS      deprecated
        DESCRIPTION
                "Deprecated. IPv4 information is in
                 nbsConnectivityDestAddr instead."

        ::= { nbsConnectivityEntry 30 }

nbsConnectivityDestAddrType OBJECT-TYPE
        SYNTAX      InetAddressType
        MAX-ACCESS  read-only
        STATUS      current
        DESCRIPTION
                "The address type of nbsConnectivityDestAddr.
                 Currently ipv4 and ipv6 are supported."

        ::= { nbsConnectivityEntry 40 }

nbsConnectivityDestAddr    OBJECT-TYPE
        SYNTAX      InetAddress
        MAX-ACCESS  read-only
        STATUS      current
        DESCRIPTION
                "IP Address (Usually IPv4) of the remote port's SNMP agent"
        ::= { nbsConnectivityEntry 50 }

nbsConnectivityStatus    OBJECT-TYPE
        SYNTAX      INTEGER {
                up           (1),    -- link status up
                down         (2),    -- link status down
                unknown      (3),    -- link status unknown
                notSupported (4),    -- link status unsupported
                sourceBlocked(5),    -- source (local) port is blocked
                destBlocked  (6)     -- dest (remote) port is blocked
        }
        MAX-ACCESS  read-only
        STATUS      current
        DESCRIPTION
                "This object is used to indicate the link status."
        DEFVAL { notSupported }
        ::= { nbsConnectivityEntry 60 }

nbsConnectivityDestV6AddrType OBJECT-TYPE
        SYNTAX      InetAddressType
        MAX-ACCESS  read-only
        STATUS      current
        DESCRIPTION
                "The address type of nbsConnectivityDestV6Addr."
        ::= { nbsConnectivityEntry 70 }

nbsConnectivityDestV6Addr    OBJECT-TYPE
        SYNTAX      InetAddress
        MAX-ACCESS  read-only
        STATUS      current
        DESCRIPTION
                "IP Address (Usually IPv6) of the remote port's SNMP agent"
        ::= { nbsConnectivityEntry 80 }

-- *******************************************************************
--
-- the nbsConnectivityEvent group
--
-- *******************************************************************

nbsConnectivityChanged  NOTIFICATION-TYPE
    OBJECTS  { nbsCmmcChassisIndex, nbsCmmcSlotIndex, nbsCmmcPortIndex,
               nbsConnectivityDestAddrType,
               nbsConnectivityDestAddr,
               nbsConnectivityStatus  }
    STATUS      current
    DESCRIPTION
       "Sent after the port goes up or down.

        This Notification is of severity ERROR, which means it should
        be emitted unless disabled or nbsCmmcSysTrapTblEntLevel is set
        to a severity worse than error(3)."
    ::= { nbsConnectivityEvent 10 }

END