8-38
Software Configuration Guide—Release IOS XE 3.6.0E and IOS 15.2(2)E
OL-30933-01
Chapter 8 Configuring Interfaces
Monitoring and Maintaining the Interface
• logging event link-status use-global—Default link status logging event configuration on the
interface; its configuration should follow the switch global link status logging event setting.
The interface trunk status logging event can be configured in the same configuration states.
Configuring Link Status Event Notification for an Interface
To enable or disable a link status logging event, enter one of the following commands:
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:
• 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.
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:
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 interface setting actual logging state
-------------- ----------------- --------------------
on on on
Command Purpose
Switch(config-if)# logging event
link-status
Enables interface link status logging.
Switch(config-if)# no logging event
link-status
Disables interface link status logging.
Switch(config-if)# logging event
link-status use-global
Specifies the global default setting for interface
link status logging.
Command Purpose
Switch(config-if)# logging event link-status
global
Enables global link status logging.
Switch(config-if)# no logging event
link-status global
Disables global link status logging.