Solved

cisco 4506 switch-IOS 12(20)

Posted on 2008-06-10
5
575 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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Cisco Router DMZ 5 92
Link issue 11 66
esx multi vlans 3 99
Need to know how to add another Cisco switch to my existing stack and join it to the correct VLAN 25 63
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 see many questions here on Experts Exchange regarding switch port configurations and trunks. This article is meant for beginners in the subject to help to get basic knowledge about Virtual Local Area Network (VLAN (http://en.wikipedia.org/wiki/Vir…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

726 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