cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3197
Views
0
Helpful
5
Replies

Cisco VIRL ALL-IN-ONE VM from devnet

SergeyKuchuk
Level 1
Level 1

Good day,

I develop various scripts in python to manage Cisco routers. I recently discovered the virtual machine from Cisco devnet. Can you tell me how to connect to the routers CLI from the parent OS(Ubuntu)?

Thanks.

5 Replies 5

jasethi
Level 1
Level 1

Hi SergeyKuchuk, 

I get an understanding that you want to access router's CLI from an external device like Ubuntu.

To do so you need to make sure,

  • Management Network is set to Shared Flat Network (L2 Network)
  • VLANs are properly configured.

Following link can help you get System Administrator Installation Guide

http://www.cisco.com/c/en/us/support/cloud-systems-management/modeling-labs/tsd-products-support-series-home.html

Thanks

Thanks, jasethi

3 routers hosted inside of Ubuntu VM. I just need to get access to their CLI from this VM, not an external device.
 

Hi SergeyKuchuk, 

 

For that setting the management network type as "Flat Network" would suffice. You get a management IP, which can be used to do a telnet/ssh to and you'll get the CLI from your VM machine.

Hope this helps you.

Marie Killen
Cisco Employee
Cisco Employee

Hi,

The PM for DevNet, Nathan Sowatskey, has been made aware of your question and should respond.

 

Thanks,

Marie

Nathan Sowatskey
Cisco Employee
Cisco Employee

Sergey

 

Apologies for the delay in responding. 

 

You are probably referring to the "all in one VM" that was created for onePK adoption. That VM is, in effect, superseded by the VIRL technology that you can find at virl.cisco.com.

In the all in one VM, the management network of the three devices can be seen by entering "sh ip int br" in the terminal window that is created when you start the three node network. You can distinguish the management network from the data network as it is in a different network. The actual addresses will be determined by local configuration conditions.

Those management addresses are reachable from within the all in one VM by default. If you are also using, say, VMWare Fusion, to run the VM, those management addresses can be made reachable from the OSX host by creating a VM network with the same subnet as the management addresses, and then mapping one of the virtual interfaces in the VM to that virtual network.

Regards

Nathan