Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

link status monitoring on 4948's

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!

  • LAN Switching and Routing
1 ACCEPTED SOLUTION

Accepted Solutions

Re: link status monitoring on 4948's

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

4 REPLIES
Purple

Re: link status monitoring on 4948's

Try logging level 6 .

New Member

Re: link status monitoring on 4948's

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.

Re: link status monitoring on 4948's

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

New Member

Re: link status monitoring on 4948's

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

Thank you.

446
Views
5
Helpful
4
Replies
This widget could not be displayed.