Beruflich Dokumente
Kultur Dokumente
I advertised to you recently another great virtual lab environment Unified Networking Lab with tools like that one I practiced thecool technologies of Alcatel-
Lucent Service Routing platform and prepared tomany certification exams.And I encourage you to go the same way, not just read the books and force the
dumps, but actually build a topology and walk through interesting scenarios.
If you boot a Cisco router like 7210 one, or even Juniper vMX, you could configure some interfaces, protocols and so on right away. With Alcatel-Lucent 7750
SRthis approach doomed tofail, you should know how bring to life7750 virtual Service Router (vSR) once you booted it before any further configuration steps.
And this short post will be just about that, what should you configure on 7750 SR after the first boot to make it running with Unetlab or GNS3?
Once you boot a virtual Alcatel-Lucent 7750 SRrouter it comes up with a crystalclear configuration. To provision it with basic and necessary configuration follow
these steps.
1 A:vRR#configuresystemnameALU_R1
2 *A:ALU_R1#
Provision hardware
Virtual Alcatel-Lucent 7750 SR router emulates 7750 SR-12 model and uses the common for this series hardware
decomposition:
Default configuration has no IOMs and MDAs provisioned, but has one SFM provisoned in slot A. And system tells us
that it feels IOM ( iom3xpb ) in its slot #1:
http://noshut.ru/2015/09/alcatellucent7750srtimosfirstbootprovisioning/ 1/11
17/2/2017 Nokia(AlcatelLucent)virtual7750SR(vRR/vSR,TiMOS)firstbootprovisioning|NetworkinginaServiceProviderway
1 *A:ALU_R1#showcard
2
3 ===============================================================================
4 CardSummary
5 ===============================================================================
6 SlotProvisionedTypeAdminOperationalComments
7 EquippedType(ifdifferent)StateState
8
9 1(notprovisioned)upunprovisioned
10 iom3xpb
11 Asfm412upup/active
12 Bsfm412updown/standby
13 (notequipped)
14 ===============================================================================
So, we have SFM which is Central Processing Module for control plane operations and IOM for data plane, but IOM is not provisioned, fix it:
1 *A:ALU_R1#configurecard1
2 *A:ALU_R1>config>card#cardtype"iom3xpb"
3 *A:ALU_R1>config>card#mda1mdatype"m51gbsfpb"
4 *A:ALU_R1>config>card#info
5
6 cardtypeiom3xpb
7 mda1
8 mdatypem51gbsfpb
9 noshutdown
10 exit
11 noshutdown
12
This configuration emulates MDA with 5 Gigabit Ethernet ports in it, which means you can use ports from 1/1/1 to 1/1/5 .
You cant use more that 5 GE ports with current release of Virtual 7750 SR.
1 *A:ALU_R1#showport
2
3 ===============================================================================
4 PortsonSlot1
5 ===============================================================================
6 PortAdminLinkPortCfgOperLAG/PortPortPortC/QS/S/XFP/
7 IdStateStateMTUMTUBndlModeEncpTypeMDIMDX
8
9 1/1/1DownNoDown89368936netwnullxcmeGIGELX10KM
10 1/1/2DownNoDown89368936netwnullxcmeGIGELX10KM
11 1/1/3DownNoDown89368936netwnullxcmeGIGELX10KM
12 1/1/4DownNoDown89368936netwnullxcmeGIGELX10KM
13 1/1/5DownNoDown89368936netwnullxcmeGIGELX10KM
14
15 ===============================================================================
1 *A:ALU_R1#configureport1/1/[1..5]noshutdown
2 *A:ALU_R1#showport
3
4 ===============================================================================
5 PortsonSlot1
6 ===============================================================================
7 PortAdminLinkPortCfgOperLAG/PortPortPortC/QS/S/XFP/
8 IdStateStateMTUMTUBndlModeEncpTypeMDIMDX
9
10 1/1/1UpYesUp89368936netwnullxcmeGIGELX10KM
11 1/1/2UpYesUp89368936netwnullxcmeGIGELX10KM
12 1/1/3UpYesUp89368936netwnullxcmeGIGELX10KM
13 1/1/4UpYesUp89368936netwnullxcmeGIGELX10KM
14 1/1/5UpYesUp89368936netwnullxcmeGIGELX10KM
15
16 ===============================================================================
1 /configurecard1
2 cardtypeiom3xpb
3 mda1
4 mdatypem51gbsfpb
5 noshutdown
6 exit
7 noshutdown
8 exit
9
10 /configureport1/1/[1..5]noshutdown
http://noshut.ru/2015/09/alcatellucent7750srtimosfirstbootprovisioning/ 2/11
17/2/2017 Nokia(AlcatelLucent)virtual7750SR(vRR/vSR,TiMOS)firstbootprovisioning|NetworkinginaServiceProviderway
About LatestPosts
Roman Dodin
Network engineer at Nokia
53Comments noshut
1 Login
Jointhediscussion
lukmanprihandikaayearago
niceinfoUNLsupportingvSRnow,whichversionoftimosdidyoutryandisitsupportingtilllastversion?
Reply Share
BothR12andR13aresupported
Reply Share
Kwame>RomanDodinayearago
HiRoman:I'vejustaddedR13andwon'tboot.I'veR12aswellandworkinggreat.Noproblems.AddedR13followingexactproceduresfor
R12.
/opt/unetlab/addons/qemu/timos12.0.R6/hda.qcow2
/opt/unetlab/addons/qemu/timos13.0.R6/hda.qcow2
IstheresomespecialtweaksIneedtodotomakeR13work?
Reply Share
Hi!DoyouhaveanyoutputfromR13?Orallyouseeisjustablackscreen?
WithR13itsnecessarytohaveKVMandenablekvmoptionintimos.phptemplate
Reply Share
Kwame>RomanDodinayearago
Hereiswhatisseeandlookslikesomethingtodowith"x2apicisrequired":
Pressanykeytostopautoboot...
0
autobooting...
bootdevice:ata=0,2
unitnumber:0
processornumber:0
hostname:0.0.0.0
filename:cf3:/timos/i386boot.tim
ftppassword(pw):*****
flags(f):0x8
targetname(tn):vRR
startupscript(s):pl=1
other(o):sr12#niente_a_r2_6f,lava_r3|22|0
Bootingfromata=0,2:cf3:/timos/i386boot.tim
Loadingcf3:/timos/i386boot.tim...
seemore
Reply Share
Whathardwareplatformdoyouuse?Isitaworkstation/baremetalserver?Doyourununetlabinvmware/virtualboxoryourunit
nativelyunderUbuntu?
Youranswerscanhelpmetolocalizethepossibleissue,butinthemeantimeyoucantrytoeditqemu_optionsparameterinthe
timos.phpfile(lcoatedhere/opt/unetlab/html/templates/timos.php)inthisway:
http://noshut.ru/2015/09/alcatellucent7750srtimosfirstbootprovisioning/ 3/11
17/2/2017 Nokia(AlcatelLucent)virtual7750SR(vRR/vSR,TiMOS)firstbootprovisioning|NetworkinginaServiceProviderway
timos.phpfile(lcoatedhere/opt/unetlab/html/templates/timos.php)inthisway:
$p['qemu_options']='enablekvmserialmon:stdionographicnodefconfignodefaultsrtcbase=utcnoshutdownbootorder=c
Reply Share
Kwame>RomanDodinayearago
baremetalinstall.willtrytheqemuoptions
wasinsomuchrushI'vescrewedupthe"timos.php"file.didnotsaveitproperlysoittruncated.thelinesafterthe$p['qemu_options']
isallgone:(andinmyhaste&excitementdidnotbackuptheoriginalfile.bummer.
nowayIcanreconstructthatfilesoIprobablyhavetoreinstallunetlab.justgonnatakeupsometime.
Reply Share
Kwame>Kwameayearago
Reinstalledunetlabandtriedyoursuggestioneditingthetimosphpfileenablekvm.noluck.nowthenodeswon'tevenstartandinfact
myotherR12nodeswon'tstartaswell.Iremovedtheenablekvmparameterandstillnoneofthenodeswillstart(bothR12andR13).
MayhavetodoareinstallagaintogetmyR12nodestowork.
Reply Share
1)well,nowweneedtogodeeperandseeifyourHWsupportsKVMvirtualization
toensurethatitdoesyouneedtorun
cat/proc/cpuinfo|grepsvm
cat/proc/cpuinfo|grepvmx
ifanyofthecommandsproducesoutputyouhavevurtualizationHWsupport,whichisgood.
2)seeifx2apicissupported
cat/proc/cpuinfo|grepx2apic
postyourresultshereforreference
Ifyourprocessordoesnotsupportx2apic(nothinggreppedfromcpuinfo),thenIamafraidyouwontbeabletorunTiMOSR13,since
x2apicseemslikesomewhatnecessary.
Reply Share
Kwame>RomanDodinayearago
cat/proc/cpuinfo|grepsvm:producedatonofoutput
cat/proc/cpuinfo|grepvmx:nooutputall
cat/proc/cpuinfo|grepx2apic:nooutputatall
I'veswitchedtoanIntelboxnowandsameresult.haltswiththe"x2apicisrequired"message
Onthisintelbox:
cat/proc/cpuinfo|grepsvm:nooutput
cat/proc/cpuinfo|grepvmx:producedatonofoutput
cat/proc/cpuinfo|grepx2apic:nooutput
Iadded"enablekvm"tothe"timos.php"anditbrokebothR12&R13.Nodeswon'tevenstart.Putbackoriginalscript,nochange.
OnlywayIknowtorecoveristouninstallunetlabandreinstal:(
Reply Share
Kwame>RomanDodinayearago
Stillcan'trunR13despiteswitchingtoahaswellproc.
model:63
modelname:Intel(R)Xeon(R)CPUE52695v3@2.30GHz
Hasx2apicsupportbutbootprocessstillhangingat:
TiMOSBOOTLOADER
platformVmRestrict:unsupportedapicmode(0)
x2apicisrequired
HALTSYSTEM
Reply Share
Ok,sincenowwehavealmostidenticalHWplatformsetupyoushouldtrytomodifytimos.php(https://drive.google.com/file/...makea
backupoforiginaltimos.php.
Reply Share
IcansuggestyoutocheckifKVMvirtualizationactuallyenabledbyyourserverhttp://askubuntu.com/a/104024
andcheckyourserversBIOSsetup,isvirtualizationtechniqueenabled(VTorsomesettingwith"virtualization"wordinit)
http://askubuntu.com/a/256853
Reply Share
http://noshut.ru/2015/09/alcatellucent7750srtimosfirstbootprovisioning/ 4/11
17/2/2017 Nokia(AlcatelLucent)virtual7750SR(vRR/vSR,TiMOS)firstbootprovisioning|NetworkinginaServiceProviderway
Kwame>RomanDodinayearago
Itworks!
First,removedtheselinesfromtimos.php(rifsterpostingcluedmetothis):
if(function_exists('isVirtual')&&isVirtual()){
$p['qemu_options']='machinetype=pc1.0,accel=tcg'
}else{
$p['qemu_options']='machinetype=pc1.0,accel=kvm'
}
Next,addedenablekvmtotheqemuoptions.
Thanksforallyourhelp!
Reply Share
MaheshModak>Kwame3monthsago
Thisbombedeverything.
Belowinputsgivenbyrasputinlvworkedlikecharm.
"
Ihadsameissue,andfoundfixworkedformebychangingthisline:
machinetype=pc
nowallversionsstartjustfine
"
IamusingHPE380Gen9serverwith64GBRAM,RHEL7.2OS.
Reply Share
MaybeyouhaveAMDprocessor?WithAMDyouwontbeabletorunR13
Reply Share
Kwame>RomanDodinayearago
yesprocessorisAMD:
AMDOpteron(tm)Processor6378
Reply Share
Kwame>RomanDodinayearago
justseethismessageonmylinuxhostmachine:
kvmvcpu0disabledperfctrwrmsr:0xc1data0x0
Reply Share
I'mafraidyouwon'tbeabletorunR13withAMDproc.isuggestyoutofindintelpoweredserver,withintelyouwillbeabletorunevery
image
Reply Share
Kwame>RomanDodinayearago
HavetrieditonIntelboxwithsameresult:
Intel(R)Xeon(R)CPUW3550@3.07GHz
Also,Iseethisonmylinuxhostscreen:
kvmvcpu0disabledperfctrwrmsr:0xc1data0x0
Bythewaywhatarethespecsforwhatyouareusing?PerhapsIshouldgogetthesame:)
Reply Share
WhatyourIntelboxsayswhenyouaskitforcat/proc/cpuinfo|grepx2apic?
WeuseHPgen81UnitserverwithXeonCPUsaswell
Reply Share
Kwame>RomanDodinayearago
nooutputwhenIgrepforx2apic.doyougetanyoutputonyours?
Reply Share
yep,Ihavex2apicsupported.
ActuallyseewhatmodelnumberofIntel'sXeondoyouhava?catcpuinfoonemoretimeandlookforModelnumber.
Ihavemodel58,whichisconvertedto0x3AandcorrespondstoIvyBridgemicroarchitecture(seethetable
https://software.intel.com/en...
http://noshut.ru/2015/09/alcatellucent7750srtimosfirstbootprovisioning/ 5/11
17/2/2017 Nokia(AlcatelLucent)virtual7750SR(vRR/vSR,TiMOS)firstbootprovisioning|NetworkinginaServiceProviderway
Whatmodeldoyouhave?x2apicissupportedsinceNehalemarchitecture
Reply Share
Kwame>RomanDodinayearago
Ihavemodel26.Darnit.ToooldIguess.
Reply Share
Maybeyoushouldtryaddthisstringtoqemuparametersfortimos'cpuhost',Icanttellforsurethatthiswillhelp,butworthtrying
Reply Share
Kwame>RomanDodinayearago
Trieditanditbombedeverythinglikebefore.Nodeswon'tstart.IguessIneedtogogetmyselfsomenewIntelprocs.
Reply Share
Sadly,yes.Butanewbaremetalisworththebudget.
Reply Share
rasputinlv>Kwame9monthsago
Ihadsameissue,andfoundfixworkedformebychangingthisline:
machinetype=pc
nowallversionsstartjustfine
IhavedualXeonsandbaremetalinstall.Loveit....
Reply Share
pangjian>RomanDodin7monthsago
timos13.0R6Canyougivemedownloadlink?
thankyou
Reply Share
RuzsinszkyAttila10monthsago
Hi,
IthinkmyvSROSisolder(maybeR6?).
CanIusemorethan5interfaceswiththatversion?
Ifyes,how?
WhenI"pluggedin"newcards/mdasIgot"notequippedorprovisioned".
TIA,
Reply Share
Hi.No,youcannot.5interfacesisallyouhavewiththisvirtualimage.Butyoucanusevlansforaddingmoreinterfaces
Reply Share
RuzsinszkyAttila>RomanDodin10monthsago
OK.Thankyouforyourinformation!
Idon'tknowbutsomethinghappenedwithmyVM:
*A:R1#showuptime
SystemUpTime:0days,21:06:57.34(hr:min:sec))
Reply Share
RuzsinszkyAttila10monthsago
CanIrunthisvSROSimageunderanintelCeleronCore2processor?
Ithinknot.Alwaysrebootingbeforelogin:prompt.
Reply Share
itreallydependsonwhatvirtualizationcapabilitiesdoesthisprochave.andwhatreleasearegoingtobebooted
Reply Share
RuzsinszkyAttila10monthsago
Andanotherquestion:
WhysoslowtheresponsefromtherouterifIconnectedtoitbytelnetorssh?
Itseemslikea1200or2400bpsmodemline...
Reply Share
rasputinlv9monthsago
HIRoman.
http://noshut.ru/2015/09/alcatellucent7750srtimosfirstbootprovisioning/ 6/11
17/2/2017 Nokia(AlcatelLucent)virtual7750SR(vRR/vSR,TiMOS)firstbootprovisioning|NetworkinginaServiceProviderway
Ihavequestionon14RxVMversions.
Itstartsup"fine",butit'skindoffempty,Ican'trunalmostanycommand.
Can'tgettoconfiguremode,can'tshowcard,etc...
AmIdoingsomethingwrong?orsomethingwrongwith14RxVMs?
Thanksanadvance.
Reply Share
Hi!For14releasesyouneedtohaveavalidlicensetobeabletoconfiguresomething.Sosadfactitsunusablewithoutalicense
Reply Share
rasputinlv>RomanDodin9monthsago
wow,ok....
thanksforyourreply.
Reply Share
MaheshModak>RomanDodin3monthsago
HiRoman,
Canyoutellmehowtoloadavalidlicensefilein14Rx&13RxVMversions???
Reply Share
VictorRSanchezM9monthsago
HelloRomanDodinI'dliketothankyouforallyourexcellentposts,andaskyouaquestion:
I'vetriedtoprovisionmultipledifferentCardsandMDAsandalwaysgettingGhoststates,theonlycombinationthatseemstoworkistheonethatyouare
providinghere.ThereasonthatIaskisbecauseIranintoanissuetryingtosetupSAPsformyEPIPEservices.SAPsonlytakeaccessports,butitwon't
letmeassignanaccesporttoaninterfacebecauseitsaysthere'samismatch(network/access)betweentheportandtheinterface.
A:ALU3>config>router>if#port1/1/1
INFO:PIP#1208Mismatchbetweentheportmodeandtheinterfacetypeportmodeaccess,interfacetypenetwork
Isthereawayaroundthis?I'mverynewtoAlcatel.
ThisistheoneI'mrunning:
TiMOSB12.0.R6both/i386ALCATELSR7750Copyright(c)20002014AlcatelLucent.
Allrightsreserved.Allusesubjecttoapplicablelicenseagreements.
BuiltonTueSep3011:10:17PDT2014bybuilderin/rel12.0/b1/R6/panos/main
Thankyou!
Reply Share
HiVictor,
youareright,forvSROSthisistheonlyoptionofconfiguringcardsandmdas1MDAwith5portsatmax.
showmeyourwholeconfigforthiscase,Icantsaywhatiswrongjudgingbyonlythisinfo
Reply Share
VictorRSanchezM>RomanDodin9monthsago
ThankyouforgettingbackatmeRoman,soI'mtryingtosetupanl2vpnbetweenCE1andCE2,thepseudowirewouldbebetweenCSR1
andALU3,thisiswhatIhavesofar:
ALU3config:
port1/1/1
ethernet
encaptypedot1q
modeaccess
exit
noshutdown
router
interface"Gi1:1050"(here,whenItrytoassignport1/1/1:1050tothisinterface,Igettheerrorsayingmismatchbetweenportmodeandinter
type,Ican'tchangetheporttonetworkbecausetheSAPsrequieretheportstobeaccess,andIcan'tfindanyoptiontochangetheinterface
to"access")
noshutdown
exit
interface"Gi2"
seemore
Reply Share
tobindasaptoaninterfaceyoushouldhave`serviceepipe`configured.Youcantbindsaptoainterfaceunderconfigure>router
>interface
Reply Share
http://noshut.ru/2015/09/alcatellucent7750srtimosfirstbootprovisioning/ 7/11
17/2/2017 Nokia(AlcatelLucent)virtual7750SR(vRR/vSR,TiMOS)firstbootprovisioning|NetworkinginaServiceProviderway
VictorRSanchezM>RomanDodin9monthsago
Yes,asshowedonmypreviousreply:
epipe1050customer1create
description"1050P2PCKT"
sap1/1/1:1050create
exit
Reply Share
Yes,andyoudonotneedtobindthisporttothenetworkinterface
Reply Share
VictorRSanchezM>RomanDodin9monthsago
Mmm..okaythenmyproblemmustbesomewhereelse..I'llkeeplooking,thankyouRoman!
Reply Share
Masood3monthsago
Hi,
IamtryingtosetupSR7750v14overVirtualboxandalsotriedvmwareaswell.WhenItriggerafirstboot,IonlyseeBooting...andnothingelse.
IsthereanythingthatIammissinghere?
Regards,
Reply Share
MaheshModak3monthsago
HiRomanDodin,
IsuccessfullyimportedAlcatel7750SRTiMOS13.0.R9&
14.0.R5inUNL.However,afterloggingintothedevice,whenifire
commands"showcard","showmda"&"showport",nothingappears.Can
youtellmehowtoaddIOM&MDAintheseimages.TheyarenotpresentbydefaultlikeTiMOS12.0.R6/R8vSIMimages.
Canyoutellmehowtoloadavalidlicensefilein14Rx&13RxVMversions???
IamrunningUNLonVMWareWorkstationonCentOS7over64GBRAMserver
Reply Share
Hithere!
LastlistingatthispostshowswhatcommandsneedtobeenteredtoconfigureIOMandports.
ThoughforSROSv.14+youneedtohaveavalidlicensetobeabletoenterintoconfigurationmode
Reply Share
MaheshModak>RomanDodin3monthsago
HiRoman,
IamawareaboutthecommandsasItooworkonthesameplatform.Apologiesifmyquerywasambiguous.WhenIfireacommand'show
card',itturnsupblankoutput.Thereisnocardentrywhichis'unprovisioned'.Lookssomethinglikethis..
*A:VRR1#showcard
===============================================================================
CardSummary
===============================================================================
SlotProvisionedTypeAdminOperationalComments
EquippedType(ifdifferent)StateState
===============================================================================
Willloadingthelicensefilesolvethisissue??
Reply Share
Loadmorecomments
ALSOONNOSHUT
UnifiedNetworkingLabforNokia(AlcatelLucent),Juniper,Cisco HowtorunJunipervMXinUNetLab
andmanymore 24commentsayearago
8commentsayearago MihaiVMXPhase2(2xVMs)worksformelikethisincaseanyoneis
http://noshut.ru/2015/09/alcatellucent7750srtimosfirstbootprovisioning/ 8/11
17/2/2017 Nokia(AlcatelLucent)virtual7750SR(vRR/vSR,TiMOS)firstbootprovisioning|NetworkinginaServiceProviderway
baz00rIappeartohaveitworkingnow.Iwasconnectingalinuxnode interested(Imightmakeatutoriallateron)asthere'snoarticle
insideUNLtothemanagementinterface,VNCtothelinux
UsingguestfishtomodifyVMdiskimage YangExplorerinaDockercontainer
2comments6monthsago 2commentsamonthago
RomanDodinThanksAnton,valuableinfo! RomanDodinHi,ThereisalreadysomeinfoonAnsibleforSROS
http://karneliuk.com/2016/12/a...
http://noshut.ru/2015/09/alcatellucent7750srtimosfirstbootprovisioning/ 9/11
17/2/2017 Nokia(AlcatelLucent)virtual7750SR(vRR/vSR,TiMOS)firstbootprovisioning|NetworkinginaServiceProviderway
http://noshut.ru/2015/09/alcatellucent7750srtimosfirstbootprovisioning/ 10/11
17/2/2017 Nokia(AlcatelLucent)virtual7750SR(vRR/vSR,TiMOS)firstbootprovisioning|NetworkinginaServiceProviderway
http://noshut.ru/2015/09/alcatellucent7750srtimosfirstbootprovisioning/ 11/11