Nokia SR-linux set up

Here you can ask EVE-NG team to add new images to the list to play in lab.

Do not ask questions like "where I can get image x or Y" in that forum

Moderator: mike

Post Reply
tsukasa
Posts: 3
Joined: Thu Jan 02, 2025 1:59 am

Nokia SR-linux set up

Post by tsukasa » Thu Jan 02, 2025 3:56 am

Hello. Can someone help me?

I'm running eve-ng pro.

I started SR-linux as a container.

I get the message "Connection with server is down" and can't set anything using commands.

Are there any settings I need to make in the startup config?

Thank you.

rusty725
Posts: 301
Joined: Thu Mar 29, 2018 4:19 pm

Re: Nokia SR-linux set up

Post by rusty725 » Thu Jan 02, 2025 7:53 am


tsukasa
Posts: 3
Joined: Thu Jan 02, 2025 1:59 am

Re: Nokia SR-linux set up

Post by tsukasa » Tue Jan 07, 2025 6:48 am

Hi rusty725

Thank you for your reply.
I tried the method you told me, but it still doesn't work.


The error is as below:
If there is any other way please advise.


root@Docker:~# sr_cli
06:42:26.078 [WARNING] (MainThread) Failed to contact the AAA server. Further communication will be blackholed until connection succeeds
Using configuration file(s): ['/etc/opt/srlinux/srlinux.rc']
Welcome to the srlinux CLI.
Type 'help' (and press <ENTER>) if you need any help using this.
--{ running }--[ ]--
A:Docker#
--{ running }--[ ]--
A:Docker#
--{ running }--[ ]--
A:Docker#
--{ running }--[ ]--
A:Docker# show version
Error: PermissionError: [Errno 1] Operation not permitted: 'sr_mgmt_server'
--{ running }--[ ]--

Connection with server is down
Current mode: running

tsukasa
Posts: 3
Joined: Thu Jan 02, 2025 1:59 am

Re: Nokia SR-linux set up

Post by tsukasa » Tue Jan 07, 2025 12:09 pm

Hi, can someone help me?

I tried checking in a different way.

I checked the Nokia manual.
https://documentation.nokia.com/srlinux ... iners.html

I created and started the container from the cli.


hoge@eve-ng1:~# sudo docker run -t -d --rm --privileged \
-u 0:0 \
-v srl24-10-1.json:/etc/opt/srlinux/config.json \
--name srlinux ghcr.io/nokia/srlinux:24.10.1 \
sudo bash /opt/srlinux/bin/sr_linux
5c5da6237c8cd77b8fa045b614c5dca59c663834a680518b9eb00bf67a07b445
hoge@eve-ng1:~#
hoge@eve-ng1:~# docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
5c5da6237c8c ghcr.io/nokia/srlinux:24.10.1 "/tini -- fixuid -q …" 26 seconds ago Up 26 seconds srlinux
hoge@eve-ng1:~#
hoge@eve-ng1:~# docker exec -it srlinux bash
hoge@5c5da6237c8c:/#
hoge@5c5da6237c8c:/# sr_cli
Using configuration file(s): ['/etc/opt/srlinux/srlinux.rc']
Welcome to the srlinux CLI.
Type 'help' (and press <ENTER>) if you need any help using this.
--{ [FACTORY] + running }--[ ]--
A:5c5da6237c8c# show version
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Hostname : 5c5da6237c8c
Chassis Type : 7220 IXR-D3L
Part Number : Sim Part No.
Serial Number : Sim Serial No.
System HW MAC Address: 10:00:02:FF:00:00
OS : SR Linux
Software Version : v24.10.1
Build Number : 492-gf8858c5836
Architecture : x86_64
Last Booted : 2025-01-07T11:47:19.098Z
Total Memory : 257587437 kB
Free Memory : 251008386 kB
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
--{ [FACTORY] + running }--[ ]--
A:5c5da6237c8c# quit
hoge@5c5da6237c8c:/#


It seems to work fine from the cli.
But it doesn't work when I try to create it from the eve-ng GUI.
How can I create it properly from the GUI?

Thank you.

Post Reply