04-30-2007 12:03 PM - edited 03-05-2019 03:46 PM
How do you enable link status monitoring on 4948's with IOS? I'm logging syslog level 5 events to buffer & when a link goes up/down nothing shows up in the logs.
I dug around for a 'logging event link-status' type of command that you have to issue on the 6500s, but no luck.
Thanks in advance!
Solved! Go to Solution.
04-30-2007 11:43 PM
Friend,
You need to enter the command "logging event link-status" under the interface and not in global configuration mode.
4948(config)#int g 1/26
4948(config-if)#shutdown
4948(config-if)#logging ev
4948(config-if)#logging event ?
link-status UPDOWN and CHANGE messages
nfas-status NFAS D-channel status messages
trunk-status TRUNK status messages
4948(config-if)#logging event lin
4948(config-if)#logging event link-status
4948(config-if)#no shut
4948(config-if)#
16w1d: %LINK-3-UPDOWN: Interface GigabitEthernet1/26, changed state to down
HTH, rate if it does
Narayan
04-30-2007 01:33 PM
Try logging level 6 .
04-30-2007 01:37 PM
As mentioned in my original post, I originally attempted to enter the logging event link-status command on the 4948 with no luck.
RouterA(config)#logging ?
Hostname or A.B.C.D IP address of the logging host
buffered Set buffered logging parameters
cns-events Set CNS Event logging level
console Set console logging parameters
count Count every log message and timestamp last occurance
exception Limit size of exception flush output
facility Facility parameter for syslog messages
history Configure syslog history table
host Set syslog server IP address and parameters
monitor Set terminal line (monitor) logging parameters
on Enable logging to all supported destinations
rate-limit Set messages per second limit
source-interface Specify interface for source address in logging transactions
trap Set syslog server logging level
Nor is it a hidden command..
RouterA(config)#logging event link-status
Translating "event"
^
% Invalid input detected at '^' marker.
04-30-2007 11:43 PM
Friend,
You need to enter the command "logging event link-status" under the interface and not in global configuration mode.
4948(config)#int g 1/26
4948(config-if)#shutdown
4948(config-if)#logging ev
4948(config-if)#logging event ?
link-status UPDOWN and CHANGE messages
nfas-status NFAS D-channel status messages
trunk-status TRUNK status messages
4948(config-if)#logging event lin
4948(config-if)#logging event link-status
4948(config-if)#no shut
4948(config-if)#
16w1d: %LINK-3-UPDOWN: Interface GigabitEthernet1/26, changed state to down
HTH, rate if it does
Narayan
05-01-2007 07:01 AM
Yup, that did the trick. It's not as elegant as a global bit to flip but it does the trick!
Thank you.
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