设为首页收藏本站language→→ 语言切换

鸿鹄论坛

 找回密码
 论坛注册

QQ登录

先注册再绑定QQ

查看: 13771|回复: 24
收起左侧

[其他] VIRL CISCO官方模擬器!

[复制链接]
发表于 2014-12-4 11:54:43 | 显示全部楼层 |阅读模式
本帖最后由 careline 于 2014-12-4 11:57 编辑

出來很久了,現在官方已經定價200$。根據GNS3論壇的消息,GNS3後續版本也會跟進相關功能的開發!
官網地址:http://virl.cisco.com/   

Cisco VIRL In Detail
Cisco VIRL Personal Edition annual subscription license provides a scalable, extensible network design and simulation environment with several Cisco Network Operating Systems. This includes IOSv, IOS XRv, NX-OSv, CSR1000v virtual machines as well as third party images such as Ubuntu Linux.
Educational pricing is available for this product for college students, parents buying for a college student, or teachers, homeschool teachers and staff of all grade levels – limited to one purchase.
VIRL enables users to:
• Build highly-accurate models of real-world or future networks.
• Learn and test with ‘real’ versions of Cisco network operating systems – IOSv, IOS XRv, NX-OSv and CSR1000v.
• Integrate virtual network simulations with real network environments.
• The download includes VIRL Personal Edition 1.0 Pre-Release software with a single-user annual license to manage up to 15 Cisco nodes.
Requirements
Verify that your  PC or laptop meets the following minimum requirements:
• Host system must be able to access the Internet periodically
• Four CPU cores and 8GB of DRAM – more resources allows for larger simulations
• Intel VT-x / EPT or AMD-V / RVI virtualization extensions present and enabled in the BIOS
• 50GB of free disk space for installation
You must purchase and install one of the following supported Hypervisors in order to run Cisco VIRL.:
• VMware Fusion Pro v5.02 or later (including v6.x or v7.x)
• VMware Workstation v8.04 or later (including v9.x and 10.x)
• VMware Player v5.02 or later*** (including v6.x)
• ESXi 5.1 / 5.5 using the vSphere Client: ESXi 5.1U2 (Build 1483097) or ESXi 5.5U1 (Build 1623387)
These Hypervisors are not included as part of Cisco VIRL and must be purchased separately.
 楼主| 发表于 2014-12-4 11:56:02 | 显示全部楼层
本帖最后由 careline 于 2014-12-4 12:03 编辑

VIRL對電腦的要求還是很高的,基本上要16G的內存,64位機器,I7處理器。
坐等WIN10出來換電腦
官方設置手冊:http://virl-dev-innovate.cisco.com/workstation.ext.html
STEP 3:  Create and configure virtual networks
The VIRL virtual machine requires connections to five unique virtual networks, the first of which is for management and is mapped to 'vmnet8' / NAT by Workstation by default.
This mapping provides the VIRL virtual machine with an IP address, gateway, and domain name-server and access to the Internet via the PC's network connection.
The other four interfaces which will be used by VIRL for external layer-2 and layer-3 connectivity must be created using the steps described below:
  • Open VMware Workstation.
  • From the Workstation application menu, select 'Edit'.
  • Select 'Virtual Network Editor':
  • ​

                                   
    登录/注册后可看大图
  • Select 'Add Network'.
  • Select 'OK' to use the next available virtual network name ('vmnet1' by default).
  • NOTE: 'vmnet1' here assumes that no non-default virtual networks have yet been created.  If 'vmnet1' already exists adjust the numbering here and below incrementally based on the first available network number.
  • Clear (un-check) the 'Use local DHCP...' option box.
  • Enter '172.16.1.0' in the 'Subnet IP' box.
  • Keep the default subnet mask of '255.255.255.0'.
  • Select 'OK'.
  • Select 'Apply' to create the new virtual network.
  •          Repeat steps 5 through 9 to create three additional virtual networks needed by VIRL with the subnets addresses:         
    • Use '172.16.2.0' for 'vmnet2'.
    • Use '172.16.3.0' for 'vmnet3'.
    • Use '172.16.10.0' for 'vmnet4'.
  • Select 'OK' to close the Virtual Network Editor.
VideoLightBox GalleryVideo Popup Window by VideoLightBox.com v3.0m


STEP 4:  Deploy the VIRL OVA
The VIRL OVA for PCs is deployed to VMware Workstation and the required resources are mapped to the VIRL virtual machine using the steps described below.
  • Locate the downloaded VIRL OVA for PCs.
  • Select 'Open a Virtual Machine'.
  • Browse to the VIRL OVA and select 'Open'.
  • Verify or change the virtual machine name and storage path, then select 'Import'.
  • NOTE:  The OVA import process can take anywhere from a few minutes to an hour depending upon the performance of the target host.
  • When the import is complete select 'Edit virtual machine settings'.
  • NOTE:  'Network Adapter 1' will be used for Internet and host connectivity and should not be modified.
  • Select 'Network Adapter 2' and assign it to custom network 'vmnet1'.
  • Select 'Network Adapter 3' and assign it to custom network 'vmnet2'.
  • Select 'Network Adapter 4' and assign it to custom network 'vmnet3'.
  • Select 'Network Adapter 5' and assign it to custom network 'vmnet4'.
  • Select 'Processors'.
  • If desired, adapt the number of processor cores and the amount of memory to suit your hardware capabilities.
  • NOTE:  The VIRL virtual machine requires at least 2 vCPUs and 4GB of memory dedicated to its operation in order to run. For acceptable performance 4 vCPUs and 8GB or more are recommended (these are the defaults).  Ignore the memory recommendations provided by Workstation.
  • Confirm that the 'Virtualize Intel VT-x/EPT...' option is enabled.
  • Select 'OK' to finish the VIRL OVA deployment.


VideoLightBox GalleryVideo Popup Window by VideoLightBox.com v3.0m




STEP 5:  Verify that VIRL is ready for activation and configuration
To verify that the VIRL virtual machine is ready to proceed with activation and further configuration perform the validation steps described below:
  • The newly deployed VIRL virtual machine console should be presented after the deployment process is complete.  Start the VIRL virtual machine by selecting the large play-button:
  • ​

                                   
    登录/注册后可看大图
  • NOTE:  Depending on the version of VMware Workstation you are using you may be prompted to upgrade the virtual machine.  It is safe to allow this upgrade.
  • Login to the newly deployed VIRL virtual machine using username 'virl', password 'VIRL'.
  • NOTE:  The Ubuntu Software Updater may start automatically upon login.  It is safe to close the Updater and continue with the installation.
  • Double-click the 'xterm' icon to open a terminal window.
  • Maximize the terminal window so as to best view command output.
  • Enter the command sudo kvm-ok
  • Confirm that 'KVM acceleration can be used' is displayed.
  • WARNING: If KVM acceleration is not enabled do not proceed.  Return and determine that all prerequisites were met and all prior installation steps were followed.
  • Enter the command ping -c 4 www.cisco.com to confirm that Internet connectivity and name resolution exist.
  • WARNING: If connectivity is not confirmed return and ensure that the static IP and proxy configurations are correct.
  • Enter the command nova service-list and confirm that five services are listed with a status of 'enabled' and 'up'.
  • WARNING: If the any Nova services are missing, disabled, or down reboot the virtual machine by entering the command sudo reboot now, wait one minute, login, open 'xterm', and enter the command nova service-list again.
  • If the Nova services are still not present and enabled return and confirm that all previous installation steps were completed successfully.
  •           The system clock must be set and the NTP daemon must be associated with a trusted peer:         
    • Stop the NTP daemon:  sudo service ntp stop
    • Synchronize the system clock to a trusted time source:  sudo ntpdate -s pool.ntp.org
    • NOTE:  Use an NTP server that is appropriate to your organization and reachable.  NTP.org maintains a global, highly resilient pool of NTP servers reachable at 'pool.ntp.org'
    • Restart the NTP daemon:  sudo service ntp start
  • Enter exit to close the terminal window.


VideoLightBox GalleryVideo Popup Window by VideoLightBox.com v3.0m




