#After >= VC6.1 it is now built-in show configuration commands # Otherwise use: ------------------ /opt/vyatta/sbin/vyatta-config-gen-sets.pl ------------------ #more readable output generated by this one: #!/bin/bash FILE=sets-`date '+%F-%H.%M'`.txt /opt/vyatta/sbin/vyatta-config-gen-sets.pl > /tmp/$FILE sed -i -e 's/'\''//g' -e 's/description /description "/g' -e '/description/s|$|"|' /tmp/$FILE