Unetlab下导入镜像

1.Dynamips
把image文件通过WinSCP软件放入虚拟机的/opt/unetlab/addons/dynamips文件夹里,在虚拟机上使用/opt/unetlab/wrappers/unl_wrapper -a fixpermissions修正文件权限。


2.IOL
把bin文件CiscoIOUKeygen.py通过WinSCP软件放入虚拟机的/opt/unetlab/addons/iol/bin文件夹里,设置文件权限0755。
cd /opt/unetlab/addons/iol/bin
python CiscoIOUKeygen.py
创建iourc文件,把计算出来的license粘贴到文件中放入/opt/unetlab/addons/iol/bin。
[license]
xxx = xxxxxxxxxxxxxxxx;
在虚拟机上使用/opt/unetlab/wrappers/unl_wrapper -a fixpermissions修正文件权限。


3.qemu
以导入ASA 8.42版本镜像为例,首先需要在qemu目录中建立相应文件夹。文件夹名为asa-8.42。 之后,将ASA镜像文件hda.qcow2与hdb.qcow2放入该文件夹中,并执行命令修复权限:/opt/unetlab/wrappers/unl_wrapper -a fixpermissions
目录名称应符合以下规则:
‘a10’ => ‘A10 vThunder’,
‘clearpass’ => ‘Aruba ClearPass’,
‘timos’ => ‘Alcatel 7750 SR’,
‘veos’ => ‘Arista vEOS’,
‘brocadevadx’ => ‘Brocade vADX’,
‘cpsg’ => ‘CheckPoint Security Gateway VE’,
‘asa’ => ‘Cisco ASA’,
‘asav’ => ‘Cisco ASAv’,
‘csr1000v’ => ‘Cisco CSR 1000V’,
‘cips’ => ‘Cisco IPS’,
‘c1710’ => ‘Cisco IOS 1710 (Dynamips)’,
‘c3725’ => ‘Cisco IOS 3725 (Dynamips)’,
‘c7200’ => ‘Cisco IOS 7206VXR (Dynamips)’,
‘iol’ => ‘Cisco IOL’,
‘titanium’ => ‘Cisco NX-OSv (Titanium)’,
‘sourcefire’ => ‘Cisco Sourcefire’,
‘vios’ => ‘Cisco vIOS’,
‘viosl2’ => ‘Cisco vIOS L2’,
‘vwlc’ => ‘Cisco vWLC’,
//’vwaas’ => ‘Cisco vWAAS’,
‘coeus’ => ‘Cisco Web Security Appliance’,
‘xrv’ => ‘Cisco XRv’,
‘nsvpx’ => ‘Citrix Netscaler’,
‘extremexos’ => ‘ExtremeXOS’,
‘bigip’ => ‘F5 BIG-IP LTM VE’,
‘fortinet’ => ‘Fortinet FortiGate’,
‘hpvsr’ => ‘HP VSR1000’,
‘olive’ => ‘Juniper Olive’,
‘vmx’ => ‘Juniper vMX’,
‘vsrx’ => ‘Juniper vSRX’,
‘paloalto’ => ‘Palo Alto VM-100 Firewall’,
‘vyos’ => ‘VyOS’,
‘esxi’ => ‘VMware ESXi’,
‘win’ => ‘Windows’



 

posted @ 2017-05-16 11:58  vfoLee  阅读(742)  评论(0编辑  收藏  举报