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

logging event link-status

Is this enabled by default on Cisco IOS switch ports? What logging level will ensure I see link status in the router buffer log?

5 REPLIES
New Member

Re: logging event link-status

I have two things One is Configuring UDLD which is enabled globally by default.

I usually set my logging level to debugging=Level 7. You will definitely see it.

If you have the opportunity, start at the highest level and go down until you don't see the log messages anymore.

http://www.cisco.com/en/US/products/hw/switches/ps646/products_configuration_guide_chapter09186a008031ff90.html

http://www.cisco.com/en/US/products/hw/switches/ps5023/products_configuration_guide_chapter09186a00801cdea7.html

Hope this helps

New Member

Re: logging event link-status

Right after I sent my last post, I found this

Interface up or down transitions and system restart messages, displayed at the notifications level. This message is only for information; switch functionality is not affected.

New Member

Re: logging event link-status

Thanks for your reply.

I'm wondering if link up/down status is enabled by default with log level notification and above, what is the purpose of configuring the IOS command "logging event link-status"...is this only to be used when the log level is lower than notification and you still want to see link-status messages? I'm a little confused about it.

New Member

Re: logging event link-status

logging event link-status global (global configuration)

To change the default switch-wide global link-status event messaging settings, use the

logging event link-status global command. Use the no form of this command to disable the link-status event messaging.

logging event link-status global

no logging event link-status global

Syntax Description

This command has no arguments or keywords.

Defaults

The global link-status messaging is disabled.

Command Modes

Global configuration

Command History

Release Modification

12.2(25)SG

Support for this command was introduced on the Catalyst 4500 series switch.

Usage Guidelines

If link-status logging event is not configured at the interface level, this global link-status setting takes effect for each interface.

Examples

This example shows how to globally enable link status message on each interface:

Switch# config terminal

Enter configuration commands, one per line. End with CNTL/Z.

Switch(config)# logging event link-status global

Switch(config)# end

Switch#

Related Commands

logging event link-status global (global configuration)

logging event link-status (interface configuration)

To enable the link-status event messaging on an interface, use the logging event link-status command. Use the no form of this command to disable link-status event messaging. Use the

logging event link-status use-global command to apply the global link-status setting.

logging event link-status

no logging event link-status

logging event link-status use-global

Defaults

Global link-status messaging is enabled.

Command Modes

Interface configuration

Command History

Release Modification

12.2(25)SG

Support for this command was introduced on the Catalyst 4500 series switch.

New Member

Re: logging event link-status

so it looks like it is turned on by default on the interface configuration.

16965
Views
0
Helpful
5
Replies