This document assumes you already emailed CNC request group for the access to the CNC software. Please see this link for more info.
Instructions below cover necessary steps to get a CNC software setup and establish the first communication with a Cisco IE4000 switch. There are two ways to setup a CNC software. You either download a preconfigured Virtual Machine (VM) or download a standalone CNC package and install it on your own PC with Ubuntu 14.04.
Option A, a VM with a CNC already installed:
The CNC (VM), your host computer and the switch need to be set to a static IP address and the same subnet mask to communicate. The VM network is already set to the static IP address of 10.1.1.1 and configured to a bridged mode to utilize your host computer network adapter. The last thing is to set your host computer to a static IP of 10.1.1.x subnet 255.255.255.0
Option B, a standalone CNC package:
$sudo vi /etc/network/interfaces
This completes the standalone CNC setup.
Preparing a IE4000 Switch for Communication with a CNC :
!(accept the End User License Agreement)
license right-to-use activate tsn
// recommended hostname is volt1
enable secret admin
username admin password 0 admin
ptp profile dot1as// static IP of the switch. Use 10.1.1.x but do not use the CNC IP or the host computer IP.
ip address <ip address> <mask>
// IP address of the CNC 10.1.1.1
tsn cnc-server <ip address>
line vty 0 15
There is an updated CNC license for 2018.
Download 2018 CNC license, unzip the file with the received password and refer to the readme.txt file for instructions.
This completes the CNC and the switch configuration. Refer to this instruction video for a walkthrough on using the CNC software.
Question about "2. Unzip the content of the zip folder using the password you received"
I am setting up the switch and cannot find the passwrod to unzip the content. What is the password?
Please take a look at the first sentence in the main post..... You need to email CNCrequest@ni.com to request the password.
The readme.txt file for the 2018 CNC license doesn't actually provide any instructions on where to place the file and how to update the license. Is there any more information on this?
The readme.txt in the same directory as the .zip provides instructions on how to gain access to the zip password.
The readme.txt file inside the .zip provides instructions how to use .tar file to update license. (there is also one more copy of the file in the .tar)
Let me know if things dont work out.
I just set up the VM and found the license installation process a little confusing, so I've written up a more detailed guide:
At this point, the license installation should execute. I hope this helps!
Thanks for the great tutorial!
However, when I was setting up my VM, I found that a shared folder may have some issues with detecting the contents inside and is much more complex to set up.
I found a much simpler alternative which is to connect an Internet connection into the PC Ethernet port which has a bridged connection with the VM. Afterwards, you can download the CNC License file from the open group and extract the tar file contents into the "Home" directory, then run the update through the terminal (CTRL+ALT+T) and update by typing ''sh Cisco_CNC_license_update.sh''.
Hope this helps!
While trying to access the root in VirtualMachine I am getting the authentication failure with the password lab. Are you sure that its the right password to access the root with su command ?
After installing the new license successfully, we still get an error while computing the schedule with CNC. The error code we get is 249 stating that the CNC could not find the "/opt/tttech/TTEPlan5/license/CiscoSystems_Plan_5_0_permanent.lic". However, I could see this file under the home directory of the ubuntu VM.
Were you able to run the script successfully? If so, it should have installed the license at the indicated location (/opt/tttech/TTEPlan5/license/CiscoSystems_Plan_5_0_permanent.lic). The license file shouldn't be in your home directory, only your license update tar file. If there is no .lic file at the indicated location, the script may not have run successfully.
Regarding the instructions I posted earlier and permissions problems, you don't need to log-in as root. You can just execute the command "sudo cp /media/sf_Downloads/Cisco_CNC_license_update.tar /home" to copy the license file to your home directory, where you can then untar it and run the setup script. The lab/lab account has administrator permissions so you shouldn't ever need to log in to the root accout.
If you do want root access, you'll need to set the password for the account to enable it. I'm not sure how this didn't come up when I wrote the instructions, but I'll make an addition to the post to make this clear. You can set the password for the root account by executing the command "sudo passwd root". This will prompt you for a new password, where you can set your root password. Once the password is set, you can log-in as a root user.