Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Logging trap 4510R

Status
Not open for further replies.

Iago77

IS-IT--Management
Joined
Jun 9, 2003
Messages
125
Location
ES
I've activated logging trap on this switch:

(from sh run)

!
logging trap debugging
logging 172.21.41.46
!

The level is set as "debug", and the facility which is being monitoring is Local7.

#show logging
cisco4510R#show logging
Syslog logging: enabled (0 messages dropped, 1 messages rate-limited, 0 flushes, 0 overruns, xml disabled, filtering disabled)
Console logging: level debugging, 726 messages logged, xml disabled,
filtering disabled
Monitor logging: level debugging, 0 messages logged, xml disabled,
filtering disabled
Buffer logging: level errors, 0 messages logged, xml disabled,
filtering disabled
Exception Logging: size (8192 bytes)
Count and timestamp logging messages: disabled
Trap logging: level debugging, 60 message lines logged
Logging to 172.21.41.46, 5 message lines logged, xml disabled,
filtering disabled

On the other side there's a syslog server but last nigh we've have a power fault, a couple of machines crashed and the switch didn't send any event to the server.

I've got another Cisco equipment, an Aironet 1200, and the monitoring is ok.

Am I doing something wrong?

Many thanks in advance for your help!
 
You would probably have to post your snmp informAtion to see if that part of the config looks ok. Are you saying the port traps didn't get logged ????
 
The switch didn't send any trap to the syslog server, when the interfaces lost connection.

"logging trap" is enable

"facility", by default is local7 (I didn't set any facility)

"severity", logging level is debugging

Could you help me? Thank you very much!
 
The platform is

---
cisco4510R2#sh ver
Cisco IOS Software, Catalyst 4000 L3 Switch Software (cat4000-I9K91S-M), Version 12.2(25)EWA, RELEASE SOFTWARE (fc1)
Technical Support: Copyright (c) 1986-2005 by Cisco Systems, Inc.
Compiled Fri 04-Mar-05 16:40 by dchih
Image text-base: 0x10000000, data-base: 0x115E5B10

ROM: 12.2(20r)EW1
Dagobah Revision 95, Swamp Revision 6

cisco4510R2 uptime is 13 weeks, 2 days, 10 hours, 46 minutes
Uptime for this control processor is 13 weeks, 2 days, 10 hours, 46 minutes
System returned to ROM by reload
System image file is "bootflash:"
---

Like a test, I've set "logging event link-status" in a interface. I've shutdown the interface and Syslog detected the event:

---
2005-11-29 15:25:49 Local7.Notice 172.21.40.85 14231: *Nov 29 07:25:35: %LINK-5-CHANGED: Interface GigabitEthernet5/46, changed state to administratively down
2005-11-29 15:25:49 Local7.Notice 172.21.40.85 14232: *Nov 29 07:25:36: %SYS-5-CONFIG_I: Configured from console by vty0 (192.168.5.26)
2005-11-29 15:25:49 Local7.Notice 172.21.40.85 14233: *Nov 29 07:25:36: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet5/46, changed state to down
---

I think the problem is because by default the interfaces aren't logged (there's a lot of them and we must enable them it a explicit-way).

I hope this help us :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top