You're forgetting that Cisco doens't really preserve the textual config,
when you do a "write" the config is regenerated from internal data
structures. Comments (or more accurately descriptive text) are preserved
only where there's something to hang them on, such as an interface, BGP
session or access list, not just at random places in the config file.
One way around this is to maintain text-based configs on a server and have
the router tftp the config when booting.
> Date: Tue, 09 Jan 2001 13:21:39 +0200
> To: email@example.com
> From: Hank Nussbacher <firstname.lastname@example.org>
> Subject: [nsp] ! comments
> Is there a new command yet in IOS that will allow me to save the ! comments
> inline in the online config file? If so, what version?
This archive was generated by hypermail 2b29 : Sun Aug 04 2002 - 04:12:25 EDT