LabVIEW Time Sensitive Networking (TSN)

Reply
This is an open group. Sign in and click the "Join Group" button to become a group member and start posting.
Highlighted

[Video] How to Use the Cisco Centralized Network Controller (CNC) Tools

This video is a walkthrough of using the Cisco CNC tools to create a TSN flow for deterministic communication between two devices.

 

Before watching this video, please complete the following steps to set up the CNC Virtual Machine, and the Cisco IE 400 Switch:

Setting up a Cisco Centralized Network Controller (CNC) Virtual Machine (VM)

Installing IOS SW TSN Support on a Cisco IE4000 Switch

 

 

 

*If you can't view the video in a browser, you can download a standalone mp4 here.

Ty Prather
Technical Marketing Specialist
National Instruments
Message 1 of 32
(2,693 Views)
31 REPLIES

Re: [Video] How to Use the Cisco Centralized Network Controller (CNC) Tools

Awesome. Thanks Smiley Happy

0 Kudos
Message 2 of 32
(2,588 Views)

Re: [Video] How to Use the Cisco Centralized Network Controller (CNC) Tools

I'm having an issue where the CNC will get stuck on the "Discovering Network" phase. I believe it discovers the IE4000, but is not seeing the cRIO 9035's. All devices are on the same subnet, and I can ping to the IE4000, and both cRIOs from the CNC. Are there any troubleshooting tips anyone could suggest that I try? 

0 Kudos
Message 3 of 32
(1,470 Views)

Re: [Video] How to Use the Cisco Centralized Network Controller (CNC) Tools

It could be that the CNC Web UI has the problem and your system is ok. I believe the CNC Web UI will put down 'icon' of the switch even if was not discovered.

 

Little technical background that might help you with debugging. 

The discovery part of devices happens over an LLDP (link layer discovery protocol). If you running the latest IE4000 tsn firmware then LLDP is already present on your switch. When you install the 'TSN Features' package, it will also install LLDP on a cRIO. You dont need to do anything else after that just,  connect cRIOs to the switch. 

 

First I would advise to console into your switch and see if the switch sees cRIOs. use commaind: 'show lldp neighbors' or neighbor I dont remember exactly. That should display list of cRIOs connected to the switch. If you dont see the list then:

1. you either dont have lldp installed on cRIOs

2. Make sure you are using port1(eth0) of the cRIO to connect the switch

If you see the list over console but not in Cisco WebUI then UI is not able to talk to switch properly (I believe Cisco uses telnet to do that)

 

Let us know what you find out

 

 

0 Kudos
Message 4 of 32
(1,468 Views)

Re: [Video] How to Use the Cisco Centralized Network Controller (CNC) Tools

I checked and it appears like both the CNC, IE4000, and both cRIOs are visible via LDDP from both the CLI and web gui (see photos). Also, I updated the license on the CNC to 2018 version, as well as changing the port the CNC is connected to the IE4000 via to an access/management port (on the same subnet).

 

The CNC is still stuck on "discovering network", although if I cancel it prematurely, it has found the "volt1" switch (under devices), and is connected/pingable. 

 

Capture.PNGCapture2.PNG

0 Kudos
Message 5 of 32
(1,464 Views)

Re: [Video] How to Use the Cisco Centralized Network Controller (CNC) Tools

Thanks for the screen shots. It looks like there is an issue between Cisco CNC Web UI and the switch. I'm not an expert on Cisco tools but from my experience using the tools I would start with following:

 

  • Make sure the switch has a static IP set that is different from the static IP of the VM where the CNC is running on. 
  • Then make sure that CNC Web UI has the switch under devices as shown in the screenshot below:CNC Devices.PNG

 It is important that the the name and address matches your IE4000 switch. Name is case sensitive! In my case switch is called volt1 and its static IP is 10.1.1.2, my VM is set to static IP 10.1.1.1.

 

 

0 Kudos
Message 6 of 32
(1,458 Views)

Re: [Video] How to Use the Cisco Centralized Network Controller (CNC) Tools

Hi,

As the Cisco's WebGui is not mature enough at the moment. I would suggest the following go throughs:

  • Clear the discovery and flows, even the discovery cache
  • Delete all the devices in the devices tab (as opposed to what Miro has suggested)
  • If till this point, the problem is not solved then...Restart the VM (yes, it helped me)
  • I had some problems the during computation of schedules (was taking infinite time), when I simply intitialized a fresh (new) instance of VM the problem was solved.

All the best

Zahoor

 

0 Kudos
Message 7 of 32
(1,437 Views)

Re: [Video] How to Use the Cisco Centralized Network Controller (CNC) Tools

Hi msmit250,

 

Did Miro_T's latest suggestions help, or are you still seeing troubles with the "discovering network" portion?

 

Also, as an additional question, is this switch connected to a larger, corporate network, or is it just an isolated network of the switch, cRIOs, and your CNC computer/VM?

 

Ty Prather
Technical Marketing Specialist
National Instruments
0 Kudos
Message 8 of 32
(1,421 Views)

Re: [Video] How to Use the Cisco Centralized Network Controller (CNC) Tools

No, I haven't managed to get it to work yet. My next course of action is probably to factory reset the switch and re-follow the setup instructions step by step. One other thing I might try is changing my subnet from what I have been using (10.0.50.x/24) to the default CNC subnet. I don't imagine this is the issue though as everything is ping-able.

 

Currently my setup is on isolated local network. It included the CNC VM running on Virtualbox on my workstation, connected to the switch via a USB to Ethernet adapter, which is connected to the two 9035(sync) cRIOs. Also there is no router on this network, everything is on the same subnet. Everything seems to be able to see each other, but the CNC discovery doesn't work. It does pick of the switch if I end the discovery manually, and is connected, but does not find the cRIOs.

0 Kudos
Message 9 of 32
(1,412 Views)

Re: [Video] How to Use the Cisco Centralized Network Controller (CNC) Tools

Hi msmit250

 

From your post above:

" Virtualbox on my workstation, connected to the switch via a USB to Ethernet adapter," .

 

I believe the CNC install script sets your Ubuntu eth0 to a static IP and then the CNC expects eth0 of your VM/CNC to be connected to the switch.

If you plug in a usb ethenet adapter, Ubuntu OS will most likely enumerate that to eth1 or some other port. 

 

Can you double-check that ?

0 Kudos
Message 10 of 32
(1,403 Views)
Reply
This is an open group. Sign in and click the "Join Group" button to become a group member and start posting.