- Upgrading Cisco SG350 firmware over tftp
· For my ongoing IPv6 only network at home and to keep my systems up to date I upgraded the firmware of my Cisco SG350 switch. Best part is that it’s really easy over tftp. MacOS has a built in TFTP server which supercharges that task.
Download the the current firmware for your switch version from the Cisco website. Next switch to the terminal, load and start the tftp server. You need to be an administrator to do this:
- Copy cisco config to mac using built in tftp
· Mac has a built in tftp server so doing a backup from a cisco switch is pretty easy. Just start it, create a file and then start a transfert.
Start the tftp server:
sudo launchctl load -F /System/Library/LaunchDaemons/tftp.plist sudo launchctl start com.apple.tftpd Move to /private/tftpboot and create the file cisco. Also chmod it to 777.
:-$ cd /private/tftpboot :-$ touch cisco :-$ chmod 777 cisco Now copy your config from the switch:
- Cisco SG-350: SSH pubkey key auth
· I wanted to activate ssh public key authentication on my Cisco SG-350 10 Port manged switch. And it was a pain in the ass because of the slightly different CLI syntax.
First of all enable ssh. This requires a configured and working IP address on the switch:
SwitchR#conf t SwitchR(config)#ip ssh server SwitchR(config)#ip ssh pubkey-auth auto-login SSH pubkey authentication is now enabled. Now you have to add an ssh key to your user.