HPE Aruba AOS-CX Initial Configuration Guide (6300/6400) - 夜莺博客

HPE Aruba AOS-CX Initial Configuration Guide (6300/6400)

Getting an HPE Aruba CX switch out of the box and onto your network is a task every network engineer will face eventually, and the AOS-CX operating system makes it predictable. This guide condenses the official HPE Aruba AOS-CX Fundamentals Guide for the 6300 and 6400 Switch Series into a practical walkthrough: connecting to the console port, configuring the out-of-band management interface with a static IP, setting the default gateway and DNS, synchronizing time with NTP, and restoring factory defaults when needed. Every command below comes straight from the vendor fundamentals documentation.

AOS-CX Initial Configuration Options

The 6300/6400 series supports several bootstrap methods:

  • ZTP (Zero Touch Provisioning) - automatically discovers a DHCP server and downloads configuration.
  • Aruba CX Mobile App - Bluetooth-based provisioning from a smartphone.
  • CLI over console or SSH - the classic, scriptable approach covered here.

Connecting to the Switch for the First Time

Connect a console cable to the console port, or connect the management port to your management network. Log into the switch for the first time with the default admin credentials (password admin) and you will be prompted to change the password. The management interface on AOS-CX is mgmt.

Configuring the Management Interface

Enter configuration mode and assign a static IP to the management interface, then set the default gateway and DNS nameserver:

switch# configure terminal
switch(config)# interface mgmt
switch(config-if-mgmt)# ip static 10.10.10.2/24
switch(config-if-mgmt)# exit
switch(config)# default-gateway 10.10.10.1
switch(config)# ip dns server-address 8.8.8.8
switch(config)# end

Verify the settings with show interface mgmt and show running-config. Alternatively the DHCP client can be enabled with ip dhcp if you prefer dynamic addressing on the management port.

Setting Switch Time with the NTP Client

Accurate time is critical for logs and certificates. Enable NTP and point it at your time source:

switch(config)# ntp enable
switch(config)# ntp server 162.159.200.1
switch(config)# end
switch# show ntp associations
switch# show ntp status

Configuring Banners and Saving the Configuration

Add a legal or informational banner to every login session:

switch(config)# banner motd "Authorized access only"

Finally, persist the running configuration to the startup configuration with write memory (or copy running-config startup-config). If you ever need to start over, the factory default restore procedure is covered in the Fundamentals Guide's management section (erase startup-config followed by reload).

Related Reading

原文链接:https://arubanetworking.hpe.com/techdocs/AOS-CX/10.13/PDF/fundamentals_6300-6400.pdf