6-33
Software Configuration Guide—Release 15.0(2)SG
OL-23818-01
Chapter 6 Configuring Interfaces Monitoring and Maintaining the Interface
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
off on on
on off off
off off off
on default(use-global) on
off default(use-global) off
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.