Page 1 of 2
Transferring between Linux server and 7750
Posted: 03 Jun 2016 07:29
by Eagleman
Hi All,
I am trying to move image (TiMOS) from a Linux server to a network node but having some issue.
linuxserver:~$ scp TiMOS-SR-13.0.R9 root@26.13.13.14/cf3
No such file or directory
Of course the image is already on the Linuxserver.
Can anyone please point me in the right direction if you can?.
Thanks for your kind help in advance
Eagleman
Re: Transferring between Linux server and 7750
Posted: 03 Jun 2016 08:44
by mivens
On the 7750 make the new directory:
file md cf3:/TiMOS-SR-13.0.R9
Then from your Linux server:
scp TiMOS-SR-13.0.R9/* root@26.13.13.14:TiMOS-SR-13.0.R9/
Re: Transferring between Linux server and 7750
Posted: 03 Jun 2016 10:23
by Eagleman
Hi ,
A very BIG thanks for your prompt response and explanation.
If I may ask further out of curiosity, must the directory created on the 7750 be same as the name of the image?.
Thanks a GIG,
Eagleman.....
Re: Transferring between Linux server and 7750
Posted: 03 Jun 2016 10:41
by mivens
You can call it what you like, as long as you change the primary-image in the BOF to the same name.
Another option you might consider is to create a directory with a name like cf3:/images and have various subdirectories under that.
Other things:
Make sure you copy the new boot.ldr file to the root of cf3:/
You can verify the integrity and version number of each file you copy with "file version <file-url> check"
And one everything's copied onto the router and the bof is changed and saved, do an "admin redundancy synchronize boot-env" and everything will copy over to the standby CPM.
Keep a backup of the old version of the configuration as the syntax will be automatically upgraded when the new version boots and may not be backwards compatible if you need to rollback.
A good reference for all this is the section "Standard Software Upgrade Procedure" in the Release Notes.
Re: Transferring between Linux server and 7750
Posted: 03 Jun 2016 10:58
by Eagleman
Hi mivens/Fellow members,
May you all be abundantly blessed both my helper and all fellow members.
Thank you so much Mivens.
God bless all!!!!
Re: Transferring between Linux server and 7750
Posted: 06 Jun 2016 06:49
by Eagleman
Hi Guys,
Sorry I return to you on this same subject again. How can I move a file from the network node back the Linux server?.
I mean file like Tech Support, I know once I can get it to the server, I can collect it there with SCP.
Thanks for your kind help in advance!!!
Re: Transferring between Linux server and 7750
Posted: 06 Jun 2016 06:55
by mivens
Something like:
A:7750# admin tech-support cf3:/tech-support1.ts
Then on the server (using your previous example):
scp root@26.13.13.14:tech-support1.ts .
Note the "." at the end. That means the destination is the same filename as the source in the current directory on the Linux server.
Re: Transferring between Linux server and 7750
Posted: 06 Jun 2016 07:37
by Eagleman
Hello Boss,
The approach you mentioned here doesn't work.
I also try to connect to the node with scp root@26.13.13.14 but this is not working either.
How can I FTP into the node?
Any way forward?.
Thanks a GiG.....
Re: Transferring between Linux server and 7750
Posted: 06 Jun 2016 08:35
by mivens
Is this the same node where you can upload a file successfully? Check you can upload a file OK first as you already have the syntax for that working.
What happens when you try?
Post the error message.
Post the output of "file dir cf3:/" as well.
Code: Select all
A:7750# file dir cf3:/tech-support
Volume in drive cf3 on slot A has no label.
Volume in drive cf3 on slot A is formatted as FAT16
Directory of cf3:
08/24/2015 09:52a 1223340 tech-support
Code: Select all
$ scp 7750:tech-support .
password:
tech-support 100% 1195KB 1.2MB/s 00:00
$ ls -l tech-support
-rwxr-xr-x. 1 user user 1223340 Jun 6 13:29 tech-support
Re: Transferring between Linux server and 7750
Posted: 06 Jun 2016 09:15
by Eagleman
Many thanks for always responding to my queries!!!
Please see the practical outputs of what i get when i tried to pick the TS file of the network node.
Further info follows after the outputs.
Eagleman@MySR01:~$ scp 26.13.13.14:TS1_SR08_06062016
usage: scp [-1246BCpqrv] [-c cipher] [-F ssh_config] [-i identity_file]
[-l limit] [-o ssh_option] [-P port] [-S program]
[[user@]host1:]file1 ... [[user@]host2:]file2
Eagleman@MySR01:~$
Eagleman@MySR01:~$
Eagleman@MySR01:~$ ping 26.13.13.14
PING 26.13.13.14 (26.13.13.14) 56(84) bytes of data.
64 bytes from 26.13.13.14: icmp_seq=1 ttl=62 time=2.11 ms
64 bytes from 26.13.13.14: icmp_seq=2 ttl=62 time=1.93 ms
64 bytes from 26.13.13.14: icmp_seq=3 ttl=62 time=2.00 ms
--- 26.13.13.14 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 1998ms
rtt min/avg/max/mdev = 1.934/2.017/2.117/0.075 ms
Eagleman@MySR01:~$
As you can see the Linux server can reach the network node (by pinging) but it can't SCPing.
The file i am trying to pick up from the network node to the Linux server is already created on the network node with the name TS1_SR08_06062016 (It's a tech support file.
I really appreciate you for bearing the pain with me....
KR,