How to install
Setup
Here is a step-by-step guide:
(Optional) Set Proxy
Switch(config)#ip http client proxy-server <IP/FQDN> proxy-port <PORT>
Proxy Example
Switch(config)#ip http client proxy-server proxy.esl.cisco.com proxy-port 80
- Copy the following config into the running configuration of the device
Switch#copy http://bootstrap.cisco-aixedge.com/aixedge-init.cfg running-config
- Initialize network configuration
Switch#aixedge-init <VLAN_ID> <trunk/access> <static/dhcp> <ip address> <netmask> <gateway> <dns>
Static IP example
SW#aixedge-init 1025 trunk static 192.168.1.2 255.255.255.0 192.168.1.1 192.168.1.254
DHCP example
SW#aixedge-init 1025 trunk dhcp
- When you see the following syslog prompt the AIXEdge is ready
*Dec 7 21:54:31.275:%HA_EM-6-LOG: aixedge-init-cloud: AIXEdge: Enabled. To start type 'aixedge-help'
- Be sure to see how to use the aixedge
SW#aixedge-help
AI assitant for Cisco AIXEdge products.
Arguments:
aixedge-help Presents options to run AI assistant
aixedge <query> Queries adressed to AI Assistant
aixedge <show command> @ <query to AI assistant> AI Assistant helps with command's output
aixedge-upgrade Upgrades the AI Assistant to the latest version
aixedge-cfg <API_KEY> Initial config of the script; Adds the OpenAI API key;
aixedge-init Initialization of AI assistant
aixedge-uninstall Uninstall the AI assistant
aixedge-version Shows installed version
Configuration
- Enter the API key from OpenAI or Gemini
Switch#aixedge-cfg <API_KEY>
Usage
- Start using the aixedge (simple request)
Switch#aixedge who are you
- Start using the aixedge (output interpretation)
Switch#aixedge show ip interface brief @ which interfaces are up
- Enjoy! 😆
Manual proxy settings
In case you need to change the proxy for your switch make sure to adjust the settings for AIXEdge! 😉
Switch(config)#ip http client proxy-server A.B.C.D proxy-port E
Switch(config)#end
Switch#aixedge-proxy
.....
or
.....
Switch(config)#no ip http client proxy-server A.B.C.D proxy-port E
Switch(config)#end
Switch#aixedge-proxy