Brocade ICX 7250 - zbrewer/homelab GitHub Wiki
Setup instructions for the ICX-7250 I use as my primary switch can be found in the Fohdeesha docs. This includes steps for initially updating the firmware, configuring an IP address, and unlocking all features. The advanced docs include a number of useful steps as well. Finally, the Ruckus and CommScope documentation can be useful as well.
When using Windows, Putty is able to SSH into the switch without issues; however, on Linux some extra config steps must be taken to ensure compatibility. Write the file here to ~/.ssh/config
replacing the IP address with that of the switch.
The configuration can be backed up to a TFTP server using the instructions here.
To summarize, the config can be backed up with the following command:
copy startup-config tftp <ip_address> <file_name.cfg>
And then restored with:
copy tftp startup-config <ip_address> <file_name.cfg>
If doing this on Linux, the tftpd-hpa
server can be installed for this purpose.
$ apt install tftpd-hpa
Edit `/etc/default/tftpd-hpa to contain the following:
# /etc/default/tftpd-hpa
TFTP_USERNAME="nobody"
TFTP_DIRECTORY="/tftpboot/"
TFTP_ADDRESS="0.0.0.0:69"
TFTP_OPTIONS="--secure -vvvv"
Then create the /tftpboot
directory and the config file inside of it (if backing up the config, tftpd will only update and not create the file). Make sure these are world readable:
$ sudo mkdir /tftpboot
$ sudo touch /tftpboot/<file_name.cfg>
$ sudo chmod -R 777 /tftboot
Then restart the tftpd-hpa service so the changes take effect (and prevent it from starting at boot):
$ sudo systemctl disable tftpd-hpa
$ sudo systemctl restart tftpd-hpa
After completing the backup (or restore) stop the server with:
$ sudo systemctl stop tftpd-hpa