Nokia (Alcatel-Lucent) virtual 7750 SR (vRR/vSR, TiMOS) first boot provisioning

Slice 1

I advertised to you recently another great virtual lab environment – Unified Networking Lab – with tools like that one I practiced the cool technologies of Alcatel-Lucent Service Routing platform and prepared to many 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 SR this approach doomed to fail, you should know how bring to life 7750 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 SR router it comes up with a crystal clear configuration. To provision it with basic and necessary configuration follow these steps.

Configure router’s name

Everyone wants to have a name, and routers are no exception:

Provision hardware

Virtual Alcatel-Lucent 7750 SR router emulates 7750 SR-12 model and uses the common for this series hardware decomposition:

  • two Switch Fabric Modules (SFM) are installed in slots A and B
  • 10 slots are available for Input/Output Modules (IOM)
  • Each IOM can hold up to two Media Dependent Adapters (MDA)

Default configuration has no IOMs and MDAs provisioned, but has one SFM provisoned in slot A. And system tells us that it feels IOM ( iom3-xp-b) in its slot #1:

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:

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.

Bring ports to life

If you try and configure some interfaces you would fail on the port binding procedure because your ports are in  admin down state:

Time to resurrect them:

Now you are ready to go!

Copy-Paste for a quick provisioning

Dont waste your time on routines, just copy this config and paste it to the booted router’s CLI, and you are good to go.

 

 

 

Roman Dodin

Network engineer at Nokia
Eagerness to learn multiplied by passion to share.
You can reach me at LinkedIn

You Might Also Like

  • lukman prihandika

    nice info UNL supporting vSR now, which version of timos did you try and is it supporting till last version ?

    • http://hellt.ru/ Roman Dodin

      Both R12 and R13 are supported
      18 нояб. 2015 г. 11:40 пользователь “Disqus” написал:

      • Kwame

        Hi Roman: I’ve just added R13 and won’t boot. I’ve R12 as well and working great. No problems. Added R13 following exact procedures for R12.

        /opt/unetlab/addons/qemu/timos-12.0.R6/hda.qcow2

        /opt/unetlab/addons/qemu/timos-13.0.R6/hda.qcow2

        Is there some special tweaks I need to do to make R13 work?

        • http://hellt.ru/ Roman Dodin

          Hi! Do you have any output from R13? Or all you see is just a black screen?
          With R13 its necessary to have KVM and -enable-kvm option in timos.php template

          • Kwame

            Here is what is see:

            Press any key to stop auto-boot…
            0
            auto-booting…

            boot device : ata=0,2
            unit number : 0
            processor number : 0
            host name : 0.0.0.0
            file name : cf3:/timos/i386-boot.tim
            ftp password (pw) : *****
            flags (f) : 0x8
            target name (tn) : vRR
            startup script (s) : pl=1
            other (o) : sr12#niente_a_r2_6f,lava_r3|22|0

            Booting from ata=0,2:cf3:/timos/i386-boot.tim
            Loading cf3:/timos/i386-boot.tim …
            Version L-13.0.R6, Wed Nov 18 15:07:18 PST 2015 by builder in /rel13.0/b1/R6/panos/main
            text:(1825056–>4265404) + data:(171296–>605600)
            Starting at 0x18000000…

            (s) boot params: pl=1; setting TgtPf to 0x00000001

            Running in a KVM/QEMU virtual machine

            ACPI: ctrl-x only supported with PXE boot. (version >= 3)
            emGetMacAddr: unit 0 is not VALID
            tmInitFloppy, Could not initialize Floppy.
            Floppy drive not installed (-1)

            Total Memory: 1536MB Chassis Type: 0x2 Core Freq: 2399.958 MHz
            TiMOS-L-13.0.R6 boot/i386 ALCATEL SR 7750 Copyright (c) 2000-2015 Alcatel-Lucent.
            All rights reserved. All use subject to applicable license agreements.
            Built on Wed Nov 18 15:07:18 PST 2015 by builder in /rel13.0/b1/R6/panos/main

            TiMOS BOOT LOADER
            platformVmRestrict: unsupported apic mode (0)
            x2apic is required

            HALT SYSTEM

          • http://hellt.ru/ Roman Dodin

            What hardware platform do you use? Is it a workstation/baremetal server? Do you run unetlab in vmware/virtualbox or you run it natively under Ubuntu?

            Your answers can help me to localize the possible issue, but in the meantime you can try to edit qemu_options parameter in the timos.php file (lcoated here /opt/unetlab/html/templates/timos.php) in this way:

            $p[‘qemu_options’] = ‘ -enable-kvm -serial mon:stdio -nographic -nodefconfig -nodefaults -rtc base=utc -no-shutdown -boot order=c

          • Kwame

            baremetal install. will try the qemu options

          • Kwame

            Reinstalled unetlab and tried your suggestion editing the timos-php file enable-kvm. no luck. now the nodes won’t even start and in fact my other R12 nodes won’t start as well. I removed the -enable-kvm parameter and still none of the nodes will start (both R12 and R13). May have to do a reinstall again to get my R12 nodes to work.

          • http://hellt.ru/ Roman Dodin

            1) well, now we need to go deeper and see if your HW supports KVM virtualization
            to ensure that it does you need to run
            cat /proc/cpuinfo | grep svm
            cat /proc/cpuinfo | grep vmx

            if any of the commands produces output – you have vurtualization HW support, which is good.

            2) see if x2apic is supported
            cat /proc/cpuinfo | grep x2apic
            post your results here for reference
            If your processor does not support x2apic (nothing grepped from cpuinfo), then I am afraid you wont be able to run TiMOS R13, since x2apic seems like somewhat necessary.

          • Kwame

            cat /proc/cpuinfo | grep svm: produced a ton of output
            cat /proc/cpuinfo | grep vmx: no output all

            cat /proc/cpuinfo | grep x2apic: no output at all

          • Kwame

            Still can’t run R13 despite switching to a haswell proc.
            model : 63
            model name : Intel(R) Xeon(R) CPU E5-2695 v3 @ 2.30GHz
            Has x2apic support but boot process still hanging at:

            TiMOS BOOT LOADER
            platformVmRestrict: unsupported apic mode (0)
            x2apic is required

            HALT SYSTEM

          • http://hellt.ru/ Roman Dodin

            Ok, since now we have almost identical HW platform setup you should try to modify timos.php (https://drive.google.com/file/d/0BwGlWrU8lplrOGtCaGNvSnZ0V28/view?usp=sharing) make a backup of original timos.php.

          • http://hellt.ru/ Roman Dodin

            I can suggest you to check if KVM virtualization actually enabled by your server http://askubuntu.com/a/104024
            and check your servers BIOS setup, is virtualization technique enabled (VT or some setting with “virtualization” word in it) http://askubuntu.com/a/256853

          • Kwame

            It works!

            First, removed these lines from timos.php (rifster posting clued me to this):

            if (function_exists(‘isVirtual’) && isVirtual()) {
            $p[‘qemu_options’] = ‘-machine type=pc-1.0,accel=tcg’;
            } else {
            $p[‘qemu_options’] = ‘-machine type=pc-1.0,accel=kvm’;
            }

            Next, added -enable-kvm to the qemu options.

            Thanks for all your help!

          • Mahesh Modak

            This bombed everything.

            Below inputs given by rasputinlv worked like charm.

            I had same issue, and found fix worked for me by changing this line:
            -machine type=pc
            now all versions start just fine

            I am using HPE 380 Gen9 server with 64GB RAM, RHEL 7.2 OS.

          • Maros Kukan

            hi would you be able to share your domain definition (xml). I am running into x2apic is requred issue, on release 15.02R2 on RHEL7.2. Seems to me that qemu-kvm is not passing this flag.

          • http://hellt.ru/ Roman Dodin

            Maybe you have AMD processor? With AMD you wont be able to run R13

          • Kwame

            yes processor is AMD:
            AMD Opteron(tm) Processor 6378

          • Kwame

            just see this message on my linux host machine:
            kvm vcpu0 disabled perfctr wrmsr: 0xc1 data 0x0

          • http://hellt.ru/ Roman Dodin

            I’m afraid you won’t be able to run R13 with AMD proc. i suggest you to find intel powered server, with intel you will be able to run every image

          • Kwame

            Have tried it on Intel box with same result:
            Intel(R) Xeon(R) CPU W3550 @ 3.07GHz

            Also, I see this on my linux host screen:
            kvm vcpu0 disabled perfctr wrmsr: 0xc1 data 0x0

            By the way what are the specs for what you are using? Perhaps I should go get the same :-)

          • http://hellt.ru/ Roman Dodin

            What your Intel box says when you ask it for cat /proc/cpuinfo | grep x2apic?

            We use HP gen8 1Unit server with Xeon CPUs as well

          • Kwame

            no output when I grep for x2apic. do you get any output on yours?

          • http://hellt.ru/ Roman Dodin

            yep, I have x2apic supported.

            Actually see what model number of Intel’s Xeon do you hava? cat cpuinfo one more time and look for Model number.

            I have model 58, which is converted to 0x3A and corresponds to Ivy Bridge microarchitecture (see the table https://software.intel.com/en-us/articles/intel-architecture-and-processor-identification-with-cpuid-model-and-family-numbers)

            What model do you have? x2apic is supported since Nehalem architecture

          • Kwame

            I have model 26. Darn it. Too old I guess.

          • http://hellt.ru/ Roman Dodin

            Maybe you should try add this string to qemu parameters for timos ‘-cpu host’, I cant tell for sure that this will help, but worth trying

          • Kwame

            Tried it and it bombed everything like before. Nodes won’t start. I guess I need to go get myself some new Intel procs.

          • http://hellt.ru/ Roman Dodin

            Sadly, yes. But a new baremetal is worth the budget.

          • rasputinlv

            I had same issue, and found fix worked for me by changing this line:
            -machine type=pc
            now all versions start just fine
            I have dual Xeons and bare metal install. Love it….

      • pang jian

        timos-13.0R6 Can you give me download link?
        thank you!!!

  • Ruzsinszky Attila

    Hi,
    I think my vSR-OS is older (maybe R6?).
    Can I use more than 5 interfaces with that version?
    If yes, how?

    When I “plugged in” new cards/mdas I got “not equipped or provisioned”.

    TIA,

    • http://hellt.ru/ Roman Dodin

      Hi. No, you can not. 5 interfaces is all you have with this virtual image. But you can use vlans for adding more interfaces

      • Ruzsinszky Attila

        OK. Thank you for your information!

        I don’t know but something happened with my VM:

        *A:R1# show uptime
        System Up Time : 0 days, 21:06:57.34 (hr:min:sec) ;-)

  • Ruzsinszky Attila

    Can I run this vSR-OS image under an intel Celeron Core2 processor?
    I think not. Always rebooting before login: prompt.

    • http://hellt.ru/ Roman Dodin

      it really depends on what virtualization capabilities does this proc have. and what release are going to be booted

  • Ruzsinszky Attila

    And another question:

    Why so slow the response from the router if I connected to it by telnet or ssh?
    It seems like a 1200 or 2400 bps modem line …

  • rasputinlv

    HI Roman.
    I have question on 14Rx VM versions.
    It starts up “fine”, but it’s kind off empty, I can’t run almost any command.
    Can’t get to configure mode, can’t show card, etc…
    Am I doing something wrong? or something wrong with 14Rx VMs?
    Thanks an advance.

    • http://hellt.ru/ Roman Dodin

      Hi! For 14 releases you need to have a valid license to be able to configure something. So — sad fact — its unusable without a license

      • rasputinlv

        wow, ok….
        thanks for your reply.

      • Mahesh Modak

        Hi Roman,

        Can you tell me how to load a valid license file in 14Rx & 13Rx VM versions???

  • Victor R Sanchez M

    Hello Roman Dodin I’d like to thank you for all your excellent posts, and ask you a question:
    I’ve tried to provision multiple different Cards and MDAs and always getting Ghost states, the only combination that seems to work is the one that you are providing here. The reason that I ask is because I ran into an issue trying to set up SAPs for my EPIPE services. SAPs only take access ports, but it won’t let me assign an acces port to an interface because it says there’s a mismatch (network/access) between the port and the interface.

    A:ALU3>config>router>if# port 1/1/1
    INFO: PIP #1208 Mismatch between the port mode and the interface type – port mode access, interface type network

    Is there a way around this ? I’m very new to Alcatel.
    This is the one I’m running:

    TiMOS-B-12.0.R6 both/i386 ALCATEL SR 7750 Copyright (c) 2000-2014 Alcatel-Lucent.
    All rights reserved. All use subject to applicable license agreements.
    Built on Tue Sep 30 11:10:17 PDT 2014 by builder in /rel12.0/b1/R6/panos/main

    Thank you !

    • http://hellt.ru/ Roman Dodin

      Hi Victor,
      you are right, for vSROS this is the only option of configuring cards and mdas — 1 MDA with 5 ports at max.

      show me your whole config for this case, I cant say what is wrong judging by only this info

      • Victor R Sanchez M

        Thank you for getting back at me Roman, so I’m trying to set up an l2vpn between CE1 and CE2, the pseudowire would be between CSR1 and ALU3, this is what I have so far:

        ALU3 config:

        port 1/1/1
        ethernet
        encap-type dot1q
        mode access
        exit
        no shutdown

        router
        interface “Gi1:1050” (here, when I try to assign port 1/1/1:1050 to this interface, I get the error saying mismatch between port mode and inter type, I can’t change the port to network because the SAPs requiere the ports to be access, and I can’t find any option to change the interface to “access”)
        no shutdown
        exit
        interface “Gi2”
        address 10.0.23.3/24
        port 1/1/2
        no shutdown

        service
        sdp 1050 create
        far-end 1.1.1.1
        keep-alive
        no shutdown
        exit
        no shutdown
        exit
        customer 1 create
        description “Default customer”
        exit
        epipe 1050 customer 1 create
        description “1050-P2P-CKT”
        sap 1/1/1:1050 create
        exit
        spoke-sdp 1050:1050 create
        precedence primary
        no shutdown
        exit
        no shutdown
        exit
        exit

        CSR1 config:

        interface GigabitEthernet3.1050
        encapsulation dot1Q 1050
        xconnect 3.3.3.3 1050 encapsulation mpls
        end
        mpls label range 1000 1999
        mpls ldp neighbor 3.3.3.3 targeted ldp

        CSR1(config)#do sh mpls l2trans vc 1050
        Local intf Local circuit Dest address VC ID Status
        ————- ————————– ————— ———- ———-
        Gi3.1050 Eth VLAN 1050 3.3.3.3 1050 DOWN

        CSR1(config)#do sh mpls l2trans vc 1050 deta
        Local interface: Gi3.1050 up, line protocol up, Eth VLAN 1050 up

        Outputs from ALU3:

        A:ALU3# show service sdp
        ================================================================
        Services: Service Destination Points
        ================================================================
        SdpId AdmMTU OprMTU Far End Adm Opr Del LSP Sig
        —————————————————————————-
        1050 0 1472 1.1.1.1 Up Down GRE n/a TLDP
        —————————————————————————-
        Number of SDPs : 1

        A:ALU3# show router ldp peer
        ================================================================
        LDP Peers
        ================================================================
        Peer Adm Opr Hello Hold KA KA Passive Auto
        Factor Time Factor Timeout Mode Created
        ——————————————————————————-
        1.1.1.1 Up Up 3 45 4 40 Disabled No
        ——————————————————————————-
        No. of Peers: 1

        Doing a debug on the CSR1, I’m seeing this:

        May 27 08:07:50.156: AToM[3.3.3.3, 1050]: . Set last error: MPLS dataplane reported a fault to the nexthop
        *May 27 08:07:50.156: AToM[3.3.3.3, 1050]: … Dataplane : DOWN(pw-tx-fault)
        *May 27 08:07:50.156: AToM[3.3.3.3, 1050]: … Remote : DOWN PW(rx/tx faults)
        *May 27 08:07:50.156: AToM[3.3.3.3, 1050]: … Overall : DOWN PW(rx/tx faults)
        *May 27 08:07:50.156: AToM[3.3.3.3, 1050]: … [filtered AC]
        *May 27 08:07:50.156: AToM[3.3.3.3, 1050]: … Send notify(DOWN)
        *May 27 08:07:50.156: AToM[3.3.3.3, 1050]: … Dataplane : DOWN(pw-tx-fault)
        *May 27 08:07:50.156: AToM[3.3.3.3, 1050]: … Overall : DOWN(pw-tx-fault)
        *May 27 08:07:50.156: AToM[3.3.3.3, 1050]: … [filtered LDP]
        *May 27 08:07:50.156: AToM[3.3.3.3, 1050]: . Notify dataplane down
        *May 27 08:07:50.156: AToM[3.3.3.3, 1050]: Deactivating data plane

        I can confirm the L2 forwarding works fine on these CSR1000v because I’ve tested it between 2 of them, but even if L2 forwarding doesn’t work for the TiMOS, the data plane should be working and show the pseudowire up, right ?

        Sorry if I missed something, please let me know if you need any more information to kind of point on the right direction. Thank you !.

        • http://hellt.ru/ Roman Dodin

          to bind a sap to an interface you should have service epipe configured. You cant bind sap to a interface under configure->router->interface

          • Victor R Sanchez M

            Yes, as showed on my previous reply:

            epipe 1050 customer 1 create
            description “1050-P2P-CKT”
            sap 1/1/1:1050 create
            exit

          • http://hellt.ru/ Roman Dodin

            Yes, and you do not need to bind this port to the network interface

          • Victor R Sanchez M

            Mmm.. okay then my problem must be somewhere else.. I’ll keep looking, thank you Roman !

  • Masood

    Hi,
    I am trying to setup SR 7750 v14 over Virtualbox and also tried vmware as well. When I trigger a first boot, I only see Booting… and nothing else.
    Is there anything that I am missing here?
    Regards,

  • Mahesh Modak

    Hi Roman Dodin,

    I successfully imported Alcatel 7750 SR TiMOS 13.0.R9 &
    14.0.R5 in UNL. However, after logging into the device, when i fire
    commands “show card”, “show mda” & “show port”, nothing appears. Can
    you tell me how to add IOM & MDA in these images. They are not present by default like TiMOS 12.0.R6/R8 vSIM images.

    Can you tell me how to load a valid license file in 14Rx & 13Rx VM versions???

    I am running UNL on VMWare Workstation on CentOS 7 over 64GB RAM server

    • http://hellt.ru/ Roman Dodin

      Hi there!
      Last listing at this post shows what commands need to be entered to configure IOM and ports.
      Though for SR OS v.14+ you need to have a valid license to be able to enter into configuration mode

      • Mahesh Modak

        Hi Roman,

        I am aware about the commands as I too work on the same platform. Apologies if my query was ambiguous. When I fire a command ‘show card’, it turns up blank output. There is no card entry which is ‘unprovisioned’. Looks something like this..

        *A:VRR-1# show card

        ===============================================================================

        Card Summary

        ===============================================================================

        Slot Provisioned Type Admin Operational Comments

        Equipped Type (if different) State State

        ——————————————————————————-

        ===============================================================================

        Will loading the license file solve this issue??

        • http://hellt.ru/ Roman Dodin

          Hi,
          I havnt seen such behaviour, what exact version are you running?

          • Mahesh Modak

            Hi Roman,

            Apologies for delay. I am using SROS 13.0.R9 and 14.0.R5.

          • Mahesh Modak

            Hi Roman, I have loaded 14.0.R8 in UNL but the VM keeps on rebooting continuously. Any suggestions/help?

            FYI…13.0.R9 is working fine.

          • http://hellt.ru/ Roman Dodin

            Hi. Give it 4096 RAM

          • Mahesh Modak

            Hi Roman, Tried but did not work :(. I have captured the boot log messages. Can I share it with you? Will it help?

            Thanks in advance…

  • Rashmi

    Hi, Does VSR images available for ALU 7450 or 7210 nodes?

  • gust

    in GNS3 router reboot after 30 mints automatically.. what is the solution please?

    • http://hellt.ru/ Roman Dodin

      Do you have a license applied?