summaryrefslogtreecommitdiff
path: root/MIBS/peplink/IPSEC-VPN
blob: 209378cd99542ad61a05d695dd93bf6aa4931979 (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
-- ********************************************************************
	IPSEC-VPN DEFINITIONS ::= BEGIN
		IMPORTS
			OBJECT-GROUP
				FROM SNMPv2-CONF
			enterprises, Integer32, IpAddress,Unsigned32, Counter64, OBJECT-TYPE, MODULE-IDENTITY
				FROM SNMPv2-SMI
			DisplayString, RowStatus, TruthValue, MacAddress
				FROM SNMPv2-TC;
--
-- Node definitions
--
-- ********************************************************************
-- *  MODULE IDENTITY
-- ********************************************************************
-- The Enterprises Number
	peplink OBJECT IDENTIFIER ::= { enterprises 23695 }

	productMib  OBJECT IDENTIFIER ::= { peplink 200 }

	generalMib OBJECT IDENTIFIER ::= { productMib 1 }

	ipsecVpnMib MODULE-IDENTITY
		LAST-UPDATED "201812181200Z"	-- 12 18, 2018 at 12:00 GMT
		ORGANIZATION "PEPLINK"
		CONTACT-INFO ""
		DESCRIPTION
			"MIB module for IPSEC-VPN."
		::= { generalMib 13 }

-- **********************************************************************
-- *  Table
-- **********************************************************************
	ipsecVpnStatusTable OBJECT-TYPE
		SYNTAX SEQUENCE OF IpsecVpnStatusEntry
		MAX-ACCESS not-accessible
		STATUS current
		DESCRIPTION
			"IPsec VPN status table"
		::= { ipsecVpnMib 1 }

		ipsecVpnStatusEntry OBJECT-TYPE
			SYNTAX IpsecVpnStatusEntry
			MAX-ACCESS not-accessible
			STATUS current
			DESCRIPTION
			"An entry in the ipsecVpnStatusTable"
			INDEX { ipsecVpnStatusId }
			::= { ipsecVpnStatusTable 1 }

		IpsecVpnStatusEntry ::=
		SEQUENCE {
			ipsecVpnStatusId
				Integer32,
			ipsecVpnStatusProfileName
				OCTET STRING,
			ipsecVpnStatusConnectionState
				INTEGER,
			ipsecVpnStatusWanName
				OCTET STRING
		}

		ipsecVpnStatusId OBJECT-TYPE
			SYNTAX Integer32
			MAX-ACCESS read-only
			STATUS current
			DESCRIPTION
				"IPsec VPN status ID."
			::= { ipsecVpnStatusEntry 1 }

		ipsecVpnStatusProfileName OBJECT-TYPE
			SYNTAX OCTET STRING
			MAX-ACCESS read-only
			STATUS current
			DESCRIPTION
				"IPsec VPN profile name."
			::= { ipsecVpnStatusEntry 2 }

		ipsecVpnStatusConnectionState OBJECT-TYPE
			SYNTAX INTEGER {
				standby(0),
				connecting(1),
				established(2),
				partially-established(3)
			}
			MAX-ACCESS read-only
			STATUS current
			DESCRIPTION
				"IPsec VPN connection state."
			::= { ipsecVpnStatusEntry 3 }

		ipsecVpnStatusWanName OBJECT-TYPE
			SYNTAX OCTET STRING
			MAX-ACCESS read-only
			STATUS current
			DESCRIPTION
				"IPsec VPN WAN name."
			::= { ipsecVpnStatusEntry 4 }

-- **********************************************************************
-- *  Table
-- **********************************************************************
	ipsecVpnRouteStatusTable OBJECT-TYPE
		SYNTAX SEQUENCE OF IpsecVpnRouteStatusEntry
		MAX-ACCESS not-accessible
		STATUS current
		DESCRIPTION
			"IPsec VPN route status table"
		::= { ipsecVpnMib 2 }

		ipsecVpnRouteStatusEntry OBJECT-TYPE
			SYNTAX IpsecVpnRouteStatusEntry
			MAX-ACCESS not-accessible
			STATUS current
			DESCRIPTION
			"An entry in the ipsecVpnRouteStatusTable"
			INDEX { ipsecVpnStatusId, ipsecVpnRouteStatusId }
			::= { ipsecVpnRouteStatusTable 1 }

		IpsecVpnRouteStatusEntry ::=
		SEQUENCE {
			ipsecVpnRouteStatusId
				Integer32,
			ipsecVpnRouteState
				INTEGER,
			ipsecVpnRouteStatusLocalNetwork
				IpAddress,
			ipsecVpnRouteStatusLocalSubnet
				IpAddress,
			ipsecVpnRouteStatusRemoteNetwork
				IpAddress,
			ipsecVpnRouteStatusRemoteSubnet
				IpAddress
		}

		ipsecVpnRouteStatusId OBJECT-TYPE
			SYNTAX Integer32
			MAX-ACCESS read-only
			STATUS current
			DESCRIPTION
				"IPsec VPN route status ID."
			::= { ipsecVpnRouteStatusEntry 1 }

		ipsecVpnRouteState OBJECT-TYPE
			SYNTAX INTEGER {
				down(0),
				up(1),
				standby(2)
			}
			MAX-ACCESS read-only
			STATUS current
			DESCRIPTION
				"IPsec VPN route state."
			::= { ipsecVpnRouteStatusEntry 2 }

		ipsecVpnRouteStatusLocalNetwork OBJECT-TYPE
			SYNTAX IpAddress
			MAX-ACCESS read-only
			STATUS current
			DESCRIPTION
				"IPsec VPN route local network."
			::= { ipsecVpnRouteStatusEntry 3 }

		ipsecVpnRouteStatusLocalSubnet OBJECT-TYPE
			SYNTAX IpAddress
			MAX-ACCESS read-only
			STATUS current
			DESCRIPTION
				"IPsec VPN route local subnet."
			::= { ipsecVpnRouteStatusEntry 4 }

		ipsecVpnRouteStatusRemoteNetwork OBJECT-TYPE
			SYNTAX IpAddress
			MAX-ACCESS read-only
			STATUS current
			DESCRIPTION
				"IPsec VPN route remote network."
			::= { ipsecVpnRouteStatusEntry 5 }

		ipsecVpnRouteStatusRemoteSubnet OBJECT-TYPE
			SYNTAX IpAddress
			MAX-ACCESS read-only
			STATUS current
			DESCRIPTION
				"IPsec VPN route remote subnet."
			::= { ipsecVpnRouteStatusEntry 6 }
END