Syslog messages only from vlan and trunk interfaces

Answered Question
Jul 10th, 2008

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.

I have this problem too.
0 votes
Correct Answer by Joe Clarke about 8 years 4 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

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

For Vlan updowns only:

Facility : LINK

Sub-facility : *

Severity : *

Mnemonic : UPDOWN

Description : Interface Vlan*changed state to*

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

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

yjdabear Wed, 07/16/2008 - 15:14

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

Actions

This Discussion