WN Video 013 – JunOS CLI Basics – Part 2

Want to be more proficient at Junos OS? Learn how to safely commit changes to a Juniper switch without risking losing access to it, see how to roll back uncommitted changes, restore previous working config, understand different config views and how to use piping to your advantage!

Lastly, this are the examples used in the video:

  • Discussed previously
    • Operational vs configuration view
    • Basic show commands
    • Groups
    • Commit model
  • Saving / checking config in JunOS
    • ‘commit confirmed’
      • Fail safe
      • Mist uses it with JunOS
    • ‘commit’
    • ‘commit and-quit’
    • ‘commit-check’
      • Check syntax without committing any changes
  • Rollback and compare
    • ‘# rollback 0’
      • Removes uncommitted changes
    • ‘# rollback 1-12’
      • More rollback points
    • ‘# show | compare rollback 0’

  

  • Config Views in JunOS & Piping
    • Inheritance
      • ‘> show interfaces ge-0/0/2’
      • ‘> show interfaces ge-0/0/2 | display inheritance’
      • ‘> show interfaces ge-0/0/2 | display inheritance no-comments’
    • Display set
      • ‘> show interfaces ge-0/0/2 | display set’
      • ‘> show interfaces ge-0/0/2 | display inheritance | display set’
    • Output manipulation
      • ‘> show interfaces terse
      • ‘> show interfaces terse | match ge-
      • ‘> show interfaces terse | match ge- | except switch
      • ‘> show interfaces terse | match ge- | except switch | refresh 1

Share podcast

Share on facebook
Share on twitter
Share on linkedin
Share on email

Leave a Reply

Your email address will not be published. Required fields are marked *