Solved

cisco 4506 switch-IOS 12(20)

Posted on 2008-06-10
5
566 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
  • 2
  • 2
5 Comments
 
LVL 4

Accepted Solution

by:
tfowles earned 250 total points
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

The worst thing when starting a new job is when the previous Network Administrator left behind no documentation. How do you get into the devices? If you've been in this situation or just accidently mistyped your password, this article will hopefully…
I eventually solved a perplexing problem setting up telnet for a new switch.  I installed a new Cisco WS-03560X-24P switch connected to an existing Cisco 4506 running a WS-X4013-10GE Sup II-Plus. After configuring vlans and trunking,  I could no…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

772 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now