Sunday, June 8, 2025

Important Aruba switch 2530 commands

 



🖥️ Top 5 Useful Aruba Switch Commands with Output (Aruba 2530 Series)


If you're managing an Aruba 2530 switch, these five CLI commands are essential for monitoring and troubleshooting. Whether you're a beginner or an experienced network engineer, knowing these commands will help you stay efficient.



✅ 1. show interfaces brief


📌 Purpose:


Displays a summary of all physical ports — link status, speed, and mode.


💻 Command:


show interfaces brief


📋 Output:


Status and Counters - Port Status


Port Type Enabled Status Mode Speed Duplex

------- ---------- -------- ----------- -------- --------- -------

1 10/100TX Yes Up Auto 100FDx Full

2 10/100TX Yes Down Auto Auto Auto

3 10/100TX Yes Up Auto 100FDx Full

24 10/100TX Yes Up Trunk 100FDx Full


👉 Helps identify connected devices, cable issues, or speed mismatches.



---


✅ 2. show log


📌 Purpose:


Displays system events, port status changes, login attempts, and errors.


💻 Command:


show log


📋 Output:


I 06/08/25 10:15:33 ports: port 1 is now on-line

I 06/08/25 10:16:07 ports: port 2 is now off-line

W 06/08/25 10:20:00 system: High CPU utilization detected

I 06/08/25 10:30:11 user: admin logged in from 192.168.1.101 via SSH


💡 Use show log -r to display in reverse (newest entries first).



---


✅ 3. show interfaces port-utilization


📌 Purpose:


Shows real-time bandwidth usage (in percentage) for each port.


💻 Command:


show interfaces port-utilization


📋 Output:


Port Utilization (percentage of available bandwidth)


Port In Out

------- ----- -----

1 5% 3%

2 0% 0%

3 15% 10%

24 35% 40%


📈 Useful for finding busy or underused ports.



---


✅ 4. show run


📌 Purpose:


Displays the running configuration of the switch — includes VLANs, interfaces, IP settings, passwords, etc.


💻 Command:


show running-config


📋 Output (shortened example):


hostname "Aruba2530"

interface 1

   name "Uplink"

   untagged vlan 1

vlan 1

   ip address 192.168.1.10 255.255.255.0

   name "Default_VLAN"

trunk 23-24 Trk1 Trunk

ip default-gateway 192.168.1.1


📝 You can save this output before making changes for backup.



---


✅ 5. show ip route


📌 Purpose:


Shows the switch’s IP routing table — including connected networks and static routes.


💻 Command:


show ip route


📋 Output:


Destination Gateway VLAN Type

--------------- ------------- ---- --------

192.168.1.0/24 DIRECT 1 connected

0.0.0.0/0 192.168.1.1 1 static


🔎 Helps you verify default gateway, static routes, or troubleshoot routing issues.




If you have any doubts regarding Aruba switch let me know in comment section.

No comments:

Post a Comment