Solved

cisco 4506 switch-IOS 12(20)

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Routing multiple VLAN's on a LAN 4 60
mini-GBIC port on HP switch 2 44
Cisco 4500 - Supervisor cards and licensing 2 47
L2 to EIGRP slow migration? 27 96
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…
This tutorial will go through the steps required to write a script that will back up the configuration settings of a HP-ProCurve switch. You will need to get the following things to follow this tutorial: Telnet Scripting Tool e.g. TST10.exe …
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…

911 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

19 Experts available now in Live!

Get 1:1 Help Now