artofrf.com

Ali's Technology Blog

Menu
  • Home
  • Important Links
  • About Me
  • Tools and Scripts
Menu

Aruba AOS-CX CLI – Initial thoughts

Posted on January 3, 2022January 3, 2022 by mali

With everything moving to the cloud and vendors coming out with all different cool dashboards and UI’s for monitoring/managing, dependence on the CLI is not what it used to be. Most of the monitoring and configurations tasks have migrated to the cloud-based dashboards. Each vendor has its flavor for troubleshooting in the cloud dashboard as well.

I do utilize the cloud dashboards, APIs but, I do love using the CLI. I am not a fan of vendors who limit access to the CLI. Nothing is wrong with using cloud dashboards. But I believe, it is imperative to know and understand the CLI; knowing what is happening behind the scenes can give you a good advantage when configuring, designing, monitoring, or troubleshooting issues.

I was not a fan of Aruba AOS-S CLI. I came from Cisco’s world; nothing else made sense initially when it came to the CLI, to be honest. So when I got to see the Aruba AOS-CX CLI; I was excited to see some great CLI features.

list:

This command basically prints out all the available commands in the context you at working in. In my example below; I have all the commands available under the interface configuration. Not only that; it also shows you the “no” commands. Really good for change management.

show capacities:

This is an excellent command that shows system capacity of different features available.

You can take it further and filter it by the feature.

show capacities-status:

This command takes you even further into not only showing the capacity of each feature but their utilization as well. So if the device supports 4094 VLANs and you have 10 VLANs configured, it will show you both values.

Since there is a single OSPF neighbor; it shows the value of 1 and Max value of 512:

This command can also be filtered based on the feature.

show running-config current-context

We are all used to the good old “show runn interface ge x/x/x” command or “show runn | begin ospf” command etc. But this would show me everything after the first OSPF key word and/or at times results were not exactly what I wanted/needed. I always wondered why can’t I just just not see the config specifically. Yes there is a “show runn | section” but it does not work that great. Working with JUNOS CLI is when I first got to see this and now with Aruba CX I have seen this feature as well.

If I want to see what is configured under anything I simply run the command under that context. I absolutely love love love this feature. Makes parsing through the config much easier.

copy checkpoint/checkpoint auto:

“reload in ##” I am happy that I do not have to worry about reloading the whole device if I configure something wrong. Checkpoints make reverting to an older config easier. Moreover, it can help with change management. If I have a large change and need to back out of it? Instead of typing a bunch of “no” commands and then making sure you got everything etc. Want to go back in time to a specific config, compare two different configs? the checkpoint command is a friend.

“checkpoint auto #” is excellent if you think your change may break something and you will lose access to the device. Years ago I remember migrating some circuits that required BGP changes. If there was an issue we would lose access to the device so we were running “reload in #” commands on the Cisco devices. I ended up utilizing some EEM Scripting eventually that sometimes did not work. With “check point auto #” I can simply specify the device to roll back all my changes in 5 min or 10 min if I don’t confirm them.

vlan trunk allowed:

How many of us have added a VLAN to a trunk port and taken down a network because of blowing the allowed VLAN config? Aruba AOS-CX folks looks like learned their lesson and finally updated this command the way it should be. You do not have to use a specific keyword “add” to add VLANs to an existing trunk port. This command simply appends and not overwrite what is there.

Take a look at the port 1/1/1. It is a trunk port with VLAN 1, 10, 20, 30 already allowed. I am going to add one more VLAN to it by using a simple “vlan trunk allowed 40” command.

All the VLANs are still there. Last command simply appended the VLAN instead of over writing it.

There are a bunch more commands that are really useful and come in really handy when configuring, monitoring or troubleshooting in Aruba Switching Portfolio. Really happy and excited to see the Aruba AOS CX CLI and I am certainly impressed.

Category: Aruba, Switching

2 thoughts on “Aruba AOS-CX CLI – Initial thoughts”

  1. SethF says:
    February 9, 2022 at 6:37 pm

    Don’t forget the repeat command or the ability to print/filter packet captures right in the console! Or go right into the shell and do anything Linux.

    Reply
    1. mali says:
      February 9, 2022 at 8:26 pm

      Thank you Seth, unfortunately I do not have access to any gear so I couldn’t really test some things out that I would have liked to share here. But yes those are good commands also.

      Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Recent Posts

  • CLI to UI – Nile Guest APIs
  • Nile Secure Guest – Configuration and Use Case
  • WLAN Pros Toolbox
  • Nile does NAC – Configuring Trust Engine
  • WLAN Validator

