Safe command is a /-based command!

Rootifier transforms tree-based SROS config into a rootified (aka display-set) one.

rootifier_in_action

Usage and Limitations

Paste configuration lines, hit Submit and grab rootified config from the output panel.

  • Rootifier is sensible to indentation and spacing of the input config. Paste the configuration lines as you see them in a router.
  • Rootifier treats a line that starts with 4 spaces as a first configuration line.

You can pass as input something like this:

  #--------------------------------------------------
  echo "System Configuration"
  #--------------------------------------------------
      system
          name "MPLS-078-2878-BH02"
          snmp
              packet-size 9216
          exit
          login-control
              pre-login-message "MPLS-078-2878-BH02"
          exit
              
or this:
      port 1/1/2
          shutdown
          ethernet
          exit
      exit
      port 1/1/3
          shutdown
          ethernet
          exit
      exit
            
or even the whole configuration file!

But you can't paste configuration statements which are not nested under configure section. For example this piece will produce erroneous output because it is nested few levels deeper then configure section:

                    lldp
                        dest-mac nearest-bridge
                            admin-status tx-rx
                            notification
                            tx-tlvs port-desc sys-cap
                            tx-mgmt-address system
                        exit
                    exit
    
You can add the context to this snippet to make it work, as explained here.