too many comment characters

When I run sh running-config, the output shows too many comment chars, like

! ! ip domain name yourdomain.com ip ssh authentication-retries 4 ip ips po max-events 100 no ftp-server write-enable ! ! ! ! ! !

How can I get rid some of them ? Like there is only one or two lines of ! in between sections ?

Thanks,

DT

Reply to
dt1649651
Loading thread data ...

I don't think there's any way to control them. My guess is that it puts a comment line between each group of configuration items. But many of the groups have all the items set to the default, so there's nothing to display for that group. Unfortunately, IOS isn't smart enough to merge all the adjacent comment lines.

Reply to
Barry Margolin

Not sure why it bothers you, but this gets rid of all of them:

sh run | exclude !

Regards,

-dan

Reply to
Dan Daniels

Dan, This command (sh run | exclude ! ) is not there in my Router (series

1700). How can I check it out.

Thanks, Stuart

Reply to
Stuart

[...]

I have to scroll up and down too much my terminal emulator to read it.

Thanks. That's what I looked for.

DT

Reply to
dt1649651

I tried on mines and it works on 1700 ( 12.3), 2610 ( 12.2 ) and 281 (

12.3 ).

You are not under config t or line , aren't you ?

DT

Reply to
dt1649651

Cabling-Design.com Forums website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.