Skip to content
Menu
vernon.wenberg.net
vernon.wenberg.net
June 23, 2025June 24, 2025

HPE Aruba-CX Notes

  • Define a default global route
  • Assign an IP to a VLAN
  • Assign untagged traffic to a physical port
  • Update Aruba CX firmware
  • Configure DNS Servers
  • Configure NTP Server

Define a default global route

switch(config)# ip route 0.0.0.0/0 <next-hop-ip>

In previous AOS switches, this is equivalent to:

switch(config)#ip default-gateway <default-gateway>

Assign an IP to a VLAN

First create a virtual interface, then assign an IP to that interface.

switch(config)#vlan 192
switch(config-if-vlan)#ip address 10.192.1.100/21

Assign untagged traffic to a physical port

The VLAN must exist. In this example, VLAN 200 is untagged (untagged in AOS) and VLAN 1707 is allowed VLAN (tagged in AOS)

switch(config)#vlan 200
switch(config-vlan-192)#vlan trunk native 200
switch(config-vlan-192)#vlan trunk allowed 200,1707

Update Aruba CX firmware

While you can download firmware from TFTP, I prefer using an SFTP server. This example downloads the switch image into the secondary storage. You may need to enable allow-non-failsafe-updates 30, where 30 is the number of minutes, to allow updating of all components.

switch#copy sftp://[email protected]//home/vwenberg/AOS.swi
switch#allow-non-failsafe-updates 30

You can verify the images in storage using:

switch#show images

Boot to the secondary storage device. The system may reboot several times for updates.

switch#boot system secondary

After the switch has finished upgrading, verify the images.

switch#show images

If everything works, you can copy the secondary image to the primary image.

switch#copy secondary primary

Now reboot to the primary image.

switch#boot system primary

Configure DNS Servers

switch(config)#ip dns server-address 1.1.1.1
switch(config)#ip dns server-address 8.8.8.8

Configure NTP Server

First set your timezone and then set an NTP server. You can see a list of timezones from Wikipedia.

switch(config)#clock timezone CST
switch(config)#ntp server pool.ntp.org

Share this:

  • Click to share on X (Opens in new window) X
  • Click to share on Facebook (Opens in new window) Facebook
  • Click to print (Opens in new window) Print
  • Click to share on Pocket (Opens in new window) Pocket
  • Click to share on Reddit (Opens in new window) Reddit
  • Click to share on LinkedIn (Opens in new window) LinkedIn

Like this:

Like Loading...

Related

Disclaimer

These posts are notes for me. These are not guides and you should not use these instructions as step-by-step instructions without knowing what they do.

Recent Posts

  • HPE Aruba-CX Notes
  • Docker Reference
  • Useful Commands for Windows Subsystem for Linux
  • FortiManager Local-In Policy
  • Mount Google Drive in Linux using rclone

Mastodon

  1. Loading Mastodon feed...

©2025 vernon.wenberg.net | Powered by WordPress and Superb Themes!
%d