summaryrefslogtreecommitdiff
path: root/MIBS/peplink/GRE
blob: 0924eca32ca4eb73f3f351ded2c5020c922326bf (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
-- ********************************************************************
        GRE DEFINITIONS ::= BEGIN

                IMPORTS
                        OBJECT-GROUP
                                FROM SNMPv2-CONF
                        enterprises, IpAddress, Unsigned32, Counter64, OBJECT-TYPE, MODULE-IDENTITY
                                FROM SNMPv2-SMI
                        DisplayString, RowStatus, TruthValue, MacAddress
                                FROM SNMPv2-TC;
--
-- Node definitions
--
-- ********************************************************************
-- *  MODULE IDENTITY
-- ********************************************************************
		peplink OBJECT IDENTIFIER ::= { enterprises 23695 }

		productMib  OBJECT IDENTIFIER ::= { peplink 200 }

		generalMib OBJECT IDENTIFIER ::= { productMib 1 }

		greMib OBJECT IDENTIFIER ::= { generalMib 11 }

		greInfo MODULE-IDENTITY
		   		LAST-UPDATED "201502110000Z"		-- 02 11, 2015 at 12:00 GMT
				ORGANIZATION "PEPLINK"
		               	CONTACT-INFO ""
			    	DESCRIPTION
					    "MIB module for GRE."
			::= { greMib 1 }

-- **********************************************************************
-- *  Table
-- **********************************************************************
		greStatusTable OBJECT-TYPE
			SYNTAX SEQUENCE OF GreStatusEntry
			MAX-ACCESS not-accessible
			STATUS current
			DESCRIPTION
				"GRE status table"
			::= { greInfo 1 }

			greStatusEntry OBJECT-TYPE
				SYNTAX GreStatusEntry
				MAX-ACCESS not-accessible
				STATUS current
				DESCRIPTION
					"An entry in the greStatusTable"
				INDEX { greStatusId }
				::= { greStatusTable 1 }

			GreStatusEntry ::=
			SEQUENCE {
				greStatusId
					INTEGER,
				greStatusProfileName
					OCTET STRING,
				greStatusConnectionState
					INTEGER,
				greStatusLocalIpAddress
					IpAddress,
				greStatusRemoteIpAddress
					IpAddress,
				greStatusTunnelLocalIpAddress
					IpAddress,
				greStatusTunnelRemoteIpAddress
					IpAddress
			}

			greStatusId OBJECT-TYPE
				SYNTAX INTEGER
				MAX-ACCESS read-only
				STATUS current
				DESCRIPTION
					"GRE ID."
				::= { greStatusEntry 1 }

			greStatusProfileName OBJECT-TYPE
				SYNTAX OCTET STRING (SIZE (1..32))
				MAX-ACCESS read-only
				STATUS current
				DESCRIPTION
					"GRE profile name."
				::= { greStatusEntry 2 }

			greStatusConnectionState OBJECT-TYPE
				SYNTAX INTEGER {
					disconnected(0),
					connected(1),
					connecting(2)
				}
				MAX-ACCESS read-only
				STATUS current
				DESCRIPTION
					"GRE connection state."
				::= { greStatusEntry 3 }

			greStatusLocalIpAddress OBJECT-TYPE
				SYNTAX IpAddress
				MAX-ACCESS read-only
				STATUS current
				DESCRIPTION
					"GRE local IP."
				::= { greStatusEntry 4 }

			greStatusRemoteIpAddress OBJECT-TYPE
				SYNTAX IpAddress
				MAX-ACCESS read-only
				STATUS current
				DESCRIPTION
					"GRE remote IP."
				::= { greStatusEntry 5 }

			greStatusTunnelLocalIpAddress OBJECT-TYPE
				SYNTAX IpAddress
				MAX-ACCESS read-only
				STATUS current
				DESCRIPTION
					"GRE tunnel local IP."
				::= { greStatusEntry 6 }

			greStatusTunnelRemoteIpAddress OBJECT-TYPE
				SYNTAX IpAddress
				MAX-ACCESS read-only
				STATUS current
				DESCRIPTION
					"GRE tunnel remote IP."
				::= { greStatusEntry 7 }

-- **********************************************************************
-- *  Table
-- **********************************************************************
		greStatusRemoteNetworkTable OBJECT-TYPE
			SYNTAX SEQUENCE OF GreStatusRemoteNetworkEntry
			MAX-ACCESS not-accessible
			STATUS current
			DESCRIPTION
				"GRE status remote network table"
			::= { greInfo 2 }

			greStatusRemoteNetworkEntry OBJECT-TYPE
				SYNTAX GreStatusRemoteNetworkEntry
				MAX-ACCESS not-accessible
				STATUS current
				DESCRIPTION
					"An entry in the greStatusRemoteNetworkTable"
				INDEX { greStatusId, greStatusRemoteNetworkId }
				::= { greStatusRemoteNetworkTable 1 }

			GreStatusRemoteNetworkEntry ::=
			SEQUENCE {
				greStatusRemoteNetworkId
					INTEGER,
				greStatusRemoteNetwork
					IpAddress,
				greStatusRemoteSubnet
					IpAddress
			}

			greStatusRemoteNetworkId OBJECT-TYPE
				SYNTAX INTEGER
				MAX-ACCESS read-only
				STATUS current
				DESCRIPTION
					"GRE remote network ID."
				::= { greStatusRemoteNetworkEntry 1 }

			greStatusRemoteNetwork OBJECT-TYPE
				SYNTAX IpAddress
				MAX-ACCESS read-only
				STATUS current
				DESCRIPTION
					"GRE remote network IP."
				::= { greStatusRemoteNetworkEntry 2 }

			greStatusRemoteSubnet OBJECT-TYPE
				SYNTAX IpAddress
				MAX-ACCESS read-only
				STATUS current
				DESCRIPTION
					"GRE remote network subnet."
				::= { greStatusRemoteNetworkEntry 3 }
END