01-12-2017 12:38 AM - edited 03-05-2019 07:49 AM
Hello
some of the fast Ethernet ports changed from 100 to 10 Mbps speed. Can i log the information or time when it happens on my ports? i mean can i track those changes and their times when it happens? some command in CLI for that?
01-12-2017 01:41 AM
Hello
Do you have hardcoded speed/duplex setting on your switchports or are they set to autonegotiation?
The reason for a 100mb port to transition on to 10MBs I would say even the speed settings have manually been changed or your interfaces have begun receiving mismatch duplex settings.
By default Cisco switches default to half duplex (HDX) 10Mps when a mismatch of duplex on a 10/100Mbs interface occurs.
To answer your query about notification when this happens, You could enable logging event link-status and have these traps sent to your syslog server or just consoled onto the switch but this will detect any changes to the interface.
logging host x.x.x.x
int x/x
logging event link-status
res
Paul
01-12-2017 04:33 AM
what should i put instead of the x.x.x.x? my PC?
01-12-2017 01:53 AM
Hello,
an interface speed change doesn't create a syslog message as far as I know, so you won't see anything in the logs.
That said, an EEM script that periodically checks the running config for patterns (e.g. 'speed 10' or 'speed 100') or that checks the output of 'show interfaces' for those patterns would work. That script could also create a log entry and even send you an email in case the event occurs.
What device is that for ? I could try and create the script, if you post the config of the device.
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