Solved

cisco 4506 switch-IOS 12(20)

Posted on 2008-06-10
5
576 Views
Last Modified: 2008-06-13
Hi

I would like to see the message displayed on the console or telnet session saying "Interface up or down" when I connect or disconnect a device from the interfaces/ports of  the switch.Currently,I do not see a message if I disconnect or connect a device from any of the interface or port.Any ideas ?Usually it says that interface went down  or came up when the device either connects or disconnects to it.

Thanks
0
Comment
Question by:alimohammed72
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 4

Accepted Solution

by:
tfowles earned 250 total points
ID: 21756009
You might want to consider upgrading the IOS to a later version.  12.2(25)SG introduced two commands:

[no] logging event link-status global (global configuration)
[no] logging event link-status (interface configuration)

These commands allow you to either globally or per-port turn on or off link-state messages.

You should also make sure that logging is turned on to the console and vtys:
logging on
logging console debugging
logging monitor debugging

HTH

-Thomas Fowles
0
 
LVL 21

Assisted Solution

by:from_exp
from_exp earned 250 total points
ID: 21756972
one more thing to add:
by default cisco timestamps logged messages with uptime, but I find it more useful to mark logged messages with current date-time
in order to do that issue:
service timestamps debug datetime
service timestamps log datetime
0
 

Author Comment

by:alimohammed72
ID: 21779270
IS IT SAFE TO RUN THE FOLLOWING COMMANDS ALL THE TIME  ON THE SWITCH.DON'T THEY MAKE THE SWITCH SLOW?

logging on
logging console debugging
logging monitor debugging
0
 
LVL 21

Assisted Solution

by:from_exp
from_exp earned 250 total points
ID: 21779434
no, the switch is doing it's job (switching/routing) in hardware, so you can easily use CPU for logging and you don't even notice any performance slow down.
0
 
LVL 4

Assisted Solution

by:tfowles
tfowles earned 250 total points
ID: 21779961
These will only affect performance if you are running particularly noisy debugging commands.  Under normal circumstances, you should not get much messaging at all.

-Thomas Fowles
0

Featured Post

Forrester Webinar: xMatters Delivers 261% ROI

Guest speaker Dean Davison, Forrester Principal Consultant, explains how a Fortune 500 communication company using xMatters found these results: Achieved a 261% ROI, Experienced $753,280 in net present value benefits over 3 years and Reduced MTTR by 91% for tier 1 incidents.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Arrow Electronics was searching for a KVM  (Keyboard/Video/Mouse) switch that could display on one single monitor the current status of all units being tested on the rack.
WARNING:   If you follow the instructions here, you will wipe out your VTP and VLAN configurations.  Make sure you have backed up your switch!!! I recently had some issues with a few low-end Cisco routers (RV325) and I opened a case with Cisco TA…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.

729 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question