Bash Shell

The Cisco Nexus 3550-T Programmable Switch Platform CLI provides access to a bash shell, which supports many standard UNIX commands and the ability to run scripts.

The Nexus 3550-T runs a Debian-based operating system, which gives you access to many standard UNIX utilities.

Warning

It is possible for the admin user to authenticate as root. Users must take extreme care when running commands as the root user. It is possible to make changes as the root user that will render the device inoperable.

Access the Bash Shell

To access the bash shell from the CLI, use the bash command:

admin@NX-3550-T> bash
admin@NX-3550-T:~$

The bash command is only available to users with the admin role.

Directories

  • /run/exa/ contains a number of runtime files that the management software uses.
  • /mnt/persist/ provides 4GB of storage for files which persist after software/firmware updates.
  • /mnt/persist/config/ contains both the startup-config and any configs the you save, along with the current license file.

Use the Cisco Nexus 3550-T Programmable Switch Platform Commands From the Shell

You can access the Nexus 3550-T command interpreter from the Bash shell by using the cli command. To provide commands to the command interpreter use the -c argument, for example:

admin@NX-3550-T:~$ cli -c "show interface et2-4 brief"
Interface Status Transceiver Speed
--------- ------ ----------- -----
et2        up     SFP        10000
et3        up     SFP        10000
et4        up     SFP        10000

This page was last updated on Mar-23-2021.