Tags

#MFD9 - Juniper Presents AP W318 arista Arista AGNI Arista CV-CUE Arista Hospitality AP Arista NAC Arista presents at MFD9 Arista wall plate AP Arista WIPS Arista WPA3 UPSK Aruba Central Automation CWAP 403 EAP Format MAC Addresses Hamina Network Planner Juniper Mist show cloud-native NAC Juniper SRX300 Marvis MFD8 MFD9 MistAI Mist MPSK Mist Premium Analytics Mist Wireless NaaS Networking Field Day NFD32 Nile APIs NileNav Nile Secure Nile Wi-Fi Tech Field Day Troubleshooting with Marvis Troubleshooting with Mist Troubleshooting with Mist AI Troubleshooting with Wireshark True NaaS Wireless Adjuster Wireless Adjuster Level II Wireless troubleshooting WLPC wlpc2023 Wyebot

Tech Blogs

  • CCNA Wireless
  • Cisco Full Bars
  • Packet Life
  • The ASCII Construct
  • Juniper Port Checker
  • Bad-Fi
  • Gjermund Raaen
  • Havilandweb
  • WiFiTodd
  • BadgerWiFi
  • WiFrizzy
  • Spectrum Chart

Recent Comments

  • Hiten Thakkar on PCAP I/O Graph Analyzer
  • mali on Deploying Nile Secure – My First NSB
  • Larry Farrish on Deploying Nile Secure – My First NSB
  • Courtney on Mist Access Point – CSV
  • ayoub chabrouk on Ubiquiti stealing the show at MFD11

Archives

  • August 2026
  • July 2026
  • March 2026
  • February 2026
  • December 2025
  • November 2025
  • October 2025
  • August 2025
  • May 2025
  • January 2025
  • December 2024
  • November 2024
  • October 2024
  • September 2024
  • August 2024
  • July 2024
  • May 2024
  • April 2024
  • March 2024
  • February 2024
  • January 2024
  • December 2023
  • September 2023
  • August 2023
  • June 2023
  • May 2023
  • April 2023
  • February 2023
  • November 2022
  • October 2022
  • August 2022
  • July 2022
  • June 2022
  • May 2022
  • April 2022
  • March 2022
  • February 2022
  • January 2022
  • December 2021
  • November 2021
  • October 2021
  • September 2021
  • August 2021
  • July 2021
  • May 2021
  • April 2021
  • March 2021
  • July 2020
  • June 2020
  • May 2020
  • April 2020
  • March 2020
  • February 2020
  • January 2020
  • December 2019
  • November 2019
  • October 2019
  • September 2019
  • August 2019
  • July 2019
  • June 2019
  • April 2019
  • March 2019
  • November 2018
  • October 2018
  • September 2018
  • May 2018
  • January 2018
  • December 2017
  • August 2017
  • January 2017
  • September 2014
  • December 2013
  • October 2013
  • May 2013
  • August 2012
  • July 2012

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org

Categories

  • AeroHive
  • Arista
  • Arista
  • Aruba
  • Aruba
  • Aruba Central
  • BYoD
  • Certifications
  • Cisco
  • Cisco
  • Cisco EEM Scripting
  • Cisco Routing
  • Cisco Security
  • Cisco VoIP
  • Cisco VPN
  • Cisco Wireless
  • Conferences and Meetings
  • Design
  • Ekahau
  • General
  • Hamina
  • IoT, IIoT, OT
  • Juniper Security
  • Juniper Switching
  • Juniper/Mist
  • Linux
  • Microsoft
  • Mist
  • Mist Wireless
  • Nile
  • Nile Secure
  • Nile Wi-Fi
  • Programming/Automation
  • Python
  • Ruckus
  • Ruckus Wireless
  • Ruckus/Brocade
  • Ruckus/Brocade Scripting
  • Ruckus/Brocade Switching
  • Secure Guest Service
  • Security
  • Switching
  • Tools
  • Troubleshooting
  • Trust Engine
  • Uncategorized
  • Windows
  • Wireless
  • Wireless
  • WLAN Tools
© 2026 artofrf.com | Powered by Minimalist Blog WordPress Theme