Cisco Nexus NX-OS tips and tricks

The Cisco Nexus series switches are modular and fixed port network switches designed for the data center. Cisco Systems introduced the Nexus Series of switches on January 28, 2008. The first chassis in the Nexus 7000 family is a 10-slot chassis with two supervisor engine slots and eight I/O module slots at the front, as well as five crossbar switch fabric modules at the rear. Beside the Nexus 7000 there are also other models in the Nexus range.

All switches in the Nexus range run the modular NX-OS firmware/operating system on the fabric. NX-OS has some high-availability features compared to the well-known Cisco IOS. This platform is optimized for high-density 10 Gigabit Ethernet.

I'll be sharing with you a little bit about tricks I learned:

Hexadecimal / Decimal conversion:

Executing multiple CLI commands in one command:


Configuration Snapshots and rollback:

Then, I do a small configuration change on the hostname. Now, you can run a “diff” between the current config and the snapshot, using the command: show diff rollback-patch checkpoint name running-config

At this point, you can restore the checkpoint config with the rollback command: Rollback running-config checkpoint name atomic

CLI variables:

Command Aliases:

Command "where" | "where detail":

Account log:

Terminal color:


We can also be root without problem:

Attach to a module:


" | include ... "

121 views0 comments

Recent Posts

See All

The Cisco Integrated Management Interface (CIMC) permits monitoring of the server inventory, health, and system event logs using the built-in Cisco Integrated Management Controller (CIMC) GUI or CLI i

Cisco ISE Upgrade Readiness Tool (URT) helps detect and fix any data upgrade issues before you start the upgrade process. Most of the upgrade failures occur because of data upgrade/corruption issues.

When you try to back up the ISE configuration, the backup process fails even though there is enough disk space available. Follow some steps to fix this issue: ise/admin# show backup status %% Configur