An alias I made for Cisco nexus switches to show the current hierarchical configuration Rings 2017 streaming
(Works like cur in Alteon)
Exampe
SW1-1(config)#int e3/9
SW1-1(config-if)#cur
interface Ethernet3/9
switchport
switchport mode trunk
switchport trunk native vlan 70
switchport trunk allowed vlan 70,100
no shutdown
SW1-1(config-if)#vdc SW1-4
SW1-1(config-vdc)#cur
vdc SW1-4 id 4
limit-resource module-type m1 f1 m1xl
allocate interface Ethernet1/25-32
allocate interface Ethernet2/25-32
allocate interface Ethernet3/31-48
boot-order 1
limit-resource vlan minimum 16 maximum 4094
limit-resource monitor-session minimum 0 maximum 2
limit-resource monitor-session-erspan-dst minimum 0 maximum 23
limit-resource vrf minimum 2 maximum 4096
limit-resource port-channel minimum 0 maximum 768
limit-resource u4route-mem minimum 8 maximum 8
limit-resource u6route-mem minimum 4 maximum 4
limit-resource m4route-mem minimum 8 maximum 8
limit-resource m6route-mem minimum 5 maximum 5
SW1-1(config-if)#The aliascli alias name cur where detail | sed -n 2p | sed "s/^ *//" | sed "s/^/show run | sec '^/" | sed "s/$//" | vsh
Nice alias!