STEP 6:  Activate VIRL
VIRL must be activated prior to use by connecting to the VIRL Salt infrastructure using the steps described below:
  • Download and locate the VIRL license Salt-key included with your purchase.
  • NOTE:  The VIRL license Salt-Key will have the format 'key-id.domain.tld.pem'. For example 'AB12CD35.virl.info.pem'.
  • Double-click the 'IP Address' icon from the console of the VIRL VM.
  • Make note of the IP address being used by VIRL.
  • ​

                                   
    登录/注册后可看大图
  • Close the terminal window.
  • Open a web browser on your PC or laptop and navigate to the VIRL VM's  IP address.
  • Choose 'User Workspace Management' from the VIRL Server web-page.
  • Login to the User Workspace Management using username 'uwmadmin' and password 'password'.
  • Select 'Salt status'.
  • Select 'Reset Keys and ID'.
  • Cut and paste the name of the license key file (not including '.pem') provided with your purchase as the 'Salt ID and Domain'.  For example 'AB12CD35.virl.info'.
  • Enter your email address for the 'Customer email Address' field.
  • Enter the list of Cisco salt-masters with which to register.
  • NOTE:           Enter at least two fully-qualified, geography-appropriate names from the list provided with your purchase, such as:         
    • salt-master.cisco.com (US)
    • salt-master-2.cisco.com (US)
    • eu-salt-master.cisco.com (Europe)
    • eu-salt-master-2.cisco.com (Europe)
  • For example:  salt-master.cisco.com, salt-master-2.cisco.com
  • Open the license key file in a text-editor appropriate to your platform.
  • Select and copy the entire contents of the license key file.
  • Close the text editor.
  • Paste the contents of the license key file into the 'Minion private RSA key' field.
  • Select 'Reset' and wait for the status page to appear.
  • NOTE:  The status returned at this point is likely to indicate a failure.  This is normal and the result of the time it takes for the Salt processes to validate the keys.
  • Select 'User Workspace Management' from the top-bar to return to the home page.
  • Select 'Salt status' once again.
  • Select 'Check status now'.
  • Confirm that a valid value for 'Last successful contact' is present and the other fields match those entered previously.
  • WARNING: If no successful contact has been made after several attempts to check the status, or if the other values do not match your license agreement use 'Reset keys and ID' again to ensure that the proper values have been entered.
  • If still unsuccessful confirm that all of the preceding installation steps finished successfully and / or contact the Cisco support facilities.
  • NOTE:  VIRL will attempt to contact  the Cisco salt-masters automatically and with each successful attempt a timer is started allowing VIRL to operate for another seven days 'off-net'.
  • After four days without contacting the salt-masters  a warning will be provided  in VM Maestro and in the User Workspace Management interface.
  • After seven days VIRL will no longer allow simulations to be started until such time as a connection to the salt-masters is completed.
  • Close the Internet browser.

VideoLightBox GalleryVideo Popup Window by VideoLightBox.com v3.0m





STEP 7:  Finalize the VIRL Configuration
VIRL is now ready to be configured with the Salt parameters and any other customizations entered previously using the steps illustrated and described below:
  • Return to the VIRL virtual machine console.
  • Double-click '1 - Install Networking'.
  • NOTE:  VIRL will now be configured according to the customized network settings defined previously.  The terminal window will close upon completion.
  • Double-click '2 - Reboot'
  • Login to the newly deployed VIRL virtual machine using username 'virl', password 'VIRL'.
  • Double-click '3 - Install Changes'.
  • NOTE:  VIRL will now be configured according to the customized deployment settings defined previously.  This step may take several or more minutes to complete depending on Internet bandwidth.  The terminal window will close upon completion.
  • Double-click '4 - Reboot'.

VideoLightBox GalleryVideo Popup Window by VideoLightBox.com v3.0m




STEP 8:  Validate the VIRL Installation
To validate that VIRL has been successfully installed and configured follow the steps described below:
  • Double-click the 'xterm' icon to open a terminal window.
  • Enter neutron agent-list to display the OpenStack network agent status.
  •          Verify that for each agent the '         alive         ' status is '         :-)         '.  There should be a          minimum of four           Neutron agents present (there may be more than four).  These are:         
    • linux-bridge-agent
    • Metadata agent
    • DHCP agent
    • L3 agent
  • WARNING:          If you do not see the correct status:         
    • Wait 30 seconds and try again.
    • If the status is not correct after ~90s enter sudo salt-call state.sls openstack-restart
    • Wait 90s and enter neutron agent-list again.
    • Do not proceed until the status for each network agent is ':-)'.  Return and verify the successful completion of the prior installation steps if necessary.
  • Enter sudo virl_health_status | grep listening to display status of the VIRL services.
  • Verify that the STD and UWM services are 'listening'.
  • WARNING:           Both the STD and UWM services should be reported as '         listening         '.  If either service is missing from the report:         
    • Enter the command sudo service virl-std restart and / or sudo service virl-uwm restart, as needed.
    • Enter the command sudo virl_health_status | grep listening to confirm that both services are 'listening'.
    • Do not proceed if either the STD or UWM services are not reported.  Return and verify the successful completion of the prior installation steps if necessary.
  • Enter sudo virl_health_status | grep -A 4 -e hostid -e product to display host and licensing information.
  •          Verify that the following values match those specified in your license agreement:         
    • ''hostid' must match the salt-id and domain, as provided with your purchase.
    • 'product-capacity' should indicate the number of nodes allowed by your license agreement.
    • 'product-expires' should be '7'.
    • NOTE:  'product-expires' indicates the maximum number of days that VIRL will permit simulations to be launched without contacting the Cisco VIRL Salt servers.
  • Enter exit to close the terminal window.

