Cisco has been making some improvements to the Cisco NXOS CLI. Here is one that I especially like on making the default configuration of an Ethernet interface visible with this simple (and kind of obvious) command show interface commands.
You are likely to be familiar with this show run command.
show run interface Ethernet 4/1
N7K2-POD2(config-if)# sh run inter ether 4/1
!Command: show running-config interface Ethernet4/1
!Time: Thu Jul 5 14:17:52 2012
version 6.0(1)
interface Ethernet4/1
switchport mode fabricpath
no shutdown
N7K2-POD2(config-if)#
But check this one out:
show run interface Ethernet 4/1 all
N7K2-POD2(config-if)# conf t
N7K2-POD2(config)# sh run inter ether 4/1 all
!Command: show running-config interface Ethernet4/1 all
!Time: Thu Jul 5 14:18:06 2012
version 6.0(1)
interface Ethernet4/1
no description
cdp enable
switchport
switchport mode fabricpath
no switchport monitor
no switchport dot1q ethertype
spanning-tree port-priority 128
spanning-tree cost auto
spanning-tree link-type auto
no spanning-tree bpduguard
no spanning-tree bpdufilter
speed auto
duplex auto
flowcontrol receive off
flowcontrol send off
no link debounce
no beacon
mtu 1500
delay 1
snmp trap link-status
logging event port link-status default
logging event port trunk-status default
bandwidth 10000000
no bandwidth inherit
mdix auto
storm-control broadcast level 100.00
storm-control multicast level 100.00
storm-control unicast level 100.00
load-interval counter 1 30
load-interval counter 2 300
no load-interval counter 3
medium p2p
no shutdown
N7K2-POD2(config)#
Straight away I can see all the defaults that are set on the interface. In the past I would have spent hours researching each of the defaults for a given interface when I was having problems. Soemtimes the interaction between the defaults and configuration can be a problem.
Nice stuff.

