两台交换机之间进行配置文件的备份恢复: step0: SWA和SWB设置Vlanif并配置同网段IP(必须先设置Vlan再设置Vlanif,并且Vlan中要有端口加入。一般默认使用Vlan1,因为Vlan1为缺省接口,所有物理接口都默认加入到Vlan1)。 step1: SWA作为FTP服务端-save当前文件-在交换机上启用FTP服务,在AAA中设置用户名和密码,授权FTP合法用户连接到FTP服务器。 step2: SWB作为FTP客户端-建立于服务端的连接-配置文件传输模式为binary-从FTP服务器上下载文件:get XX XX-关闭连接:bye。 step3:SWB设置下次启动时载入的配置文件:startup saved-configuration xxx.zip-重启:reboot(注意警告是否要保存当前配置到新的startup文件时,要输入"N":Warning: All the configuration will be saved to the configuration file for the next startup:flash:/jjj.zip, Continue?[Y/N]:n)