中文字幕av专区_日韩电影在线播放_精品国产精品久久一区免费式_av在线免费观看网站

溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務條款》

在Qemu上安裝Cisco CSR 1000v

發布時間:2020-07-12 22:36:23 來源:網絡 閱讀:2464 作者:Mark_L_Zhang 欄目:移動開發

Cisco CSR 1000v Installation on Qemu Virtual Machine

AUGUST 18, 2013 5 COMMENTS

The Cisco IOS XE Release 3.10 brings support for Kernel Based Virtual Machine (KVM) hypervisor. Thanks to the this awesome enhancement, Cisco CSR 1000v running IOS XE  3.10 can be easily connected to devices running inside GNS3 topology.  The goal of this tutorial is to install CSR 1000v IOS XE 3.10 on a virtual machine that is run by Qemu hypervisor. As the both Guest and Host CPU are the same x86 architecture, Qemu can use kvm for hardware assisted virtualization. In a last part of the tutorial we will configure GNS3 to support CSR 1000v Qemu Virtual machine and test connection between CSR 1000v and Cisco 3725  both running inside GNS3.

REQUIREMENTS

1. Hardware Requirements

  • Computer with at least 6 GB RAM
  • Each CSR 1000v Virtual machine consumes 4 GB RAM plus 2 GB RAM for OS and installed applications e.g. GNS3, Dynamips
  • Processor with built-in hardware virtualization support (VT-x or AMD-V)

2. Software Requirements

  • Linux Fedora 17 x86-64 (or any other x86 or x86-64 Linux) with working KVM and Qemu installation
  • KVM installation on Fedora Linux 
  • Qemu installation on Fedora Linux
  • GNS3 0.8.4 configured for Qemu and Dynamips hypervisor support
  • Dynamips installation on Fedora Linux
  •  Qemu 1.6.0 compiled for i386 support (Qemu 0.12 is oficially supported in a CSR 1000v  software configuration guide)
  •  Dynamips 0.2.8-RC7-x86_64.bin
  •  CSR 1000v IOS XE Release 3.10.0S  - Download Page

Cisco CSR 1000v Installation on Qemu Virtual Machine

1. Create Qemu Virtual Machine

/usr/local/bin/qemu-img create -f qcow2 ./CSR_1000v.img 8G

2. Start Qemu Virtual Machine

/usr/local/bin/qemu-system-i386 -boot d CSR_1000v.img -enable-kvm -m 4096M -cpu Nehalem -smp 4,sockets=4,cores=1,threads=1 -device virtio-net-pci,mac=00:00:ab:c1:bd:02 -device virtio-net-pci,mac=00:00:ab:2c:41:03 -cdrom ~/csr1000v-universalk9.03.10.00.S.153-3.S-ext.iso

The command start a Qemu Virtual machine with attached CSR installation ISO image. Qemu 32 bit binary may be used to run a Virtual machine but CPU model Nehalem must be explicitly configured. Also be aware of RAM requirement. If less than RAM 4096 MB is assigned to a Virtual machine, installation fails. Finally, CSR 1000v IOS XE Release 3.10 only supports virtio-net-pci NIC model for kvm hypervisor.

在Qemu上安裝Cisco CSR 1000v

Picture 1 – CSR 1000v Boot Window

CSR 1000v is installed automatically. Once finished, it will restart and finally the router prompt appears.

在Qemu上安裝Cisco CSR 1000v

Picture 2 – Prompt Window

3. After Install Tasks – License Activation and Direct IOS output to a Serial Port

Cisco CSR 1000v license model and benefits of activation an evaluation license is explained here in more details. To activate evaluation license, us the following command:

CSR_1000v(config)#license boot level premium

Save configuration and reboot a router with the reload command. In order to  direct IOS output to serial port use the following command:

CSR_1000v(config)#platform console serial

Save configuration with the write command:

CSR_1000v(config)#do write

GNS3 Qemu Guest Virtual Machine Configuration

Navigate to Edit-> Preferences-> Qemu-> General Settings. Assuming that you Qemu installation is working configure GNS3 Qemu settings as following:

在Qemu上安裝Cisco CSR 1000v

Picture 3 – Qemu General Settings

Click on the Test button to check if you configured Qemu General settings properly. If yes, GNS3 will show the message All components have successfully started.

Navigate to Edit-> Preferences-> Qemu-> Qemu Guest and configure your Qemu guest settings as following.

在Qemu上安裝Cisco CSR 1000v

Picture 4 – Qemu Guest Settings

Testing Connection between Cisco CSR 1000v and 3725 routers

Drag and drop both routers on the GSN3 desktop. Start routers and configure them according the network diagram.

在Qemu上安裝Cisco CSR 1000v

Picture 5 – Network Topology

Be aware that CSR 1000v reserves interface GigabitEthernet 0 for management purpose so use interface GigabitEthernet 1 instead for connection to the Cisco 3725 router. As we previously configured CSR 1000v to direct IOS output to serial port, you can use the serial console. Right click on the device and select option Console.

1. Configure the Hostname, CDP Protocol and the IP Address for the Interface GigabitEthernet 1 of the Cisco CSR 1000v

Router>enable
Router#conf t
Router(config)#hostname CSR_1000v
CSR_1000v(config)#cdp run
CSR_1000v(config)#interface GigabitEthernet 1
CSR_1000v(config-if)#ip address 10.10.10.2 255.255.255.252
CSR_1000v(config-if)#cdp enable
CSR_1000v(config-if)#no shutdown
CSR_1000v(config-if)#do write

2. Configure the Hostname and the IP Address for the Interface FastEthernet 0/0 of the Cisco 3725 Router

Router>enable
Router#conf t
Router(config)#hostname c3725
c3725(config)#interface FastEthernet 0/0
c3725(config-if)#ip address 10.10.10.1 255.255.255.252
c3725(config-if)#no shutdown
c3725(config-if)#do write

3. Check if the Layer 2 and 3 Connection is Established between the Routers

If the Layer 2 connection is established between routers and CDP protocol is enabled on CSR 1000v, it should appear in the output of show cdp neigbours command issed on the Cisco 3725. Similarly, if Layer 3 connection is established between routers, we should be able to successfully ping ip address of CSR 1000v GigabitEthernet interface 10.10.10.2

在Qemu上安裝Cisco CSR 1000v

Picture 6 –  Checking Connection between the Routers

轉自:http://brezular.wordpress.com/2013/08/18/cisco-csr-1000v-installation-on-qemu-virtual-machine/

向AI問一下細節

免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。

sr 00
AI

信丰县| 东乡族自治县| 承德县| 库伦旗| 平舆县| 中卫市| 香港| 阳山县| 黎城县| 鹤庆县| 若尔盖县| 临桂县| 咸丰县| 寿宁县| 甘孜| 普陀区| 长治县| 古蔺县| 嫩江县| 辽宁省| 华蓥市| 闸北区| 南溪县| 额尔古纳市| 元朗区| 广灵县| 密山市| 新乡市| 申扎县| 文化| 榆林市| 康平县| 霍林郭勒市| 黄石市| 北票市| 宝应县| 海城市| 乐东| 丘北县| 乐陵市| 蛟河市|