Switching

 View Only
last person joined: yesterday 

Ask questions and share experiences about EX and QFX portfolios and all switching solutions across your data center, campus, and branch locations.
  • 1.  Show commands in Configuration mode

    Posted 01-11-2018 14:45

    Is there an equivilent to the Cisco "do" command that allows you to perform show commands (for operational mode) while in Configuration mode?

     

    For example, in Cisco while in config mode (regardless of level, system or an interface, etc) I could run "do show run conf" and it would show the switch configuration.  You didnt have to exit all the way back.

     

    Is this possible in Junos?  Is there a way to run operational show commands (ie show configuation, show vlans, show interface details, etc) while in config mode?



  • 2.  RE: Show commands in Configuration mode
    Best Answer

     
    Posted 01-11-2018 19:55

    Hi,

     

    Yes this is possible.

     

    Just append 'run' to the start of your operational command while you are in configuration mode.

     

    # run show vlans
    # run show route

    Thanks

    Tim



  • 3.  RE: Show commands in Configuration mode

    Posted 01-17-2018 07:55

    Thanks Tim!  Knew this had to be simple.