Forum Discussion

Gines_289529's avatar
Gines_289529
Icon for Nimbostratus rankNimbostratus
Sep 08, 2016

Script copy show running >*.txt

Hello everyone, I was trying to make a script to dump the show running config file to a text file, but it gives me error, remains in pending enable mode. What parameter should add more?

 

cat copy.running.sh vtysh enable sh runn> /config/config.txt exit

 

Greetings and thank you

 

1 Reply

  • nathe's avatar
    nathe
    Icon for Cirrocumulus rankCirrocumulus

    not sure i've used enable before. anyway, this works for me:

    cat runningconfig.sh

    tmsh show running-config > /var/tmp/config.txt