Re: Setting logging

From: Ahmed Mamoor Amimi (mamoor@xxxxxxxx)
Date: Tue Apr 09 2002 - 22:39:00 GMT-3


   
level 7 will turn all the all the options from 0-7

for a test i was running a router with ospf. i do the debug as follow

I opened some debug of ospf and my level at console is 7
i then do a 4 , nothing comes up , then 5 then 6 nothing..... but at 7 it
pops up....

So level 7 will give u all the options. 0-7

r1(config)#logging console 7
07:07:02: OSPF: Send with youngest Key 1
r1(config)#logging console
07:07:05: OSPF: rcv. v:2 t:1 l:52 rid:140.4.13.1
      aid:0.0.0.0 chk:E3EB aut:0 auk: from Ethernet0
07:07:05: OSPF: Rcv hello from 140.4.13.1 area 0 from Ethernet0 140.4.4.13
07:07:05: OSPF: End of hello processing
07:07:06: OSPF: rcv. v:2 t:1 l:48 rid:140.4.2.1
      aid:0.0.0.1 chk:0 aut:2 keyid:1 seq:0x2B916117 from Serial1
07:07:06: OSPF: Rcv hello from 140.4.2.1 area 1 from Serial1 140.4.1.2
07:07:06: OSPF: End of hello processing
r1(config)#logging console 4
r1(config)#logging console n
r1(config)#logging console 5
r1(config)#logging console 6
r1(config)#logging console 7
r1(config)#
07:08:32: OSPF: Send with youngest Key 1
r1(config)#
07:08:35: OSPF: rcv. v:2 t:1 l:52 rid:140.4.13.1
      aid:0.0.0.0 chk:E3EB aut:0 auk: from Ethernet0
07:08:35: OSPF: Rcv hello from 140.4.13.1 area 0 from Ethernet0 140.4.4.13
07:08:35: OSPF: End of hello processing
07:08:36: OSPF: rcv. v:2 t:1 l:48 rid:140.4.2.1
      aid:0.0.0.1 chk:0 aut:2 keyid:1 seq:0x2B916121 from Serial1
07:08:36: OSPF: Rcv hello from 140.4.2.1 area 1 from Serial1 140.4.1.2
07:08:36: OSPF: End of hello processing
r1(config)#^Z
r1#
07:08:38: OSPF: rcv. v:2 t:1 l:52 rid:140.4.68.2
      aid:0.0.0.0 chk:E3EC aut:0 auk: from Ethernet0
07:08:38: OSPF: Rcv hello from 140.4.68.2 area 0 from Ethernet0 140.4.4.6
07:08:38: OSPF: End of hello processing
r1#no de
07:08:40: %SYS-5-CONFIG_I: Configured from console by console
r1#no deb
r1#no debug all
All possible debugging has been turned off
r1#
07:08:42: OSPF: Send with youngest Key 1
r1#

-Mamoor

----- Original Message -----
From: scott mann <smann0762@hotmail.com>
To: <ccielab@groupstudy.com>
Sent: Thursday, April 11, 2002 3:26 AM
Subject: Setting logging

> Can anyone tell me how to send log messages to a server with the
stipulation
> that I want to send more than one level of alert.
>
> In other words, when I type "logging trap alert", there is no option for
> chooing more than one level. If I then type "logging trap critical", then
> that replaces the first "alert" level in the IOS.
>
> The link below does not explain how to send more than one level.
> Do I just choose the most severe "alerts - level 1" and everything less
> severe would automatically be included, or choose the least severe
"critical
> - level 2" and this would include everything more severe automatically.
>
> Thanks.
>
>
http://www.cisco.com/univercd/cc/td/doc/product/software/ios121/121cgcr/fun_
c/fcprt3/fcd302.htm
>
>
>



This archive was generated by hypermail 2.1.4 : Thu Jun 13 2002 - 10:58:04 GMT-3