02-09-2006 05:02 PM
On IOS switches the command 'logging event link-status' and 'no logging event link-status' is entered on each port. The interface range command can be used on supported IOSes.
What are the equivalent commands for CatOS.
Solved! Go to Solution.
02-10-2006 05:06 AM
It definitely seems that way.
02-09-2006 05:11 PM
Hi,
Use the 'set port trap
Hope that helps - pls rate the post if it does.
Paresh
02-09-2006 05:19 PM
I'm still a little unclear.
Link-status messages can be sent via SNMP or logging.
On IOS, both can be enabled or disabled with:
logging event link-status
no logging event link-status
snmp trap link-status
no snmp trap link-status
I'm guessing the commands
set port trap
set port trap
are for SNMP. If so, is there a command to enable/disable logging messages on CatOS?
02-09-2006 05:47 PM
You are correct, set port trap
02-09-2006 05:55 PM
Ok.
Answer this then:
do messages even get logged when a port on a Catalyst switch running CatOS transitions from up to down?
02-09-2006 07:14 PM
I shutdown the interface on the router that is plugged into the switch in one shell, and in the other shell I was logged into the switch.
Here is the syslog message I got on the switch:
2006 Feb 09 22:06:38 EST -05:00 %SNMP-5-LINKTRAP:Link Down Trap -- ifName=6/15
So it is a syslog message that lets you know an SNMP link down trap was sent.
When I changed the router interface back to up, this is the syslog message I got on the switch:
2006 Feb 09 22:08:58 EST -05:00 %SNMP-5-LINKTRAP:Link Up Trap -- ifName=6/15
02-10-2006 04:33 AM
So what I get out of this is the command will do both syslog and SNMP...
If I'm wrong, please correct me.
Thank you for testing that for me.
02-10-2006 05:06 AM
It definitely seems that way.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide