Model-driven command line interface (MD-CLI) in Nokia SR OS 16.0

Anton Karneliuk. IT & Network Expert / Architect / Manager; Project Manager; Entrepreneur; 2x CCIE (RS/SP) #49412; MSc Telecommunications.

Leave a Reply

Comment as a guest.

  1. Hi,
    Thanks this interesting first review of MD-CLI.
    I’ve performed some tests with this new 16.0 release and ansible SROS modules: Compatibility seems to be broken. For instance, sros_config with the “lines” and “parents” are not working anymore: commands entered in disorder, do we have to specified the edit-config mode (exclusive, …) ? … I currently don’t know if Nokia planned to proposed new SROS ansible module for that.
    Rgds,
    Cyrille

    1. Hi Cyrille,

      There are different options for device management. If you use “model-driven”, then you need to use new commands. Alternatively, you can use “mixed” mode so that both old and new commands are working into different CLI modes. The third point is that you can adapt sros_config module, if you the first command in lines is: “/edit-config global”

      BR,
      Anton

    1. Hello Gabriel,

      From my perspective the single cons is that if you have some CLI-based automation, you will need to rework it. I find MD-CLI is cleaner and less error-prone.

      Cheers,
      Anton

  2. Is there a way id SR-OS to show particular part of configuration without entering config mode? In Junos you can do “show configuration “

    1. Hello Andrey,

      you have to enter the config mode as that is considered to be a security measure. From the first stage of config mode you could see any configuration further.

      Cheers,
      Anton

Read Next

Sliding Sidebar

Don't miss the latest updates

We are working hard on creating the exceptional and unique content about network and IT technologies and automation. We truly believe you are benefiting from it and don't want you to miss it.

Sign up for the newsletter and stay updated.