Maosen 发表于 2019-12-24 11:29:46

Alcatel/Nokia VSR

【说明】

本教程基于以下版本,其他版本也支持

EVE Image Name Downloaded FilenameVersion vCPUs vRAM
timos-14.0.R7 TiMOS-SR-14.0.R7-vm.zip
timos-15.0.R3 TiMOS-SR-15.0.R3-vm.zip


【操作步骤】
确保EVE-NG是最新版,使用如下命令升级apt-get update
apt-get upgrade
用FileZilla或者WinSCP上传image,root账户登录到EVE-NG,解压zip

mkdir tmpcd tmp
unzip ../TiMOS-SR-14.0.R7-vm.zip
创建文件夹
mkdir -p /opt/unetlab/addons/qemu/timos-14.0.R7

清理临时文件并修复权限
cd ..rm -rf tmp
给image添加licenseguestfish -a /opt/unetlab/addons/qemu/timos-14.0.R7/hda.qcow2
mount /dev/sda1 /
按“i”键编辑文本,把license粘进去,按“ESC”键,输入“:x!”关闭并保存文本。
【使用方法】
默认登录帐号:用户名:admin密   码:admin添加 Nokia 7750 SR CPM node:在EVE左侧导航栏按“+”添加一个node,或者在拓扑空白区域按右键添加
通常情况下,默认的template就可以,但是你需要做一些适配更改管理地址检查– Check if the correct license is choosen (same version then image release)The default deployment of the Nokia 7750 VSR-SIM (vSim) is a 7750 SR12 as a distributed model.
That means, that the CPM (control processing module) and the IOMs (Input Output Modul) are separeted into 2 VMs and connected via the SF (Switching Fabric) To use a different chassis, you can edit the TimosLine for different chassis:
Supported chassis can be found in appendix C of the VSR INSTALLATION AND SETUP GUIDEIf You pasted your license into the image, fill the field Timos license with value:cf3:\lichttps://www.eve-ng.net/images/Nokia/AddCPM.gifAdd a Nokia 7750 SR IOM and connect to CPM:The default deployment of the Nokia 7750 VSR-SIM (vSim) is a distributed model.
That means, that the CPM (control processing module) and the IOMs (Input Output Modul) are separeted into 2 VMs and connected via the SF (Switching Fabric) In the TimosLine you can configure any supported card for the selected chassis.– Check for the same image release as the CPM– Check dependency for software release and “Hardware” (e.g. CPM5 and R12 is not possible)Connect CPM and IOM via the plug-symbol (just draw a connection) on the SF Port https://www.eve-ng.net/images/Nokia/AddIOMandConnect.gifAdd multiple IOMs and connect to CPM:If you have to add more then one IOM, you have to add a Network (which is basicly a linux-bridge). That is because the CPM/IOM has only one switching fabric port.Use the Network: “Bridge” https://www.eve-ng.net/images/Nokia/multiple_ioms.gifAdd a Network and connect to CPM:Add a ManagementNet to your Cpm’s!
The ManagementNet is needed to reach the license-server, or the reachability vis ssh.The network Management is a bridge on the host which is attached to eht0.
The network Cloud 1 is a bridge on the host which is attached to eth1 and so on…. Optional: a local license on the server is also possiblehttps://www.eve-ng.net/images/Nokia/AddNetandConnect.gifInterconnect Nodes:Interconnecting is realised just by just drawing a connection via the plug-symbol (just draw a connection)Interconnecting is only possible when the VM/Node is stoppedhttps://www.eve-ng.net/images/Nokia/conect2nodes.gifConfigure your configured Cards:After booting, you can configure your node as you would expect it from “real” hardware.https://www.eve-ng.net/images/Nokia/configure_card.gifSome information for Timos line:SMBIOS provides a convenient way to pass VSR-specific configuration information
from the host to the guest so that it is available to VSR software when it boots. When
a VSR VM is started, the VSR software reads the product entry of the SMBIOS
system block. If the product entry begins with ‘TIMOS:’ (without the quotes and case
insensitive), VSR recognizes the string that follows as containing important
initialization information. The string following the ‘TIMOS:’ characters contains one
or more attribute-value pairs formatted as follows:
attribute1=value1 attribute2=value2 attribute3=value3
This pattern continues until all attributes have been specified. This is for the VSR-I/D <- This is the easy part:https://www.eve-ng.net/images/Nokia/vsr_timos.pngFor the VSR-SIM (Nokia 7750 VSR CPM/IOM) it is more depending on Chassis that you want to virtualize and the SoftwareRelease.This picture contains the most possible options, but remind that not all chassis accept any type of card or mda… https://www.eve-ng.net/images/Nokia/vsr_sim_timos.pngIn principle, it could look like something like this:Virtual machine 1 (CPM A)
TIMOS:slot=A chassis=SR-7 card=sfm3-7Virtual machine 2 (CPM B)
TIMOS:slot=B chassis=SR-7 card=sfm3-7Virtual machine 3 (IOM 1)
TIMOS:slot=1 chassis=SR-7 card=iom3-xp mda/1=isa-tunnel mda/2=m1-10gb-xfpVirtual machine 4 (IOM 2)
TIMOS:slot=2 chassis=SR-7 card=iom3-xp mda/1=isa-tunnel mda/2=m1-10gb-xfp




sorp 发表于 2020-1-2 10:01:14

按照要求配好了7750的EVE-NG以后,没有config权限,是否是因为没有license的原因?

bigrook123 发表于 2020-3-8 03:06:16

mount /dev/sda1 / 这个是什么意思?

hpmimi 发表于 2020-8-14 07:08:55

感谢楼主

alks 发表于 2020-8-25 18:44:09

学习一下,了解看看

Bonperfect 发表于 2020-10-12 16:08:34

看不懂哈哈,搞不定

ylk19960920q 发表于 2021-11-30 21:48:51

主要问题就是缺少license

xinleiwang 发表于 2022-5-27 10:57:11

66666666666。太棒啦。

tao7881 发表于 2022-12-16 20:29:58

学习了,谢谢

tao7881 发表于 2022-12-16 20:31:13

学习了,谢谢,在哪能找到licent
页: [1] 2
查看完整版本: Alcatel/Nokia VSR