Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Show history no longer works above enable mode

Somewhere in the 15.2 train I noticed I could no longer see the command history in global config or any other config mode. It only works in enable mode.

Has anyone else noticed this?

Do I now have to enable show history for config mode?


Re: Show history no longer works above enable mode

Hi Jason,

I didn't know so far that the output of "do show history" in config mode shows the config commands too, particulary because the command description only says:

To list the commands you have entered in the current EXEC session, use the show history command in EXEC mode.

But your're right, with my 12.4(21) it does:

R1(config)#do show history

int loop0

ip addr


However, if they've changed that behavior somewhere in 15.2, there's a simple alternative:

R1#show run | b ^archive


     log config

      logging enable



R1#show archive log config all

idx   sess           user@line      Logged command

1     3        console@console  |interface Loopback0

2     3        console@console  | ip address

That's even better because the archive remains after logoff.

Hope that helps


New Member

Show history no longer works above enable mode

That looks like a good start. On the router I'm in there seems to be more to the archive command than just what you laid out. I'll look up the command for my IOS version.

New Member

Re:Show history no longer works above enable mode

The archive is useful but no replacement for show history. I have a pair of routers in an HSRP active-standby setup so I'm constantly being to copy commands between the two. Show history allows me to copy and paste all the lines at once.

Sent from Cisco Technical Support Android App

CreatePlease login to create content