• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

New Technical Resource! Mastering the TNSR® Command Line Interface (CLI)

Scheduled Pinned Locked Moved TNSR Announcements
3 Posts 3 Posters 442 Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M
    mwatch Administrator
    last edited by mwatch Aug 27, 2024, 7:25 PM Aug 27, 2024, 7:25 PM

    In the age of automation, CLI remains crucial for network engineers. TNSR software router offers an industry-standard CLI, making it easy for experienced engineers to configure and troubleshoot.

    Here is a new technical resource to help anyone master the TNSR Command Line Interface (CLI).

    Read Now: https://www.netgate.com/resources/mastering-the-tnsr-command-line-interface-cli

    M 1 Reply Last reply Aug 27, 2024, 8:23 PM Reply Quote 0
    • M mwatch pinned this topic on Aug 27, 2024, 7:25 PM
    • M
      michmoor LAYER 8 Rebel Alliance @mwatch
      last edited by Aug 27, 2024, 8:23 PM

      @mwatch

      There is a configuration database but is there anyway to make the candidate configuration -- the candidate -- until you confirm (commit confirm) changes to make it running?
      In Arista this is called 'configure session'. You can have this be your default way of entering the cli until you commit which is flexible.
      Juniper has this baked in as part of the configuration process

      Having the running configuration be active on any changes is a bit scary.
      To me it seems like the bits are there to make this work with the configuration database.

      Is there an ability to pipe 'grep' as well? Case insensitive.

      show running | grep wan
      

      It seems the matching parameters are case sensitive which isn't great. Junos handles this in the background when you

      show configuration | display set | match wan
      

      Lastly, is there a way to 'section; similar to Arista or IOS/NXOS where any line matching what you are looking for will bring up that block of configuration?

      show run section bgp
      

      Firewall: NetGate,Palo Alto-VM,Juniper SRX
      Routing: Juniper, Arista, Cisco
      Switching: Juniper, Arista, Cisco
      Wireless: Unifi, Aruba IAP
      JNCIP,CCNP Enterprise

      F 1 Reply Last reply Aug 29, 2024, 2:20 AM Reply Quote 0
      • F
        fractal_boy @michmoor
        last edited by Aug 29, 2024, 2:20 AM

        @michmoor no to "commit confirm" of a candidate config. In TNSR CLI when you type exit you commit your change. Please test your changes in a lab environment before running them on production.

        Please read the article there is an answer to almost all your questions.
        "| match" instead of "| grep". You can match using regex.

        show running | match wan
        

        matching parameters is case-sensitive.

        regarding the "section" you can do something like this:

        show run bgp
        

        to display BGP configuration.

        1 Reply Last reply Reply Quote 0
        3 out of 3
        • First post
          3/3
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
          This community forum collects and processes your personal information.
          consent.not_received