Showing results for 
Search instead for 
Did you mean: 

Caching the NVGEN Process


Francois Ropert, Draveil, France.

You have many interfaces on your routers and "show running-config" takes a lot of time to generate an output.

Here's a solution that I can provide for you to really increase the speed of the running-config generation: cache the NVGEN process.

NVGEN is used to generate the output of the "show running-config" or "write memory" or "copy system:running-configuration" commands by polling the configuration states of each component and each instance of interfaces and objects.

Once the cache is enabled, the next time you run "show running-config", the cache will be filled. Then, as you run "show running-config", the output will immediately appear.

To enable the feature, use the command "parser config cache interface" in global configuration mode. The parser command has been present since IOS 12.3(7)T release:

To receive the latest information on Cisco online tools, certifications, support documentation, insights from Cisco experts and peers, and upcoming events, check out the Cisco Technical Services Newsletter today.