Setting up the initial configuration for Aruba switches

NOTE:

This procedure must be performed on leafs, border leafs, and spines switches.

Prerequisites
  • Ensure that the cabling of the Aruba switches is connected as per the port map.

  • Ensure that the console cables are supplied with the switch.

  • Ensure that the SSH client software is installed.

Procedure
  1. Restore the switch to factory default settings.
    1. Login to individual switches using the console.
    2. Run the following command to clear existing configurations:
      switch# erase all zeroize
      NOTE:

      The switch will undergo through the zeroization process. When the switch is restarted after zeroization, ensure that you do not select any profile when prompted to select a boot profile for restoring files. By default, the switch will boot using the primary software image.

  2. Use the default administrator account to log in to the switch for the first time.

    When prompted to log in, specify admin. When prompted for the password, press ENTER. By default, no password is defined. This account has no password. When prompted for a new password, press ENTER for both password prompts. You are placed into the manager command context, which is identified by the prompt: 8325#.

  3. Enable the management interface with static addressing using the following configurations:
    • Set a static IPv4 address of <management_IP from ILO-OOBM Range> with a mask of 24 bits.

    • Set the default gateway to <Gateway IP of ILO-OOBM network>.

    config
    interface mgmt
    no shutdown
    ip static <management_IP from ILO-OOBM Range>/24
    default-gateway <Gateway IP of ILO-OOBM network>
    exit
    exit
  4. Upgrade the switch software to the latest version. Ensure that all switches are using the same version of the switch software.

    Refer this link to download the ArubaOS-CX software images for the Aruba 8325 switches.

    Examples: To upload a firmware image to a TFTP or SFTP server.

    TFTP upload:

    switch# copy primary tftp://XX.XX.XX.XX/XL_10_00_0002.swi
    ######################################################################### 100.0%
    Verifying and writing system firmware...
    

    SFTP upload:

    switch# copy primary sftp://swuser@XX.XX.XX.XX/XL_10_00_0002.swi
    swuser@XX.XX.XX.XX's password: Connected to XX.XX.XX.XX.
    sftp> put primary.swi XL_10_00_0002.swi
    Uploading primary.swi to /users/swuser/XL_10_00_0002.swi
    primary.swi                           100%  179MB  35.8MB/s   00:05
    
  5. Prepare switches to get discovered for CFM and ODIM RA.
    1. Log in to the individual switches using the management interface.
    2. Run the following commands:
      Leaf and Border Leaf:
      NOTE:

      This password should match the password entered in the Input JSON for leaf and border leaf switches.

      config
      user admin password plaintext <password>
      https-server rest access-mode read-write
      hostname <name of the switch>
      https-server vrf mgmt
      ssh server vrf mgmt
      vlan 1-4000
      exit
      Spine switch:
      NOTE:

      This password should match the password entered in the Input JSON for spine switches.

      config
      user admin password plaintext <password>
      https-server rest access-mode read-write
      hostname <name of the switch>
      https-server vrf mgmt
      ssh server vrf mgmt
      exit