cancel
Showing results for 
Search instead for 
Did you mean: 

Read .cfg from CLI

Read .cfg from CLI

Ravi0087
New Contributor II
How can i read different .cfg file from cli?
can i save file as .xsf format?

3 REPLIES 3

Ravi0087
New Contributor II
hmm...can i edit config on the fly using cli...(reason behind that it, i dont want to unconfig anything)?and reload to use latest changes?

The 'load script' command can help with reverting back changes. You can also review the current commands that have been set using the command 'show configuration ' and then either unconfiguring or disabling the command in question. Also, the commands 'enable cli-config-logging' and 'history' can help keep record of the commands been issued previously.

Ty_Izzet
Extreme Employee
Ravi, it is an option on the CLI to use the command 'save configuration as-script '. This will output the configuration to a file which can either be exported via TFTP or edited using the VI editor. Once the changes have been made you can load the script using the 'load script command.
GTM-P2G8KFN