VideoLightBox GalleryVideo Popup Window by VideoLightBox.com v3.0m




Step 9:  Install and configure VM Maestro
VM Maestro is the client-side application that is used to build topologies, generate configurations and visualizations, and manage simulations that execute on the VIRL host or virtual machine.
VM Maestro is packaged with VIRL and is available for installation on Windows, OS X, and Linux platforms.
The steps necessary to obtain and configure VM Maestro so that it communicates with the VIRL host or virtual machine are described below:
  • If the IP address of the VIRL virtual machine has not already been recorded double-click the 'IP Address' icon and make note of the address presented.
  • Open a web browser and navigate to the VIRL virtual machine's IP address.
  • Select 'VM Maestro Clients' from the list of options.
  • Download and install the VM Maestro client using the image and method appropriate for your local platform.
  • NOTE:           The installation procedure varies by platform but the steps should be familiar and are not described here.  In general:         
    • The Windows packages are installer-based as is common with Windows applications.
    • The Mac OS X package is a disk-image (.dmg), the contents of which can be moved to the /Applications directory and includes the executable 'vmmaestro' - It may be necessary to adjust the Mac OS X security settings to allow downloaded applications to be run.
    • The Linux package is a tarball which must be extracted and includes the executable 'vmmaestro' which can be run directly.
  • Open VM Maestro and acknowledge any security warnings which may appear:
  • ​

                                   
    登录/注册后可看大图
  • Read and acknowledge the License Agreement.
  • When prompted for the server's address enter the IP address of the VIRL virtual machine recorded previously.
  • Select 'OK'.
  • Select 'OK' to use the default user name 'guest' and password 'guest' presented in the login dialog.
  • NOTE:  If there is an existing installation of VM Maestro then the above licensing and credentials dialogs may not be presented.
  • In that case, after Step 11 below the Web Services dialog box will include an 'Add'         icon that can be used to enter a new address:
  • ​

                                   
    登录/注册后可看大图
  • After adding a new VIRL server IP use the Credentials button to enter the default user name 'guest' and password 'guest':
  • ​

                                   
    登录/注册后可看大图
  • Select the credentials button (labeled 'guest') in the lower-right of the application window.
  • Confirm that each of the Web Services shows as 'Compatible' in green.
  • Select 'OK' to complete the VM Maestro configuration.
  • Visit the Tutorials (at the left) for more guidance on how to use VIRL and VM Maestro



沙发 2014-12-4 11:56:02 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2014-12-4 12:44:08 | 显示全部楼层
200刀还好,重点是~~ 200刀一年!  太黑!
板凳 2014-12-4 12:44:08 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2014-12-4 13:13:30 | 显示全部楼层
拿分走人呵呵,楼下继续!
地板 2014-12-4 13:13:30 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2014-12-4 14:04:41 | 显示全部楼层
拿分走人呵呵,楼下继续!
6# 2014-12-4 14:04:41 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2014-12-18 16:09:19 | 显示全部楼层
太棒了,感谢楼主
7# 2014-12-18 16:09:19 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2015-7-21 19:33:05 | 显示全部楼层
太棒了,感谢分享!!
8# 2015-7-21 19:33:05 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2015-11-15 22:10:29 | 显示全部楼层
不错,又占了一个沙发!
10# 2015-11-15 22:10:29 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2015-12-31 14:20:56 | 显示全部楼层
看了LZ的帖子,我只想说一句很好很强大!
11# 2015-12-31 14:20:56 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2016-2-29 11:20:11 | 显示全部楼层
也搞个中文的文档,翻译一下也好,直接粘贴复制不好的。当然还是谢谢分享
12# 2016-2-29 11:20:11 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2016-3-21 13:41:47 | 显示全部楼层
贵是鬼的来要死
13# 2016-3-21 13:41:47 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2016-3-21 13:42:42 | 显示全部楼层
这tmd 一年200刀啊
14# 2016-3-21 13:42:42 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2016-4-9 17:17:50 | 显示全部楼层
为什么我的装了,总是报个java错误,有谁知道
15# 2016-4-9 17:17:50 回复 收起回复
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 论坛注册

本版积分规则

QQ|Archiver|手机版|小黑屋|sitemap|鸿鹄论坛 ( 京ICP备14027439号 )  

GMT+8, 2024-4-16 18:25 , Processed in 0.064663 second(s), 8 queries , Redis On.  

  Powered by Discuz!

  © 2001-2024 HH010.COM

快速回复 返回顶部 返回列表