oxidized 0.30.1 → 0.31.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/ruby.yml +2 -2
- data/.github/workflows/stale.yml +4 -2
- data/.rubocop.yml +18 -2
- data/.rubocop_todo.yml +5 -12
- data/CHANGELOG.md +61 -1
- data/CONTRIBUTING.md +5 -0
- data/Dockerfile +82 -21
- data/README.md +5 -21
- data/Rakefile +3 -2
- data/docs/Configuration.md +36 -12
- data/docs/Creating-Models.md +45 -4
- data/docs/Hooks.md +34 -0
- data/docs/Issues.md +91 -0
- data/docs/Model-Notes/Cumulus.md +5 -0
- data/docs/Model-Notes/FSOS.md +5 -0
- data/docs/Model-Notes/FortiOS.md +21 -5
- data/docs/Model-Notes/HPEAruba.md +31 -0
- data/docs/Model-Notes/OS6.md +10 -0
- data/docs/Model-Notes/RouterOS.md +15 -0
- data/docs/Model-Notes/SikluMHTG.md +7 -0
- data/docs/Outputs.md +2 -0
- data/docs/Release.md +18 -15
- data/docs/Sources.md +21 -0
- data/docs/Supported-OS-Types.md +11 -5
- data/docs/Troubleshooting.md +35 -0
- data/examples/device-simulation/README.md +173 -0
- data/examples/device-simulation/cmdsets/aoscx +9 -0
- data/examples/device-simulation/cmdsets/arubainstant +5 -0
- data/examples/device-simulation/cmdsets/asa +7 -0
- data/examples/device-simulation/cmdsets/ios +7 -0
- data/examples/device-simulation/cmdsets/nxos +5 -0
- data/examples/device-simulation/cmdsets/routeros +5 -0
- data/examples/device-simulation/cmdsets/srosmd +11 -0
- data/examples/device-simulation/device2yaml.rb +225 -0
- data/examples/device-simulation/yaml/aoscx_R0X25A-6410_FL.10.10.1100.yaml +2281 -0
- data/examples/device-simulation/yaml/aoscx_R8N85A-C6000-48G-CL4_PL.10.08.1010.yaml +451 -0
- data/examples/device-simulation/yaml/arubainstant_IAP515_8.10.0.6_VWLC.yaml +213 -0
- data/examples/device-simulation/yaml/asa_5512_9.12-4-67_single-context.yaml +531 -0
- data/examples/device-simulation/yaml/asr920_16.8.1b.yaml +1122 -0
- data/examples/device-simulation/yaml/garderos_R7709_003_006_068.yaml +101 -0
- data/examples/device-simulation/yaml/iosxe_C9200L-24P-4G_17.09.04a.yaml +514 -0
- data/examples/device-simulation/yaml/iosxe_C9800-L-F-K9_17.06.05.yaml +417 -0
- data/examples/device-simulation/yaml/riverbed_915.yaml +123 -0
- data/examples/device-simulation/yaml/routeros_CHR_7.10.1.yaml +145 -0
- data/examples/device-simulation/yaml/routeros_CHR_7.16.yaml +79 -0
- data/examples/device-simulation/yaml/routeros_L009UiGS_7.15.2.yaml +353 -0
- data/examples/podman-compose/Makefile +60 -17
- data/examples/podman-compose/README.md +63 -27
- data/examples/podman-compose/docker-compose.yml +11 -2
- data/examples/podman-compose/gitserver/.gitignore +1 -0
- data/examples/podman-compose/gitserver/Dockerfile +14 -0
- data/examples/podman-compose/model-simulation/Dockerfile-model +1 -1
- data/examples/podman-compose/model-simulation/asternos.sh +2 -0
- data/examples/podman-compose/oxidized-config/.gitignore +2 -0
- data/examples/podman-compose/oxidized-config/config +1 -1
- data/examples/podman-compose/oxidized-config/config_csv-file +46 -0
- data/examples/podman-compose/oxidized-config/config_csv-gitserver +56 -0
- data/examples/podman-compose/oxidized-ssh/.gitignore +1 -0
- data/lib/oxidized/config.rb +7 -1
- data/lib/oxidized/hook/githubrepo.rb +37 -7
- data/lib/oxidized/hook/slackdiff.rb +29 -7
- data/lib/oxidized/input/http.rb +1 -0
- data/lib/oxidized/input/telnet.rb +1 -1
- data/lib/oxidized/manager.rb +17 -16
- data/lib/oxidized/model/aoscx.rb +16 -2
- data/lib/oxidized/model/aosw.rb +7 -1
- data/lib/oxidized/model/arubainstant.rb +90 -0
- data/lib/oxidized/model/audiocodes.rb +2 -2
- data/lib/oxidized/model/cnos.rb +13 -10
- data/lib/oxidized/model/cumulus.rb +3 -0
- data/lib/oxidized/model/dlink.rb +1 -0
- data/lib/oxidized/model/dlinknextgen.rb +3 -0
- data/lib/oxidized/model/edgecos.rb +2 -1
- data/lib/oxidized/model/eos.rb +2 -0
- data/lib/oxidized/model/f5os.rb +17 -0
- data/lib/oxidized/model/firewareos.rb +10 -1
- data/lib/oxidized/model/fortios.rb +24 -1
- data/lib/oxidized/model/garderos.rb +43 -0
- data/lib/oxidized/model/h3c.rb +1 -1
- data/lib/oxidized/model/ibos.rb +1 -0
- data/lib/oxidized/model/ios.rb +20 -12
- data/lib/oxidized/model/iosxr.rb +1 -1
- data/lib/oxidized/model/lenovonos.rb +2 -0
- data/lib/oxidized/model/linuxgeneric.rb +1 -1
- data/lib/oxidized/model/netgear.rb +1 -1
- data/lib/oxidized/model/nodegrid.rb +1 -1
- data/lib/oxidized/model/nsxdfw.rb +30 -0
- data/lib/oxidized/model/nxos.rb +2 -1
- data/lib/oxidized/model/os6.rb +48 -0
- data/lib/oxidized/model/rgos.rb +1 -1
- data/lib/oxidized/model/riverbed.rb +104 -0
- data/lib/oxidized/model/routeros.rb +2 -2
- data/lib/oxidized/model/saos.rb +18 -1
- data/lib/oxidized/model/siklumhtg.rb +22 -0
- data/lib/oxidized/model/uplinkolt.rb +46 -0
- data/lib/oxidized/model/vyatta.rb +2 -2
- data/lib/oxidized/model/xos.rb +7 -0
- data/lib/oxidized/node.rb +30 -18
- data/lib/oxidized/nodes.rb +13 -5
- data/lib/oxidized/output/file.rb +45 -42
- data/lib/oxidized/output/git.rb +185 -160
- data/lib/oxidized/output/gitcrypt.rb +188 -186
- data/lib/oxidized/output/http.rb +53 -51
- data/lib/oxidized/output/output.rb +6 -4
- data/lib/oxidized/source/csv.rb +44 -49
- data/lib/oxidized/source/http.rb +63 -81
- data/lib/oxidized/source/jsonfile.rb +63 -0
- data/lib/oxidized/source/source.rb +43 -18
- data/lib/oxidized/source/sql.rb +66 -59
- data/lib/oxidized/version.rb +2 -2
- data/oxidized.gemspec +22 -16
- metadata +111 -15
@@ -0,0 +1,451 @@
|
|
1
|
+
---
|
2
|
+
init_prompt: |-
|
3
|
+
|
4
|
+
Last login: 2024-10-21 06:01:45 from 10.42.0.7
|
5
|
+
User \"oxidized\" has logged in 18 times in the past 30 days
|
6
|
+
OX-SW123#\x20
|
7
|
+
commands:
|
8
|
+
no page: |-
|
9
|
+
no page
|
10
|
+
OX-SW123#\x20
|
11
|
+
show version: |-
|
12
|
+
show version
|
13
|
+
-----------------------------------------------------------------------------
|
14
|
+
ArubaOS-CX
|
15
|
+
(c) Copyright 2017-2021 Hewlett Packard Enterprise Development LP
|
16
|
+
-----------------------------------------------------------------------------
|
17
|
+
Version : PL.10.08.1010 \x20
|
18
|
+
Build Date : 2021-09-21 14:53:08 UTC \x20
|
19
|
+
Build ID : ArubaOS-CX:PL.10.08.1010:51920eb359ca:202109211429 \x20
|
20
|
+
Build SHA : 51920eb359caf6584f995926dea7a99242bab059 \x20
|
21
|
+
Active Image : primary \x20
|
22
|
+
|
23
|
+
Service OS Version : PL.01.09.0003 \x20
|
24
|
+
BIOS Version : PL.02.0002 \x20
|
25
|
+
OX-SW123#\x20
|
26
|
+
show environment: |-
|
27
|
+
show environment
|
28
|
+
show environment fan
|
29
|
+
Fan information
|
30
|
+
---------------------------------------------------------------------------
|
31
|
+
Mbr/Fan Product Serial Number Speed Direction Status RPM
|
32
|
+
Name
|
33
|
+
---------------------------------------------------------------------------
|
34
|
+
1/1 N/A N/A N/A left-to-right ok N/A\x20
|
35
|
+
1/2 N/A N/A N/A left-to-right ok N/A\x20
|
36
|
+
|
37
|
+
|
38
|
+
|
39
|
+
show environment led
|
40
|
+
Mbr/Name State Status \x20
|
41
|
+
----------------------------------
|
42
|
+
1/locator off ok \x20
|
43
|
+
|
44
|
+
|
45
|
+
show environment power-supply
|
46
|
+
------------------------------------------------------------------------------
|
47
|
+
Product Serial PSU Input Voltage Wattage
|
48
|
+
Mbr/PSU Number Number Status Type Range Maximum
|
49
|
+
------------------------------------------------------------------------------
|
50
|
+
1/1 N/A N/A OK -- -- 460
|
51
|
+
|
52
|
+
|
53
|
+
|
54
|
+
show environment temperature
|
55
|
+
Temperature information
|
56
|
+
------------------------------------------------------------------------------
|
57
|
+
Current
|
58
|
+
Mbr/Slot-Sensor Module Type temperature Status
|
59
|
+
------------------------------------------------------------------------------
|
60
|
+
1/1-PHY-01-08 line-card-module 49.00 C normal
|
61
|
+
1/1-PHY-09-16 line-card-module 49.00 C normal
|
62
|
+
1/1-PHY-17-24 line-card-module 46.00 C normal
|
63
|
+
1/1-PHY-25-32 line-card-module 47.00 C normal
|
64
|
+
1/1-PHY-33-40 line-card-module 47.00 C normal
|
65
|
+
1/1-PHY-41-48 line-card-module 46.00 C normal
|
66
|
+
|
67
|
+
1/1-Inlet-Air management-module 27.75 C normal
|
68
|
+
1/1-Switch-ASIC-Internal management-module 50.38 C normal
|
69
|
+
1/1-Switch-CPU-1 management-module 49.88 C normal
|
70
|
+
1/1-Switch-CPU-2 management-module 50.88 C normal
|
71
|
+
|
72
|
+
OX-SW123#\x20
|
73
|
+
show module: |-
|
74
|
+
show module
|
75
|
+
|
76
|
+
Management Modules
|
77
|
+
==================
|
78
|
+
|
79
|
+
Product Serial
|
80
|
+
Name Number Description Number Status
|
81
|
+
---- ------- -------------------------------------- ---------- ----------------
|
82
|
+
1/1 R8N85A 6000 48G CL4 4SFP Swch CN21FFFFFF Ready
|
83
|
+
|
84
|
+
|
85
|
+
Line Modules
|
86
|
+
============
|
87
|
+
|
88
|
+
Product Serial
|
89
|
+
Name Number Description Number Status
|
90
|
+
---- ------- -------------------------------------- ---------- ----------------
|
91
|
+
1/1 R8N85A 6000 48G CL4 4SFP Swch CN21FFFFFF Ready
|
92
|
+
|
93
|
+
|
94
|
+
OX-SW123#\x20
|
95
|
+
show interface transceiver: |-
|
96
|
+
show interface transceiver
|
97
|
+
No pluggable modules found.
|
98
|
+
OX-SW123#\x20
|
99
|
+
show system | exclude "Up Time" | exclude "CPU" | exclude "Memory" | exclude "Pkts .x" | exclude "Lowest" | exclude "Missed": |-
|
100
|
+
show system | exclude \"Up Time\" | exclude \"CPU\" | exclude \"Memory\" | e\rexclude \"Pkts .x\" | exclude \"Lowest\" | exclude \"Missed\"
|
101
|
+
Hostname : OX-SW123 \x20
|
102
|
+
System Description : PL.10.08.1010 \x20
|
103
|
+
System Contact : Oxidized_Admin \x20
|
104
|
+
System Location : Here or there
|
105
|
+
|
106
|
+
Vendor : Aruba \x20
|
107
|
+
Product Name : R8N85A 6000 48G CL4 4SFP Swch \x20
|
108
|
+
Chassis Serial Nbr : CN21FFFFFF \x20
|
109
|
+
Base MAC Address : 9460d5-ff00ff \x20
|
110
|
+
ArubaOS-CX Version : PL.10.08.1010 \x20
|
111
|
+
|
112
|
+
Time Zone : Europe/Berlin \x20
|
113
|
+
|
114
|
+
OX-SW123#\x20
|
115
|
+
show running-config: |-
|
116
|
+
show running-config
|
117
|
+
Current configuration:
|
118
|
+
!
|
119
|
+
!Version ArubaOS-CX PL.10.08.1010
|
120
|
+
!export-password: default
|
121
|
+
hostname OX-SW123
|
122
|
+
banner motd $
|
123
|
+
|
124
|
+
#########################################
|
125
|
+
|
126
|
+
Sample configuration provided by @robertcheramy
|
127
|
+
|
128
|
+
#########################################
|
129
|
+
|
130
|
+
$
|
131
|
+
user admin group administrators password ciphertext AAAAAAAAAABBBBBBBBBBCCCCCCCCCC
|
132
|
+
user oxidzed group administrators password ciphertext AAAAAAAAAABBBBBBBBBBCCCCCCCCCC
|
133
|
+
user operator group operators password ciphertext AAAAAAAAAABBBBBBBBBBCCCCCCCCCC
|
134
|
+
clock timezone europe/berlin
|
135
|
+
ntp server 10.42.0.2 prefer
|
136
|
+
ntp enable
|
137
|
+
!
|
138
|
+
!
|
139
|
+
!
|
140
|
+
!
|
141
|
+
tacacs-server host 10.42.0.11 key ciphertext AAAAAAAAAABBBBBBBBBBCCCCCCCCCC
|
142
|
+
tacacs-server host 10.42.0.12 key ciphertext AAAAAAAAAABBBBBBBBBBCCCCCCCCCC
|
143
|
+
!
|
144
|
+
!
|
145
|
+
aaa authentication login ssh group tacacs local
|
146
|
+
aaa authentication login default group tacacs local
|
147
|
+
aaa authentication login console group tacacs local
|
148
|
+
!
|
149
|
+
aruba-central
|
150
|
+
disable
|
151
|
+
ssh server vrf default
|
152
|
+
vlan 1
|
153
|
+
vlan 497
|
154
|
+
name MANAGEMENT
|
155
|
+
vlan 498
|
156
|
+
name OXIDIZED
|
157
|
+
vlan 499
|
158
|
+
name ROCKS
|
159
|
+
spanning-tree mode rpvst
|
160
|
+
spanning-tree
|
161
|
+
spanning-tree vlan 497-499
|
162
|
+
interface 1/1/1
|
163
|
+
no shutdown
|
164
|
+
description OXIDIZED
|
165
|
+
vlan access 498
|
166
|
+
spanning-tree bpdu-guard
|
167
|
+
spanning-tree port-type admin-edge
|
168
|
+
interface 1/1/2
|
169
|
+
no shutdown
|
170
|
+
vlan access 499
|
171
|
+
spanning-tree bpdu-guard
|
172
|
+
spanning-tree port-type admin-edge
|
173
|
+
interface 1/1/3
|
174
|
+
no shutdown
|
175
|
+
vlan access 1
|
176
|
+
spanning-tree bpdu-guard
|
177
|
+
spanning-tree port-type admin-edge
|
178
|
+
interface 1/1/4
|
179
|
+
no shutdown
|
180
|
+
vlan access 1
|
181
|
+
spanning-tree bpdu-guard
|
182
|
+
spanning-tree port-type admin-edge
|
183
|
+
interface 1/1/46
|
184
|
+
no shutdown
|
185
|
+
description skipping a lot of interfaces
|
186
|
+
vlan access 1
|
187
|
+
spanning-tree bpdu-guard
|
188
|
+
spanning-tree port-type admin-edge
|
189
|
+
interface 1/1/47
|
190
|
+
no shutdown
|
191
|
+
vlan access 1
|
192
|
+
spanning-tree bpdu-guard
|
193
|
+
spanning-tree port-type admin-edge
|
194
|
+
interface 1/1/48
|
195
|
+
no shutdown
|
196
|
+
no lldp trap enable
|
197
|
+
description Uplink
|
198
|
+
vlan trunk native 1
|
199
|
+
vlan trunk allowed 497-499
|
200
|
+
interface 1/1/49
|
201
|
+
no shutdown
|
202
|
+
vlan access 1
|
203
|
+
interface 1/1/50
|
204
|
+
no shutdown
|
205
|
+
vlan access 1
|
206
|
+
interface 1/1/51
|
207
|
+
no shutdown
|
208
|
+
vlan access 1
|
209
|
+
interface 1/1/52
|
210
|
+
no shutdown
|
211
|
+
vlan access 1
|
212
|
+
interface vlan 1
|
213
|
+
ip dhcp
|
214
|
+
interface vlan 497
|
215
|
+
ip address 10.0.42.2/29
|
216
|
+
snmp-server vrf default
|
217
|
+
snmp-server system-location Here or there
|
218
|
+
snmp-server system-contact Oxidized_Admin
|
219
|
+
snmp-server community oxidized
|
220
|
+
access-level rw
|
221
|
+
ip route 0.0.0.0/0 10.0.42.1
|
222
|
+
!
|
223
|
+
!
|
224
|
+
!
|
225
|
+
!
|
226
|
+
!
|
227
|
+
https-server vrf default
|
228
|
+
OX-SW123#\x20
|
229
|
+
show system: |-
|
230
|
+
show system
|
231
|
+
Hostname : OX-SW123 \x20
|
232
|
+
System Description : PL.10.08.1010 \x20
|
233
|
+
System Contact : Oxidized_Admin \x20
|
234
|
+
System Location : Here or there
|
235
|
+
|
236
|
+
Vendor : Aruba \x20
|
237
|
+
Product Name : R8N85A 6000 48G CL4 4SFP Swch \x20
|
238
|
+
Chassis Serial Nbr : CN21FFFFFF \x20
|
239
|
+
Base MAC Address : 9460d5-ff00ff \x20
|
240
|
+
ArubaOS-CX Version : PL.10.08.1010 \x20
|
241
|
+
|
242
|
+
Time Zone : Europe/Berlin \x20
|
243
|
+
|
244
|
+
Up Time : 51 weeks, 5 days, 17 hours, 17 minutes \x20
|
245
|
+
CPU Util (%) : 3 \x20
|
246
|
+
Memory Usage (%) : 29 \x20
|
247
|
+
OX-SW123#\x20
|
248
|
+
exit: |-
|
249
|
+
exit
|
250
|
+
oxidized_output: |
|
251
|
+
! -----------------------------------------------------------------------------
|
252
|
+
! ArubaOS-CX
|
253
|
+
! (c) Copyright 2017-2021 Hewlett Packard Enterprise Development LP
|
254
|
+
! -----------------------------------------------------------------------------
|
255
|
+
! Version : PL.10.08.1010 \x20
|
256
|
+
! Build Date : 2021-09-21 14:53:08 UTC \x20
|
257
|
+
! Build ID : ArubaOS-CX:PL.10.08.1010:51920eb359ca:202109211429 \x20
|
258
|
+
! Build SHA : 51920eb359caf6584f995926dea7a99242bab059 \x20
|
259
|
+
! Active Image : primary \x20
|
260
|
+
!\x20
|
261
|
+
! Service OS Version : PL.01.09.0003 \x20
|
262
|
+
! BIOS Version : PL.02.0002 \x20
|
263
|
+
! show environment fan
|
264
|
+
! Fan information
|
265
|
+
! ---------------------------------------------------------------------------
|
266
|
+
! Mbr/Fan Product Serial Number Speed Direction Status RPM
|
267
|
+
! Name
|
268
|
+
! ---------------------------------------------------------------------------
|
269
|
+
! 1/1 N/A N/A N/A left-to-right ok N/A\x20
|
270
|
+
! 1/2 N/A N/A N/A left-to-right ok N/A\x20
|
271
|
+
!\x20
|
272
|
+
!\x20
|
273
|
+
!\x20
|
274
|
+
! show environment led
|
275
|
+
! Mbr/Name State Status \x20
|
276
|
+
! ----------------------------------
|
277
|
+
! 1/locator off ok \x20
|
278
|
+
!\x20
|
279
|
+
!\x20
|
280
|
+
! show environment power-supply
|
281
|
+
! ------------------------------------------------------------------------------
|
282
|
+
! Product Serial PSU Input Voltage Wattage
|
283
|
+
! Mbr/PSU Number Number Status Type Range Maximum
|
284
|
+
! ------------------------------------------------------------------------------
|
285
|
+
! 1/1 N/A N/A OK -- -- 460
|
286
|
+
!\x20
|
287
|
+
!\x20
|
288
|
+
!\x20
|
289
|
+
! show environment temperature
|
290
|
+
! Temperature information
|
291
|
+
! ------------------------------------------------------------------------------
|
292
|
+
! Current
|
293
|
+
! Mbr/Slot-Sensor Module Type temperature Status
|
294
|
+
! ------------------------------------------------------------------------------
|
295
|
+
! 1/1-PHY-01-08 line-card-module <hidden> normal
|
296
|
+
! 1/1-PHY-09-16 line-card-module <hidden> normal
|
297
|
+
! 1/1-PHY-17-24 line-card-module <hidden> normal
|
298
|
+
! 1/1-PHY-25-32 line-card-module <hidden> normal
|
299
|
+
! 1/1-PHY-33-40 line-card-module <hidden> normal
|
300
|
+
! 1/1-PHY-41-48 line-card-module <hidden> normal
|
301
|
+
!\x20
|
302
|
+
! 1/1-Inlet-Air management-module <hidden> normal
|
303
|
+
! 1/1-Switch-ASIC-Internal management-module <hidden> normal
|
304
|
+
! 1/1-Switch-CPU-1 management-module <hidden> normal
|
305
|
+
! 1/1-Switch-CPU-2 management-module <hidden> normal
|
306
|
+
!\x20
|
307
|
+
!\x20
|
308
|
+
! Management Modules
|
309
|
+
! ==================
|
310
|
+
!\x20
|
311
|
+
! Product Serial
|
312
|
+
! Name Number Description Number Status
|
313
|
+
! ---- ------- -------------------------------------- ---------- ----------------
|
314
|
+
! 1/1 R8N85A 6000 48G CL4 4SFP Swch CN21FFFFFF Ready
|
315
|
+
!\x20
|
316
|
+
!\x20
|
317
|
+
! Line Modules
|
318
|
+
! ============
|
319
|
+
!\x20
|
320
|
+
! Product Serial
|
321
|
+
! Name Number Description Number Status
|
322
|
+
! ---- ------- -------------------------------------- ---------- ----------------
|
323
|
+
! 1/1 R8N85A 6000 48G CL4 4SFP Swch CN21FFFFFF Ready
|
324
|
+
!\x20
|
325
|
+
!\x20
|
326
|
+
! No pluggable modules found.
|
327
|
+
! Hostname : OX-SW123 \x20
|
328
|
+
! System Description : PL.10.08.1010 \x20
|
329
|
+
! System Contact : Oxidized_Admin \x20
|
330
|
+
! System Location : Here or there
|
331
|
+
!\x20
|
332
|
+
! Vendor : Aruba \x20
|
333
|
+
! Product Name : R8N85A 6000 48G CL4 4SFP Swch \x20
|
334
|
+
! Chassis Serial Nbr : CN21FFFFFF \x20
|
335
|
+
! Base MAC Address : 9460d5-ff00ff \x20
|
336
|
+
! ArubaOS-CX Version : PL.10.08.1010 \x20
|
337
|
+
!\x20
|
338
|
+
! Time Zone : Europe/Berlin \x20
|
339
|
+
!\x20
|
340
|
+
Current configuration:
|
341
|
+
!
|
342
|
+
!Version ArubaOS-CX PL.10.08.1010
|
343
|
+
!export-password: default
|
344
|
+
hostname OX-SW123
|
345
|
+
banner motd $
|
346
|
+
|
347
|
+
#########################################
|
348
|
+
|
349
|
+
Sample configuration provided by @robertcheramy
|
350
|
+
|
351
|
+
#########################################
|
352
|
+
|
353
|
+
$
|
354
|
+
user admin group administrators password ciphertext AAAAAAAAAABBBBBBBBBBCCCCCCCCCC
|
355
|
+
user oxidzed group administrators password ciphertext AAAAAAAAAABBBBBBBBBBCCCCCCCCCC
|
356
|
+
user operator group operators password ciphertext AAAAAAAAAABBBBBBBBBBCCCCCCCCCC
|
357
|
+
clock timezone europe/berlin
|
358
|
+
ntp server 10.42.0.2 prefer
|
359
|
+
ntp enable
|
360
|
+
!
|
361
|
+
!
|
362
|
+
!
|
363
|
+
!
|
364
|
+
tacacs-server host 10.42.0.11 key ciphertext AAAAAAAAAABBBBBBBBBBCCCCCCCCCC
|
365
|
+
tacacs-server host 10.42.0.12 key ciphertext AAAAAAAAAABBBBBBBBBBCCCCCCCCCC
|
366
|
+
!
|
367
|
+
!
|
368
|
+
aaa authentication login ssh group tacacs local
|
369
|
+
aaa authentication login default group tacacs local
|
370
|
+
aaa authentication login console group tacacs local
|
371
|
+
!
|
372
|
+
aruba-central
|
373
|
+
disable
|
374
|
+
ssh server vrf default
|
375
|
+
vlan 1
|
376
|
+
vlan 497
|
377
|
+
name MANAGEMENT
|
378
|
+
vlan 498
|
379
|
+
name OXIDIZED
|
380
|
+
vlan 499
|
381
|
+
name ROCKS
|
382
|
+
spanning-tree mode rpvst
|
383
|
+
spanning-tree
|
384
|
+
spanning-tree vlan 497-499
|
385
|
+
interface 1/1/1
|
386
|
+
no shutdown
|
387
|
+
description OXIDIZED
|
388
|
+
vlan access 498
|
389
|
+
spanning-tree bpdu-guard
|
390
|
+
spanning-tree port-type admin-edge
|
391
|
+
interface 1/1/2
|
392
|
+
no shutdown
|
393
|
+
vlan access 499
|
394
|
+
spanning-tree bpdu-guard
|
395
|
+
spanning-tree port-type admin-edge
|
396
|
+
interface 1/1/3
|
397
|
+
no shutdown
|
398
|
+
vlan access 1
|
399
|
+
spanning-tree bpdu-guard
|
400
|
+
spanning-tree port-type admin-edge
|
401
|
+
interface 1/1/4
|
402
|
+
no shutdown
|
403
|
+
vlan access 1
|
404
|
+
spanning-tree bpdu-guard
|
405
|
+
spanning-tree port-type admin-edge
|
406
|
+
interface 1/1/46
|
407
|
+
no shutdown
|
408
|
+
description skipping a lot of interfaces
|
409
|
+
vlan access 1
|
410
|
+
spanning-tree bpdu-guard
|
411
|
+
spanning-tree port-type admin-edge
|
412
|
+
interface 1/1/47
|
413
|
+
no shutdown
|
414
|
+
vlan access 1
|
415
|
+
spanning-tree bpdu-guard
|
416
|
+
spanning-tree port-type admin-edge
|
417
|
+
interface 1/1/48
|
418
|
+
no shutdown
|
419
|
+
no lldp trap enable
|
420
|
+
description Uplink
|
421
|
+
vlan trunk native 1
|
422
|
+
vlan trunk allowed 497-499
|
423
|
+
interface 1/1/49
|
424
|
+
no shutdown
|
425
|
+
vlan access 1
|
426
|
+
interface 1/1/50
|
427
|
+
no shutdown
|
428
|
+
vlan access 1
|
429
|
+
interface 1/1/51
|
430
|
+
no shutdown
|
431
|
+
vlan access 1
|
432
|
+
interface 1/1/52
|
433
|
+
no shutdown
|
434
|
+
vlan access 1
|
435
|
+
interface vlan 1
|
436
|
+
ip dhcp
|
437
|
+
interface vlan 497
|
438
|
+
ip address 10.0.42.2/29
|
439
|
+
snmp-server vrf default
|
440
|
+
snmp-server system-location Here or there
|
441
|
+
snmp-server system-contact Oxidized_Admin
|
442
|
+
snmp-server community oxidized
|
443
|
+
access-level rw
|
444
|
+
ip route 0.0.0.0/0 10.0.42.1
|
445
|
+
!
|
446
|
+
!
|
447
|
+
!
|
448
|
+
!
|
449
|
+
!
|
450
|
+
https-server vrf default
|
451
|
+
|
@@ -0,0 +1,213 @@
|
|
1
|
+
---
|
2
|
+
init_prompt: |-
|
3
|
+
|
4
|
+
show tech-support and show tech-support supplemental are the two most useful outputs to collect for any kind of troubleshooting session.
|
5
|
+
|
6
|
+
OXRO-AP111117#\x20
|
7
|
+
commands:
|
8
|
+
show version: |-
|
9
|
+
show version
|
10
|
+
Aruba Operating System Software.
|
11
|
+
ArubaOS (MODEL: 515), Version 8.10.0.6 LSR
|
12
|
+
Website: http://www.arubanetworks.com
|
13
|
+
(c) Copyright 2023 Hewlett Packard Enterprise Development LP.
|
14
|
+
Compiled on 2023-02-14 at 18:20:29 PST (build 86193) by jenkins
|
15
|
+
FIPS Mode :disabled
|
16
|
+
|
17
|
+
AP uptime is 2 days 16 hours 32 minutes 26 seconds
|
18
|
+
Reboot Time and Cause: AP rebooted Fri Nov 15 14:59:50 UTC 2024; UI cmd at uptime 94D 5H 6M 31S: reload
|
19
|
+
OXRO-AP111117#\x20
|
20
|
+
show activate status: |-
|
21
|
+
show activate status
|
22
|
+
\r
|
23
|
+
IAP MAC Address :54:d7:e3:00:11:22
|
24
|
+
IAP Serial Number :CNQHAAAAAM
|
25
|
+
Cloud Activation Key :
|
26
|
+
Activate Server :device.arubanetworks.com
|
27
|
+
Activate Status :connection-failed
|
28
|
+
Activate fail reason :dns error
|
29
|
+
Provision interval :5 minutes
|
30
|
+
OXRO-AP111117#\x20
|
31
|
+
show aps: |-
|
32
|
+
show aps
|
33
|
+
\r
|
34
|
+
4 Access Points
|
35
|
+
---------------
|
36
|
+
Name IP Address Mode Spectrum Clients Type IPv6 Address Mesh Role Zone Serial # radio0 Channel radio0 Power (dBm) radio0 Utilization (%) radio0 Noise Floor (dBm) radio1 Channel radio1 Power (dBm) radio1 Utilization (%) radio1 Noise Floor (dBm) radio2 Channel radio2 Power (dBm) radio2 Utilization (%) radio2 Noise Floor (dBm) Need Antenna Config From Port Config Id Config Csum Ext SSID Active Age Link Local IP Address Uplink Port Hierarchy Mode Crash Info \x20
|
37
|
+
---- ---------- ---- -------- ------- ---- ------------ --------- ---- -------- -------------- ------------------ ---------------------- ------------------------ -------------- ------------------ ---------------------- ------------------------ -------------- ------------------ ---------------------- ------------------------ ------------------- --------- --------- ----------- --------------- --- --------------------- ----------- -------------- ---------- \x20
|
38
|
+
OXRO-AP111117 10.100.42.237* access enable 0 515(indoor) -- N/A - CNQHAAAAAM 36+ 18 3(good) -93(good) 1 9 7(good) -94(good) - - - - No none 0 1721 enable 2d:16h:30m:30s -- eth0 member No \x20
|
39
|
+
OXRO-AP122229 10.100.42.242 access enable 0 315(indoor) -- N/A - CNK9AAAAAN 44+ 18 3(good) -89(good) 6 9 11(good) -86(ok) - - - - No none 0 1721 enable 2d:16h:30m:13s -- eth0 member No \x20
|
40
|
+
OXRO-AP111118 10.100.42.241 access enable 0 515(indoor) -- N/A - CNQHAAAAAW 100+ 18 6(good) -90(good) 11 7 12(good) -95(good) - - - - No none 0 1721 enable 2d:16h:30m:9s -- eth0 member Yes \x20
|
41
|
+
OXRO-AP122223 10.100.42.238 access enable 0 315(indoor) -- N/A - CNH6AAAAA6 60+ 18 3(good) -92(good) 11 6 14(good) -91(good) - - - - No none 0 1721 enable 2d:16h:26m:45s -- eth0 member No \x20
|
42
|
+
OXRO-AP111117#\x20
|
43
|
+
show running-config no-encrypt: |-
|
44
|
+
show running-config no-encrypt
|
45
|
+
version 8.10.0.0-8.10.0
|
46
|
+
syslocation OXIDIZED
|
47
|
+
virtual-controller-country DE
|
48
|
+
virtual-controller-key AAAAAAAAAABBBBBBBBBBCCCCCCCCCC
|
49
|
+
name OXIDIZED-VC
|
50
|
+
organization Oxidized-Rocks
|
51
|
+
virtual-controller-ip 10.100.42.254
|
52
|
+
syslog-server 10.10.42.11 \x20
|
53
|
+
terminal-access
|
54
|
+
ntp-server 10.10.42.123
|
55
|
+
clock timezone Berlin 01 00
|
56
|
+
clock summer-time CEST recurring last sunday march 02:00 last sunday october 03:00
|
57
|
+
rf-band all
|
58
|
+
dynamic-radius-proxy
|
59
|
+
|
60
|
+
allow-new-aps
|
61
|
+
|
62
|
+
allowed-ap 54:d7:e3:00:11:22
|
63
|
+
allowed-ap 54:d7:e3:00:11:24
|
64
|
+
allowed-ap 7c:57:3c:00:11:2c
|
65
|
+
allowed-ap e8:26:89:00:11:26
|
66
|
+
|
67
|
+
|
68
|
+
snmp-server community AAAAAAAAAABBBBBBBBBBCCCCCCCCCC
|
69
|
+
snmp-server host 10.10.42.12 version 2c AAAAAAAAAABBBBBBBBBBCCCCCCCCCC inform
|
70
|
+
snmp-server host 10.10.42.13 version 2c AAAAAAAAAABBBBBBBBBBCCCCCCCCCC inform
|
71
|
+
|
72
|
+
|
73
|
+
|
74
|
+
hash-mgmt-password
|
75
|
+
hash-mgmt-user oxidized password hash AAAAAAAAAABBBBBBBBBBCCCCCCCCCC
|
76
|
+
hash-mgmt-user rocks password hash AAAAAAAAAABBBBBBBBBBCCCCCCCCCC usertype read-only
|
77
|
+
|
78
|
+
|
79
|
+
wlan access-rule default_wired_port_profile
|
80
|
+
index 0
|
81
|
+
rule any any match any any any permit
|
82
|
+
|
83
|
+
wlan access-rule 123-OXI--ED
|
84
|
+
utf8
|
85
|
+
index 2
|
86
|
+
rule any any match any any any permit
|
87
|
+
|
88
|
+
wlan ssid-profile 123-OXI--ED
|
89
|
+
enable
|
90
|
+
index 0
|
91
|
+
type employee
|
92
|
+
essid 123-OXI--ED
|
93
|
+
utf8
|
94
|
+
wpa-passphrase AAAAAAAAAABBBBBBBBBBCCCCCCCCCC
|
95
|
+
opmode wpa2-psk-aes
|
96
|
+
max-authentication-failures 0
|
97
|
+
vlan 123
|
98
|
+
dot11k
|
99
|
+
dot11v
|
100
|
+
|
101
|
+
mgmt-auth-server tacacs2
|
102
|
+
mgmt-auth-server tacacs1
|
103
|
+
|
104
|
+
wlan tacacs-server tacacs1
|
105
|
+
ip 10.10.42.21
|
106
|
+
key AAAAAAAAAABBBBBBBBBBCCCCCCCCCC
|
107
|
+
timeout 5
|
108
|
+
session-authorization
|
109
|
+
|
110
|
+
wlan tacacs-server tacacs2
|
111
|
+
ip 10.10.42.22
|
112
|
+
key AAAAAAAAAABBBBBBBBBBCCCCCCCCCC
|
113
|
+
timeout 5
|
114
|
+
session-authorization
|
115
|
+
|
116
|
+
|
117
|
+
|
118
|
+
OXRO-AP111117#\x20
|
119
|
+
exit: |-
|
120
|
+
exit
|
121
|
+
oxidized_output: |
|
122
|
+
# Aruba Operating System Software.
|
123
|
+
# ArubaOS (MODEL: 515), Version 8.10.0.6 LSR
|
124
|
+
# Website: http://www.arubanetworks.com
|
125
|
+
# (c) Copyright 2023 Hewlett Packard Enterprise Development LP.
|
126
|
+
# Compiled on 2023-02-14 at 18:20:29 PST (build 86193) by jenkins
|
127
|
+
# FIPS Mode :disabled
|
128
|
+
#\x20
|
129
|
+
#\x20
|
130
|
+
# IAP MAC Address :54:d7:e3:00:11:22
|
131
|
+
# IAP Serial Number :CNQHAAAAAM
|
132
|
+
#\x20
|
133
|
+
#\x20
|
134
|
+
# 4 Access Points
|
135
|
+
# ---------------
|
136
|
+
# Name IP Address Type IPv6 Address Serial #
|
137
|
+
# ---- ---------- ---- ------------ --------
|
138
|
+
# OXRO-AP111117 10.100.42.237* 515(indoor) -- CNQHAAAAAM
|
139
|
+
# OXRO-AP122229 10.100.42.242 315(indoor) -- CNK9AAAAAN
|
140
|
+
# OXRO-AP111118 10.100.42.241 515(indoor) -- CNQHAAAAAW
|
141
|
+
# OXRO-AP122223 10.100.42.238 315(indoor) -- CNH6AAAAA6
|
142
|
+
#\x20
|
143
|
+
version 8.10.0.0-8.10.0
|
144
|
+
syslocation OXIDIZED
|
145
|
+
virtual-controller-country DE
|
146
|
+
virtual-controller-key AAAAAAAAAABBBBBBBBBBCCCCCCCCCC
|
147
|
+
name OXIDIZED-VC
|
148
|
+
organization Oxidized-Rocks
|
149
|
+
virtual-controller-ip 10.100.42.254
|
150
|
+
syslog-server 10.10.42.11 \x20
|
151
|
+
terminal-access
|
152
|
+
ntp-server 10.10.42.123
|
153
|
+
clock timezone Berlin 01 00
|
154
|
+
clock summer-time CEST recurring last sunday march 02:00 last sunday october 03:00
|
155
|
+
rf-band all
|
156
|
+
dynamic-radius-proxy
|
157
|
+
|
158
|
+
allow-new-aps
|
159
|
+
|
160
|
+
allowed-ap 54:d7:e3:00:11:22
|
161
|
+
allowed-ap 54:d7:e3:00:11:24
|
162
|
+
allowed-ap 7c:57:3c:00:11:2c
|
163
|
+
allowed-ap e8:26:89:00:11:26
|
164
|
+
|
165
|
+
|
166
|
+
snmp-server community AAAAAAAAAABBBBBBBBBBCCCCCCCCCC
|
167
|
+
snmp-server host 10.10.42.12 version 2c AAAAAAAAAABBBBBBBBBBCCCCCCCCCC inform
|
168
|
+
snmp-server host 10.10.42.13 version 2c AAAAAAAAAABBBBBBBBBBCCCCCCCCCC inform
|
169
|
+
|
170
|
+
|
171
|
+
|
172
|
+
hash-mgmt-password
|
173
|
+
hash-mgmt-user oxidized password hash AAAAAAAAAABBBBBBBBBBCCCCCCCCCC
|
174
|
+
hash-mgmt-user rocks password hash AAAAAAAAAABBBBBBBBBBCCCCCCCCCC usertype read-only
|
175
|
+
|
176
|
+
|
177
|
+
wlan access-rule default_wired_port_profile
|
178
|
+
index 0
|
179
|
+
rule any any match any any any permit
|
180
|
+
|
181
|
+
wlan access-rule 123-OXI--ED
|
182
|
+
utf8
|
183
|
+
index 2
|
184
|
+
rule any any match any any any permit
|
185
|
+
|
186
|
+
wlan ssid-profile 123-OXI--ED
|
187
|
+
enable
|
188
|
+
index 0
|
189
|
+
type employee
|
190
|
+
essid 123-OXI--ED
|
191
|
+
utf8
|
192
|
+
wpa-passphrase AAAAAAAAAABBBBBBBBBBCCCCCCCCCC
|
193
|
+
opmode wpa2-psk-aes
|
194
|
+
max-authentication-failures 0
|
195
|
+
vlan 123
|
196
|
+
dot11k
|
197
|
+
dot11v
|
198
|
+
|
199
|
+
mgmt-auth-server tacacs2
|
200
|
+
mgmt-auth-server tacacs1
|
201
|
+
|
202
|
+
wlan tacacs-server tacacs1
|
203
|
+
ip 10.10.42.21
|
204
|
+
key AAAAAAAAAABBBBBBBBBBCCCCCCCCCC
|
205
|
+
timeout 5
|
206
|
+
session-authorization
|
207
|
+
|
208
|
+
wlan tacacs-server tacacs2
|
209
|
+
ip 10.10.42.22
|
210
|
+
key AAAAAAAAAABBBBBBBBBBCCCCCCCCCC
|
211
|
+
timeout 5
|
212
|
+
session-authorization\n\n\n
|
213
|
+
# End of YAML file
|