From: Aidan Marks (amarks@cisco.com)
Date: Fri Feb 07 2003 - 01:32:44 GMT-3
A command to show the entire config with defaults is in the works, well ok
the code exists, so it will hopefully show up some time.
At 06:37 AM 7/02/2003, Howard C. Berkowitz wrote:
>At 12:33 PM -0600 2/6/03, MADMAN wrote:
>> Though this request/wish comes up periodically it's not currently
>> available.
>>
>> Dave
>>
>>bobdu11@cox.net wrote:
>>>Is there a way to show all default configurations in a running
>>>configuration with an IOS based router/switch ? example, ip http server
>>>is enabled by default. If you do a show run it doesn't show up in the
>>>config output. Was just wondering is there is a way to show the default
>>>configurations for a router/switch with a "show" command...thanks...Bob
>>>.
>
> It's been requested since I first worked with IOS in 1993 or so. First,
> to see some of the problem, understand what show running and the like
> actually do.
>
> Once you type in configuration commands, they are not stored (other than
> the line in progress, or enough lines to give it context). The various
> show run/start commands essentially are formatted dumps/reverse
> compilers, which go through the internal tables in the router and figure
> out the commands that would have produced them. For this software to know
> how to label all the defaults, it would be too big for the executable.
>
> My often-lamented alternative would be to make a postprocessor for the
> dump utility, and be able to run a large program on a separate box, a
> program that could include all the options.
>
> There was also concern, at one point, that the CLI didn't use a clean
> grammar to define commands, which would make this sort of thing much
> easier to port. I don't know what the internal situation is
> there--without internal parsing tables, I don't know how you'd have a
> chance of maintaining this number of commands.
>.
.
This archive was generated by hypermail 2.1.4 : Sat Mar 01 2003 - 11:06:15 GMT-3