Cisco catalyst private-config.text file


I’ve often noticed the file private-config.text on a Catalyst switch, so I thought I’d have a look at it:

Switch_x#more private-config.text
%Error opening flash:private-config.text (Permission denied)

so that really got my curiosity going. It took a couple of searches, but eventually found this link that explains the purpose of the file:

private-config.text is used for the switch when it is booted outside of a cluster in standalone mode.You can configure the name of the private configuration file and tell it to boot from a certain location with the ‘boot private-config-file’ command. Think of it as a non-changing copy of the config for this switch. If you add the switch to a stack, the config.text gets overwritten by the master of that stack.

“Use theĀ boot private-config-file global configuration command on a standalone switch to specify the filename that Cisco IOS uses to read and write a nonvolatile copy of the private configuration. Use theĀ no form of this command to return to the default setting.”

About RedNectar Chris Welsh

Professional IT Instructor. All things TCP/IP, Cisco or VoIP
This entry was posted in Cisco and tagged , , , . Bookmark the permalink.

One Response to Cisco catalyst private-config.text file

  1. Majdi says:

    Thanks

Comments are closed.