3

Is it possible to detect if any cable was connected/disconnected in real time via Telnet session on Cisco Catalyst 4506?

For example, I have an IBM Switch EN94093R that does it by default, when I unplug and then plug again a cable from the switch, it shows up on the SSH/Telnet session instantly, as shown below:

enter image description here

Is there a similar way to do this on the Cisco Switch? It is really useful on cases like mine where you don't know the mac or IP addresses.

4
  • 5
    Did you turn on "term mon"?
    – Ron Maupin
    Apr 6, 2015 at 17:47
  • 1
    Do you want to see it on the console, or do you want a snmp trap? You can also use syslog.
    – Ron Trunk
    Apr 6, 2015 at 19:44
  • @RonMaupin I tried to use it, but it wont enable. If I use the command sh logging to check, it shows: Syslog logging: enabled (0 messages dropped, 150 messages rate-limited, 0 flushes, 0 overruns, xml disabled, filtering disabled) Console logging: disabled Monitor logging: disabled Apr 6, 2015 at 20:33
  • @Ron I want to see it instantly on the console, specially link up or link down events. Apr 6, 2015 at 20:35

1 Answer 1

4

From configuration mode, type

logging monitor info
end

then from enable mode type

term[inal] mon[itor]

this will send console messages to your vty session.

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.