There are useful documents that put the CLI commands for Provision/ArubaOS-Switch and AOS-CX next to eachother. If you scroll down in this page, there are a few versions (version 5 is latest at the moment).
Quickest to get this done, if you don't want to read through the full guide, is to ask your Aruba reseller as they should have experience with this.
------------------------------
Herman Robers
------------------------
If you have urgent issues, always contact your Aruba partner, distributor, or Aruba TAC Support. Check
https://www.arubanetworks.com/support-services/contact-support/ for how to contact Aruba TAC. Any opinions expressed here are solely my own and not necessarily that of Hewlett Packard Enterprise or Aruba Networks.
In case your problem is solved, please invest the time to post a follow-up with the information on how you solved it. Others can benefit from that.
------------------------------
Original Message:
Sent: Jun 10, 2024 05:18 PM
From: Scytale
Subject: Need help replacing a Procurve 3800-24G with a Aruba 6300M
I have a Procurve 3800-24G switch that is randomly locking up and requiring a reboot every 2-3 weeks or so. After consulting with my hardware provider I was told that the Aruba 6300M would be a replacement for the failing one... unfortunately, nobody told me that the CLI language was completely different and I'm struggling to understand this one, as I've never worked with it, and rushing trying to have a replacement ready in case of permanent failure.
Can anyone help me with this? I've pasted the current procurve switch config below... I (think) I need some clarification mostly on the "trunk" commands and the set up of VLANS with tagged and untagged ports, but if anything else sticks out as working fundamentally different, let me know.
---
Running configuration:
; J9585A Configuration Editor; Created on release #KA.15.16.0008
; Ver #06:7c.fd.ff.ff.3f.ef:57
hostname "Main-3800-24G"
module 1 type j9585x
class ipv4 "Windward"
5 match ip 10.0.70.0 255.255.255.0 0.0.0.0 255.255.255.255
exit
policy pbr "Alpharetta"
10 class ipv4 "Windward"
action ip next-hop 10.128.20.2
exit
exit
trunk 1-2 trk1 trunk
trunk 3-4 trk2 trunk
ip route 0.0.0.0 0.0.0.0 10.128.20.2
ip route 10.0.10.0 255.255.255.0 10.128.20.2
ip route 10.1.1.0 255.255.255.0 10.128.20.2
ip route 10.128.10.0 255.255.255.0 10.128.20.2
ip route 10.128.110.0 255.255.255.0 10.128.20.2
ip route 192.168.215.0 255.255.255.0 10.128.20.2
ip routing
snmp-server community "public" unrestricted
oobm
ip address dhcp-bootp
exit
vlan 1
name "DEFAULT_VLAN"
no untagged 5-8,10,12-19,21-24,Trk1-Trk2
untagged 9,11,20,25-26
ip address dhcp-bootp
exit
vlan 2
name "VLAN2"
no ip address
exit
vlan 20
name "Transit"
untagged 5,10,22
tagged Trk1-Trk2
ip address 10.128.20.9 255.255.255.0
exit
vlan 50
name "server380"
untagged 6-7,24
tagged 12-13,Trk1-Trk2
ip address 10.128.50.9 255.255.255.0
dhcp-server
exit
vlan 70
name "WiFiCL"
tagged 19-24,Trk1-Trk2
ip address 10.0.70.9 255.255.255.0
service-policy "Alpharetta" in
dhcp-server
exit
vlan 75
name "VoIP"
untagged 13-18
tagged Trk1-Trk2
ip address 10.0.75.9 255.255.255.0
ip helper-address 10.0.80.40
exit
vlan 80
name "WiFiMGMT"
untagged 8,21,23
tagged 19-20,Trk1-Trk2
ip address 10.0.80.9 255.255.255.0
dhcp-server
exit
vlan 99
name "amazonsecure"
tagged Trk1-Trk2
ip address 10.0.99.9 255.255.255.0
dhcp-server
exit
vlan 560
name "VLAN560"
no ip address
exit
spanning-tree
spanning-tree Trk1 priority 4
spanning-tree Trk2 priority 4
spanning-tree priority 0
no tftp server
no autorun
no dhcp config-file-update
no dhcp image-file-update
dhcp-server pool "Transit"
authoritative
default-router "10.128.20.9"
dns-server "10.1.1.22"
lease 02:00:00
range 10.128.20.100 10.128.20.200
exit
dhcp-server pool "server380"
authoritative
default-router "10.128.50.9"
dns-server "10.1.1.22"
lease 02:00:00
network 10.128.50.0 255.255.255.0
range 10.128.50.100 10.128.50.200
exit
dhcp-server pool "VoIP"
authoritative
default-router "10.0.75.9"
dns-server "10.1.1.22"
lease 02:00:00
network 10.0.75.0 255.255.255.0
range 10.0.75.100 10.0.75.200
exit
dhcp-server pool "WifiCL"
authoritative
default-router "10.0.70.9"
dns-server "10.1.1.22"
lease 02:00:00
network 10.0.70.0 255.255.255.0
range 10.0.70.100 10.0.70.200
exit
dhcp-server pool "amazonsecure"
authoritative
default-router "10.0.99.9"
dns-server "10.1.1.22"
lease 02:00:00
network 10.0.99.0 255.255.255.0
range 10.0.99.100 10.0.99.200
exit
dhcp-server pool "WIFImgmt"
authoritative
default-router "10.0.80.9"
dns-server "10.1.1.22"
lease 02:00:00
network 10.0.80.0 255.255.255.0
range 10.0.80.100 10.0.80.254
exit
dhcp-server enable
password manager