Configuring Link Status Event Notification For An Interface - Cisco Catalyst 4500 Series Configuration Manual

Release ios xe 3.3.0sg and ios 15.1(1)sg
Hide thumbs Also See for Catalyst 4500 Series:
Table of Contents

Advertisement

Chapter 7
Configuring Interfaces

Configuring Link Status Event Notification for an Interface

To enable or disable a link status logging event, enter one of the following commands:
Command
Switch(config-if)# logging event
link-status
Switch(config-if)# no logging event
link-status
Switch(config-if)# logging event
link-status use-global
Global Settings
You can also provide a global configuration for the corresponding logging event. A global configuration
provides default logging settings for all interfaces. The [no] logging event link-status global command
lets you enable or disable the interface link status logging for the entire switch. The [no] logging event
trunk-status global command lets you enable disable interface trunk status logging for the entire
switch.
Each interface link status logging event, if not configured at the interface level, uses the following global
logging event setting:
The interface trunk status logging event has similar global configurations.
Configuring a Switch Global Link Status Logging Event
To enable or disable the global link status logging event, enter one of the following commands:
Command
Switch(config-if)# logging event link-status
global
Switch(config-if)# no logging event
link-status global
Examples
The following example displays a summary of the operating states for the interface logging event using
different combinations of global and interface logging settings:
global setting
--------------
OL-25340-01
logging event link-status global—Link status logging event is enabled, if not configured on the
interface.
no logging event link-status global—Link status logging event is disabled, if not configured on the
interface.
interface setting
-----------------
on
off
on
off
on
off
Purpose
Enables interface link status logging.
Disables interface link status logging.
Specifies the global default setting for interface
link status logging.
Purpose
Enables global link status logging.
Disables global link status logging.
actual logging state
--------------------
on
on
off
off
default(use-global)
default(use-global)
Software Configuration Guide—Release IOS XE 3.3.0SG and IOS 15.1(1)SG
Monitoring and Maintaining the Interface
on
on
off
off
on
off
7-37

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents