Syslog messages only from vlan and trunk interfaces

Answered Question
Jul 10th, 2008
User Badges:

Hi,


I have LMS 2.6 and we have configured syslog in our 100 devices for sending syslog messages to the LMS.


Now we want to configure CiscoWorks for sending mails when a VLAN or a trunk interface goes down or up, but not any interface, only vlan or trunks.


How could we do it?


Thank you very much.

Correct Answer by Joe Clarke about 8 years 8 months ago

There is no way to do this unless you want to create Automated Actions for each device, and match on a known list of VLAN/trunk port interfaces.


That said, assuming your switches are running recent enough code, you could use the Embedded Event Manager to do this directly from the device.

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 4 (2 ratings)
Loading.
Correct Answer
Joe Clarke Thu, 07/10/2008 - 07:59
User Badges:
  • Cisco Employee,
  • Hall of Fame,

    Founding Member

There is no way to do this unless you want to create Automated Actions for each device, and match on a known list of VLAN/trunk port interfaces.


That said, assuming your switches are running recent enough code, you could use the Embedded Event Manager to do this directly from the device.

yjdabear Thu, 07/10/2008 - 09:48
User Badges:
  • Gold, 750 points or more

For Vlan updowns only:


Facility : LINK

Sub-facility : *

Severity : *

Mnemonic : UPDOWN

Description : Interface Vlan*changed state to*


cmartinvalle Mon, 07/14/2008 - 03:30
User Badges:

Thanks but the pattern "vlan" never appears in the syslog messages, always "GigabitEthernet..." or "FastEthernet...".

yjdabear Wed, 07/16/2008 - 15:14
User Badges:
  • Gold, 750 points or more

Actually, the IOS would create syslog messages if "logging link-status" is configured under each VLAN interface, or globally.

Actions

This Discussion