The route-static command takes <destination subnet> <netmask> <next-hop-gateway>; so you try to set a default route (0.0.0.0/0) to 255.255.0.0 as default gateway, which should be an IP address in one of your directly connected subnets.
Not sure how your network looks like, so hard to tell what you should configure here.
------------------------------
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: Jul 11, 2024 03:19 AM
From: HPE
Subject: STATIC ROUTE
help me, I'm having problems with static routes.
I have vlan 200 with IP 10.0.0.1/16
when I enter the command
ip route-static 0.0.0.0 0.0.0.0 255.255.0.0 the sentence "invalid netxhop address" appears
I'm currently using an HPE 5140 switch