- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2010 07:54 AM - edited 03-06-2019 01:49 PM
I've just upgraded the supervisor engine in my old 4006s (from Sup-II to Sup-II+) and all is well. This has also brought a migration from CatOS to IOS. Previously (under Sup-II and CatOS) I was able to record to syslog each individual port connection and disconnection, e.g.: Oct 25 09:39:11 westcomms 2010 Oct 25 08:39:10 UTC +00:00 %ETHC-5-PORTTOSTP:Port 3/48 joined bridge port 3/48 Oct 25 09:39:17 westcomms 2010 Oct 25 08:39:16 UTC +00:00 %ETHC-5-PORTFROMSTP:Port 3/48 left bridge port 3/48 This logging information is actually very useful for troubleshooting, but I can't find any way to reinstate this under IOS. I have syslogging enabled and other messages are correctly appearing there. How can I record the above under my new setup? Thanks... Dave.
Solved! Go to Solution.
- Labels:
-
Other Switching
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2010 08:59 AM
Dave
You don't say which IOS you are using but usually with 4500/6500 using IOS you need to add this to each interface -
int gi3/1
logging event link-status
Jon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2010 09:20 AM
If you want it on all ports , at the global level "logging event link-status default" .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2010 07:56 AM
(Urgh, horrible editor, let's try formatting that a little better...)
I've just upgraded the supervisor engine in my old 4006s (from Sup-II to Sup-II+) and all is well. This has also brought a migration from CatOS to IOS. Previously (under Sup-II and CatOS) I was able to record to syslog each individual port connection and disconnection, e.g.:
Oct 25 09:39:11 westcomms 2010 Oct 25 08:39:10 UTC +00:00 %ETHC-5-PORTTOSTP:Port 3/48 joined bridge port 3/48
Oct 25 09:39:17 westcomms 2010 Oct 25 08:39:16 UTC +00:00 %ETHC-5-PORTFROMSTP:Port 3/48 left bridge port 3/48
This logging information is actually very useful for troubleshooting, but I can't find any way to reinstate this under IOS.
I have syslogging enabled and other messages are correctly appearing there. How can I record the above under my new setup?
Thanks...
Dave.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2010 08:59 AM
Dave
You don't say which IOS you are using but usually with 4500/6500 using IOS you need to add this to each interface -
int gi3/1
logging event link-status
Jon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2010 09:15 AM
logging event link-status
That's exactly what I need, thanks Jon. I guess this defaults to OFF on the larger chassis switches, but is ON by default on the smaller switches (I've got a 3750 which doesn't require the above).
Excellent, cheers,
Dave.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2010 09:20 AM
If you want it on all ports , at the global level "logging event link-status default" .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2010 09:41 AM
glen.grant wrote:
If you want it on all ports , at the global level "logging event link-status default" .
Ah, that's useful, Glen, thanks. It seems to "logging event link-status global" on my switch, but this is a better general solution.
Cheers,
Dave.
