Configuring Interface Link Status And Trunk Status Events - Cisco Catalyst 4500 Series Software Configuration Manual

Cisco ios xe release 3.9.xe and cisco ios release 15.2(5)ex
Hide thumbs Also See for Catalyst 4500 Series:
Table of Contents

Advertisement

Configuring Interface Link Status and Trunk Status Events

You can configure interface link status and trunk status events. On the Catalyst 4500 series switch, the following interface
logging event notifications are supported both globally and per interface:
Enable or disable notification on the interface whenever its data link status is changed.
Enable or disable notification on the trunk interface whenever its trunking status is changed.
Use the [no] logging event link-status use-global command to enable or disable the interface link status event. Use the [no]
logging event trunk-status use-global command to enable or disable the interface trunk status event.
Each interface link status logging event can be configured in one of the following states:
logging event link-status—Link status logging event is enabled explicitly on the interface regardless of the switch global
setting.
no logging event link-status—Link status logging event is disabled explicitly on the interface regardless of the switch
global setting.
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:
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:
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:
Monitoring and Maintaining the Interface
Catalyst 4500 Series Switch, Cisco IOS Software Configuration Guide - Cisco IOS XE 3.9.xE and IOS
9
Chapter 9
Purpose
Enables interface link status logging.
Disables interface link status logging.
Specifies the global default setting for interface
link status logging.
Configuring Interfaces

Advertisement

Table of Contents
loading

Table of Contents