Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Remote install license key file

Status
Not open for further replies.

Singsiblaw

Technical User
Feb 6, 2014
35
US
I can SSH into the CS1000E R7.5, but how do I transfer the file over the network and install the license (.kcd) file remotely?

Thank!
 
You don't, you will need it on a compact flash or enter it line by line through command line. No way to send the file over remotely that I know of.
 
Sigh, I guess I don't need to ask whether I can FTP the file to the server somehow.
 
For other users, what KCFLHRC said was correct that the file needs to be on a compact flash or enter it line by line through command line.

There are a couple of methods to get the file onto the compact flash:
1. obvious method: direct copy from the computer
2. FTP file over to the CS, then copy it over to the compact flash. This is the way I did it since I don't have a compact card reader and I am not in front of the chassis...

Then you can proceed with the installation normally.

Cheer!
 
I literally just loaded a new keycode file via modem. If that's an option, it works quite well. Only issue may be that I think Hyperterminal is the only way to do it - at least the only one that has worked for me.

 
You can use an FTP program such as WinSCP to transfer the file.
 
The bad thing about doing it remotely is that the new keycode file is not on the install media. So if another tech has to reload the switch when your gone then he may be loading an old file. And if the old file contains fewer licenses, say for digital sets, it will automatically remove the required sets to get under the license file number at random. Not a good thing.
 
Courtesy of this thread

ISM Parameter Upgrade for Large System

1. On a PC access the PBX with HyperTerminal.
2. Place keycode diskette in A: dive of PC or have Keycode.KCD file on your PC.
3. Log into PBX.
4. LD 143
5. KUPL
6. Click the Transfer menu in Hyper Terminal and select Send text File
7. From the Files of Type pull-down menu select All files (*.*)
8. Locate and select the keycode file on the PC.
9. Click Open
The keycode is displayed after the KUPL prompt.

Example KUPL 0001PBXo1o1
9FPAMSRHN17KRUQWERTYUIOPLKJHGFDSZXCVB

10. At prompt enter KDIF REC HD
11. Ensure the new keycode does not lower ISM limits or reduce features
12. Enter KNEW HD to activate new keycodes
13. LD 22
14. SLT
 
It does give you the option to load it on the RMD, so it may not be on the install media, but it will be on the backup!

 
I am on CS1000E R7.5

Steps:
1. FTP to the CS
2. Change directory to /u/pub
3. Transfer the .kcd file over
4. SSH into the CS
5. Switch into PDT mode
6. Rename /cf2/keycode/keycode.kcd to something else for rollback if needed.
7. Copy file from /u/pub to /cf2/keycode
8. Exit PDT mode
9. Get back into CS
10. RMD will now point to the new /cf2/keycode/keycode.kcd
11. KDIF REC RMD
12. KNEW RMD


KCFLHRC,
I could be wrong but when we were running CS1000E R5.0, I was able to FTP as well.
 
For the step 3 above, the correct file name is keycode.kcd.
 
If you want to get really crazy, you can WinSCP/SFTP directly to the /cf2/ directory as well.
 
And WinSCP/SFTP definitely works on a VxWorks call server - at least on 7.6.
 
scotthdiv,

You are right.
I was looking for a place to put the file up under /u and /p. Most locations won't allow me. I guess /cf2 is the exception.
This would cut down the hassle of using PDT.
 
Updated instructions:

Steps:
1. FTP to the CS
2. Change directory to /cf2/keycode
3. Rename keycode.kcd to something else for rollback if needed.
4. Transfer the new keycode.kcd file over. RMD will now point to the new /cf2/keycode/keycode.kcd
5. SSH into CS
6. LD 143
7. KDIF REC RMD
8. KNEW RMD
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top