File upload to Cisco device with SSH

If you need to upload a file (e.g. IOS image) to a Cisco device and you don't have a TFTP or FTP server up and running then you can use the SSH connection.

You just need a SSH access to the device - it can be a local user or via TACACS+ or Radius. To upload a file to the Cisco device just a few steps are required:

1.

Activate SCP server on Cisco device

SWITCH# configure terminal
SWITCH(config)# ip scp server enable

2. Download PSCP and place it in the folder where the file is you would like to upload.
3. Open a CMD in the folder and use the following command to upload the file:

pscp.exe -scp -P 22 IOS-image.bin This email address is being protected from spambots. You need JavaScript enabled to view it..1.1:IOS-image.bin

4. Deactivate SCP server on Cisco device

SWITCH# configure terminal
SWITCH(config)# no ip scp server enable

Loading comment... The comment will be refreshed after 00:00.
Write comments...
You are a guest ( Sign Up ? )
or post as a guest

Newsletter

hacklinkserp takipteknik seo rehberiicerik optimizasyonuyerel seogoogle algoritma guncellemeleribacklink stratejileribacklink nedirdofollow nofollow backlinkguest post backlinkanchor text optimizasyonubroken link buildingcore web vitals seoschema markupsite hizi optimizasyonumobile first indexingxml sitemap robots txtseo uyumlu icerikanahtar kelime arastirmasieeat google kalitegoogle analytics seorakip analizi seoseo raporlama metriklerigoogle my business seoyerel arama siralama