summaryrefslogtreecommitdiff
path: root/MIBS/transition/TN-MIRRORING-MIB
blob: 080bd6615fbf402591993a3a60b70a0ff2970048 (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
-- *****************************************************************
-- TN-MIRRORING-MIB
--
-- Copyright (c) 2012, Transition Networks Inc.
-- All rights reserved.
-- *****************************************************************
--
TN-MIRRORING-MIB DEFINITIONS ::= BEGIN

IMPORTS
    MODULE-IDENTITY,
    OBJECT-TYPE,
    NOTIFICATION-TYPE,
    Integer32   FROM SNMPv2-SMI
    NOTIFICATION-GROUP  FROM SNMPv2-CONF
    TEXTUAL-CONVENTION, TimeStamp,
    RowStatus, TruthValue  FROM SNMPv2-TC
    entPhysicalIndex  FROM ENTITY-MIB
    tnProducts FROM TRANSITION-SMI
    ifIndex, InterfaceIndex FROM IF-MIB;

tnMirroringMIB MODULE-IDENTITY
        LAST-UPDATED "201207270000Z"
    ORGANIZATION "Transition Networks, Inc."
    CONTACT-INFO
        "Transition Networks
        Technical Support

        10900 Red Circle Drive
        Minnetonka, MN 55343 USA
        Tel: +1-800-526-9267

            E-mail: techsupport@transition.com"
    DESCRIPTION
        "The mib module for mirroring between the source mirroring ports and
        the destination port."

        REVISION "201208060000Z"    -- 6 August, 2012
        DESCRIPTION
        "Initial Revision of this module"

    ::= { tnProducts 25 }

tnMirroringMIBObjects
        OBJECT IDENTIFIER ::= { tnMirroringMIB 1 }

tnMirroringMIBNotifications
        OBJECT IDENTIFIER ::= { tnMirroringMIB 2 }

--
-- Textual Conventions
--



--
-- MIB variables
--

tnMirroringMgmt
    OBJECT IDENTIFIER ::= { tnMirroringMIBObjects 1 }



--
-- tnMirroringGroupTable
--

tnMirroringGroupTable OBJECT-TYPE
    SYNTAX        SEQUENCE OF TnMirroringGroupEntry
    MAX-ACCESS    not-accessible
    STATUS        current
    DESCRIPTION
        "This table is for user to configure a mirroring group."
    ::= { tnMirroringMgmt 1 }

tnMirroringGroupEntry OBJECT-TYPE
    SYNTAX        TnMirroringGroupEntry
    MAX-ACCESS    not-accessible
    STATUS        current
    DESCRIPTION
        "Each entry represents a mirroring group, devices which don't
        support groups will have a only one default entry."
    INDEX { tnMirroringGroupID }
    ::= { tnMirroringGroupTable 1 }

TnMirroringGroupEntry ::= SEQUENCE {
    tnMirroringGroupID             INTEGER,
    tnMirroringGroupDestIfIndex    InterfaceIndex
    }

tnMirroringGroupID OBJECT-TYPE
    SYNTAX INTEGER
    MAX-ACCESS read-only
    STATUS current
    DESCRIPTION
        "The value identifies the mirroring group. The default ID is 1"
    ::= { tnMirroringGroupEntry 1 }

tnMirroringGroupDestIfIndex OBJECT-TYPE
    SYNTAX InterfaceIndex
    MAX-ACCESS read-write
    STATUS current
    DESCRIPTION
        "The ifIndex of the mirror port which receives the mirrored
        traffic from other ports"
    ::= { tnMirroringGroupEntry 2 }



--
-- tnMirroringIfTable
--

tnMirroringIfTable OBJECT-TYPE
    SYNTAX        SEQUENCE OF TnMirroringIfEntry
    MAX-ACCESS    not-accessible
    STATUS        current
    DESCRIPTION
        "This table lets user to configure the source mirroring ports
        which are monitored by the destination port defined in
        the mirroring group."
    ::= { tnMirroringMgmt 2 }

tnMirroringIfEntry OBJECT-TYPE
    SYNTAX        TnMirroringIfEntry
    MAX-ACCESS    not-accessible
    STATUS        current
    DESCRIPTION
        "The entry lists all source mirroring ports."
    INDEX { ifIndex }
    ::= { tnMirroringIfTable 1 }

TnMirroringIfEntry ::= SEQUENCE {
    tnMirroringIfGroupID    INTEGER,
    tnMirroringIfMode         INTEGER
    }

tnMirroringIfGroupID OBJECT-TYPE
    SYNTAX     INTEGER
    MAX-ACCESS read-write
    STATUS     current
    DESCRIPTION
        "The mirroring group which current mirroring port belongs to."
    ::= { tnMirroringIfEntry 1 }

tnMirroringIfMode OBJECT-TYPE
    SYNTAX     INTEGER { none(0), onlyTx(10), onlyRx(20), bothTxRx(30) }
    MAX-ACCESS read-write
    STATUS     current
    DESCRIPTION
        "The mirroring mode.  Valid values are:
        none(0)      : Mirror nothing.
        onlyTx(10)   : Mirror the transmitted frames only.
        onlyRx(20)   : Mirror the received frames only.
        bothTxRx(30) : Mirror both of transmitted and received frames."
    ::= { tnMirroringIfEntry 2 }


--
-- Notifications
--

END