Configuring Link Status Event Notification For An Interface - Cisco Catalyst 4500 series Administration Manual

Hide thumbs Also See for Catalyst 4500 series:
Table of Contents

Advertisement

Monitoring and Maintaining the Interface
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:
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
--------------
Software Configuration Guide—Release IOS XE 3.6.0E and IOS 15.2(2)E
8-38
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.
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
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
Chapter 8
Configuring Interfaces
on
OL-30933-01

Advertisement

Table of Contents
loading

Table of Contents