안녕하세요
csr1000v-universalk9.16.09.05 버전을 설치 해 보도록 하겠습니다.
cisco software download 센터에 가서 iso파일을 다운 받도록 하겠습니다.
받은 iso 파일은 아래 위치에 복사를 했습니다.
root@eve-ng:~# mkdir abc
root@eve-ng:~# cd abc
root@eve-ng:~/abc# /opt/qemu/bin/qemu-img create -f qcow2 virtioa.qcow2 8G
Formatting 'virtioa.qcow2', fmt=qcow2 size=8589934592 encryption=off cluster_size=65536 lazy_refcounts=off refcount_bits=16
root@eve-ng:~/abc# /opt/qemu-2.2.0/bin/qemu-system-x86_64 -nographic -drive file=virtioa.qcow2,if=virtio,bus=0,unit=0,cache=none -machine type=pc-1.0,accel=kvm -serial mon:stdio -nographic -nodefconfig -nodefaults -rtc base=utc -cdrom csr1000v-universalk9.16.09.05.iso -boot order=dc -m 3072
(process:30466): GLib-WARNING **: /build/glib2.0-pjKWYQ/glib2.0-2.48.2/./glib/gmem.c:483: custom memory allocation vtable not supported
Press any key to continue.
Press any key to continue.
GNU GRUB version 0.97 (639K lower / 3144696K upper memory)
+-------------------------------------------------------------------------+
| csr1000v Virtual (VGA) Console -- 2020-01-30_19.02 |
| csr1000v Serial Console -- 2020-01-30_19.02 방향키로 serial console을 선택합니다.
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
+-------------------------------------------------------------------------+
Use the ^ and v keys to select which entry is highlighted.
Press enter to boot the selected OS, or 'c' for a command-line.
Booting 'csr1000v Serial Console -- 2020-01-30_19.02'
root (cd)
Filesystem type is iso9660, using whole disk
kernel /packages.conf rw root=/dev/ram quiet console= max_loop=64 HARDWARE=virt
ual SR_BOOT=cdrom0:packages.conf
Calculating SHA-1 hash...done
SHA-1 hash:
calculated a91b96b9:fff9b2c2:46e9065:dd3449d5:45033654
expected a91b96b9:fff9b2c2:46e9065:dd3449d5:45033654
package header rev 3 structure detected
Calculating SHA-1 hash...done
SHA-1 hash:
calculated 4867a73e:fe4a73d5:b135570e:1cc66e25:91aec7ed
expected 4867a73e:fe4a73d5:b135570e:1cc66e25:91aec7ed
Package type:0x7531, flags:0x0
[Linux-bzImage, setup=0x3c00, size=0x522df0]
[isord @ 0x7dea4000, 0x214b119 bytes]
%IOSXEBOOT-4-WAIT_FOR_DEVICES: (local/local): Partition "/dev/bootflash1" missing at 20200501023720 Continuing to initialization
%IOSXEBOOT-4-PART_INVALID: (local/local): /dev/bootflash has an invalid partition table that must be repaired.
%IOSXEBOOT-4-PART_REPAIR: (local/local): The system will repair /dev/bootflash now.
%IOSXEBOOT-4-PART_REPAIR: (local/local): This may cause loss of data and configuration on /dev/bootflash.
%IOSXEBOOT-4-PART_REPAIR_FINISHED: (local/local): Partitioning complete.
%IOSXEBOOT-4-PART_SEEDNVRAM: (local/local): Seeding nvram [SUCCESS]
%IOSXEBOOT-4-FILESYS_INVALID: (local/local): partition /dev/bootflash1 has an invalid filesystem that must be re-initialized.
%IOSXEBOOT-4-FILESYS_REPAIR: (local/local): The system will repair /dev/bootflash1 now.
%IOSXEBOOT-4-FILESYS_REPAIR: (local/local): This will cause a complete loss of data.
%IOSXEBOOT-4-FILESYS_INVALID: (local/local): partition /dev/bootflash5 has an invalid filesystem that must be re-initialized.
%IOSXEBOOT-4-FILESYS_REPAIR: (local/local): The system will repair /dev/bootflash5 now.
%IOSXEBOOT-4-FILESYS_REPAIR: (local/local): This will cause a complete loss of data.
%IOSXEBOOT-4-FILESYS_INVALID: (local/local): partition /dev/bootflash6 has an invalid filesystem that must be re-initialized.
%IOSXEBOOT-4-FILESYS_REPAIR: (local/local): The system will repair /dev/bootflash6 now.
%IOSXEBOOT-4-FILESYS_REPAIR: (local/local): This will cause a complete loss of data.
%IOSXEBOOT-4-FILESYS_INVALID: (local/local): partition /dev/bootflash7 has an invalid filesystem that must be re-initialized.
%IOSXEBOOT-4-FILESYS_REPAIR: (local/local): The system will repair /dev/bootflash7 now.
%IOSXEBOOT-4-FILESYS_REPAIR: (local/local): This will cause a complete loss of data.
%IOSXEBOOT-4-FILESYS_INVALID: (local/local): partition /dev/bootflash8 has an invalid filesystem that must be re-initialized.
%IOSXEBOOT-4-FILESYS_REPAIR: (local/local): The system will repair /dev/bootflash8 now.
%IOSXEBOOT-4-FILESYS_REPAIR: (local/local): This will cause a complete loss of data.
%IOSXEBOOT-4-FILESYS_INVALID: (local/local): partition /dev/bootflash9 has an invalid filesystem that must be re-initialized.
%IOSXEBOOT-4-FILESYS_REPAIR: (local/local): The system will repair /dev/bootflash9 now.
%IOSXEBOOT-4-FILESYS_REPAIR: (local/local): This will cause a complete loss of data.
%IOSXEBOOT-4-BOOT_SRC: (rp/0): CD-ROM Boot
%IOSXEBOOT-4-BOOT_CDROM: (rp/0): Using Serial console
%IOSXEBOOT-4-BOOT_CDROM: (rp/0): Installing GRUB to /dev/bootflash
%IOSXEBOOT-4-BOOT_CDROM: (rp/0): Copying image to /boot
%IOSXEBOOT-4-BOOT_CDROM: (rp/0): Copying image to /bootflash
%IOSXEBOOT-4-BOOT_CDROM: (rp/0): Creating /boot/grub/menu.lst
%IOSXEBOOT-4-BOOT_CDROM: (rp/0): Ejecting CD-ROM tray
%IOSXEBOOT-4-BOOT_CDROM: (rp/0): CD-ROM Installation finished
%IOSXEBOOT-4-BOOT_CDROM: (rp/0): Rebooting from HD
Press any key to continue. <----------------- 이때 crtl + a 를 누르고 c를 누릅니다.
Press any key to continue.
Press any key to continue.
QEMU 2.2.0 monitor - type 'help' for more information
Press any key to continue.
Press any key to continue.
c
(qemu) quit <----------------- quit를 입력하고 나옵니다.
root@eve-ng:~/abc# mkdir /opt/unetlab/addons/qemu/csr1000vng-universalk9.16.09.05/
root@eve-ng:~/abc# mv virtioa.qcow2 /opt/unetlab/addons/qemu/csr1000vng-universalk9.16.09.05/
root@eve-ng:~/abc# cd
root@eve-ng:~# rm -rf abc
/opt/unetlab/wrappers/unl_wrapper -a fixpermissions
root@eve-ng:~# /opt/unetlab/wrappers/unl_wrapper -a fixpermissions
root@eve-ng:~#
https도 잘 열리네요
설치가 잘 되었습니다.
열공 하시죠~
'IT > Traditional Network' 카테고리의 다른 글
Supported for IOSv,NX-OS etc.. (0) | 2020.05.10 |
---|---|
IOS XE Netflow 설정 (0) | 2020.05.01 |
Anyconnect 로 IPSEC VPN 연결 (0) | 2020.04.27 |
SSL VPN (0) | 2020.04.18 |
cisco switch에서 maintenance mode를 아세요? (0) | 2020.04.07 |