Solved

cisco 4506 switch-IOS 12(20)

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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Cant browse or ping a particular URL 2 44
The purpose of Root Bridge 7 71
eigrp - not allow a subnet from advertising 1 58
Disabling SNMP Write-Access on Switches 6 28
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 …
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…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

808 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