cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3022
Views
5
Helpful
2
Replies

logging archive

kozorezdi
Level 1
Level 1

Hello everyone,

In IOS we have such config:

archive

     log config

              logging enable

                logging size 300

              notify syslog contenttype plaintext

              hidekeys

path bootdisk:

write-memory

time-period 1440

In IOS-XR we have almost the same:

logging archive

    device harddisk

    file-size 1

    frequency weekly

    archive-size 100

    archive-length 4

!

BUT without an ability to do local accounting as it was in classical IOS. 

Can I get a simular result to "show archive log config all" locally(without TACACS+) on a router with IOS-XR?

Thank you in advance.

--

Dmitry

2 Replies 2

Rivalino Tamaela
Cisco Employee
Cisco Employee

In IOS-XR you can do the following:

RP/0/RSP0/CPU0:ASR9010-B#show configuration commit list

Fri Jan 31 10:23:26.894 EST

SNo. Label/ID    User      Line                Client      Time Stamp

~~~~ ~~~~~~~~    ~~~~      ~~~~                ~~~~~~      ~~~~~~~~~~

1    1000000267  mikewri   vty2:node0_RSP0_CP  CLI         Thu Jan 30 18:19:05 2014

2    1000000266  mikewri   vty2:node0_RSP0_CP  CLI         Thu Jan 30 17:59:24 2014

3    1000000265  mikewri   vty2:node0_RSP0_CP  CLI         Thu Jan 30 17:57:30 2014

4    1000000264  rtamaela  vty3:node0_RSP0_CP  Rollback    Thu Jan 30 16:34:30 2014

5    1000000263  rtamaela  vty3:node0_RSP0_CP  CLI         Thu Jan 30 16:34:23 2014

RP/0/RSP0/CPU0:ASR9010-B#show configuration commit changes 1000000263

Fri Jan 31 10:25:02.837 EST

Building configuration...

!! IOS XR Configuration 4.2.3

interface Bundle-Ether11.285 l2transport

encapsulation untagged

no rewrite ingress tag pop 1 symmetric

!

end

RP/0/RSP0/CPU0:ASR9010-B#

thanks,

rivalino

Hi Rivalino,

Ok. Clear. Thanks a lot!

--

Dmitry