link status monitoring on 4948's

Answered Question
Apr 30th, 2007

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!

I have this problem too.
0 votes
Correct Answer by royalblues about 9 years 7 months ago

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

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (2 ratings)
Loading.
jdevoll Mon, 04/30/2007 - 13:37

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.

Correct Answer
royalblues Mon, 04/30/2007 - 23:43

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

jdevoll Tue, 05/01/2007 - 07:01

Yup, that did the trick. It's not as elegant as a global bit to flip but it does the trick!

Thank you.

Actions

This Discussion