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.”