Tuesday, April 5, 2016

HOWTO: enable linux bash NX-OS

If you recalled my ASR unix shell  support

http://socpuppet.blogspot.com/2013/10/tip-how-to-gain-shell-in-ios-xr.html

With in the NX-OS  it also supports linux bash shell. It's a linux host after all  and has a limited access for linux shells and commands.

1st you need to enable the bash feature  { feature bash-shell } from config mode.


2nd, you have a restrict access for various unix commands by using the run via  the run bash  +command or by just  running a full bash shell via  run bash

e,g


run bash ls

or

run bash 

examples





enjoy


Ken
NSE ( network security expert) and Route/Switching Engineer
kfelix  -----a----t---- socpuppets ---dot---com

     ^      ^
=(  @  @ )=
         o 
        /  \

No comments:

Post a Comment