Pages

network cisco ccna gns3 certification arteq

network cisco ccna gns3 certification arteq
a network runs through it

Search insearchofthecert

Sunday, March 11, 2012

200th post... timestamps...

my 200th post...
let's give it a timestamp

03/11/2012 13:32:00

good... here's the segue:

the usual timestamps for a device are thus:

asw2#sh run
Building configuration...

Current configuration : 4583 bytes
!
version 12.1
no service pad
(service pad, packet assembler/disassembler, legacy x.29 stuff, sounds bad )
service timestamps debug uptime
service timestamps log uptime

not sure about you but i generally just ignore them... until now...

service timestamps debug uptime denotes that the output to the terminal will be stamped with the devices current uptime... a timestamp for debugging, and a timestamp for logging...

asw2#debug spann even
Spanning Tree event debugging is on

1w0d: set portid: VLAN0010 Fa0/2: new port id 8002
1w0d: STP: VLAN0010 Fa0/2 -> listening
1w0d: set portid: VLAN0020 Fa0/2: new port id 8002
1w0d: STP: VLAN0020 Fa0/2 -> listening
1w0d: set portid: VLAN0100 Fa0/2: new port id 8002
1w0d: STP: VLAN0100 Fa0/2 -> listening
1w0d: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/2, changed s
tate to up

so the uptime in the output is 1 week 0 days
and for logging, the same...

asw2(config)#int f0/5
asw2(config-if)#descr ---->dsw1
asw2(config-if)#end
asw2#
1w0d: %SYS-5-CONFIG_I: Configured from console by vty13 (192.168.1.

that doesn't tell me shit...

asw2(config)#servic timestamp debug datetime
asw2(config)#service timestamp log datetime

asw2(config)#int f0/5
asw2(config-if)#descr no ---->
asw2(config-if)#end
asw2#
Mar 11 13:50:41: %SYS-5-CONFIG_I: Configured from console by vty13 (192.168.1.10
2)
asw2#debug spann event
Spanning Tree event debugging is on
asw2#
Mar 11 13:52:42: STP: VLAN0001 new root port Fa0/1, cost 38
Mar 11 13:52:42: STP: VLAN0001 Fa0/1 -> listening
Mar 11 13:52:42: STP: VLAN0010 new root port Fa0/1, cost 38
Mar 11 13:52:42: STP: VLAN0010 Fa0/1 -> listening
Mar 11 13:52:42: STP: VLAN0020 new root port Fa0/1, cost 38
Mar 11 13:52:42: STP: VLAN0020 Fa0/1 -> listening
Mar 11 13:52:42: STP: VLAN0100 new root port Fa0/1, cost 38

now that's better...  timestamps for daylight savings time, and my 200th post... another milestone






No comments:

Post a Comment