Thursday, September 2, 2021

Oxidized Example - Config file

 ---
username: manager
password:
model: procurve
resolve_dns: false
interval: 3600
use_syslog: false
debug: false
threads: 30
timeout: 20
retries: 3
prompt: !ruby/regexp /^([\w.@-]+[#>]\s?)$/
rest: 127.0.0.1:8888
next_adds_job: false
vars: {}
groups: {}
models: {}
pid: "/root/.config/oxidized/pid"
crash:
  directory: "/root/.config/oxidized/crashes/"
  hostnames: false
stats:
  history_size: 10
input:
  default: ssh
  debug: false
  ssh:
    secure: false
  ftp:
    passive: true
  utf8_encoded: true
output:
   file:
       directory: "/mnt/c/Users/user-account/oxidized/configs"
source:
  default: csv
  csv:
        file: "/mnt/c/tftp/switches.csv"
#        file: "/root/.config/oxidized/switch.db"
        delimiter: !ruby/regexp /,/
        map:
         name: 0
         ip: 1
         username: 2
         password: 3
         group: 4
         model: 5
#      vars_map:
#            enable:4
model_map:
  aruba: aos-cx
  hp: procurve
  fortigate: fortios



Thursday, August 26, 2021

Aruba CX Quick Commands

List of helpful commands for Aruba-CX switches.

 Reboot the switch

    boot system   primary|secondary

Show MAC address - by MAC

    show mac-address-table address x:x:x:x:x:x

Show MAC address - by port

    show mac-address-table port x/x/x

Show LLDP

    show lldp neighbor-info

Disable POE on Port

    no power-over-ethernet

Enable SSH - Key

    user manager authorized-key "ssh-rsa long line of key"

Show VLANs on a port

    show vlan port x/x/x

Show Port infor

    show interface brief

ServiceOS - If the switch ever boots to 'ServiceOS'

https://community.arubanetworks.com/browse/articles/blogviewer?blogkey=118b36b3-1d6f-4a8a-b4c9-b58e6f5d375a

Aruba CX - Enable SSH / Upgrade Firmware

https://community.arubanetworks.com/community-home/digestviewer/viewthread?MID=26514