9
Catalyst 4500 Series Switch, Cisco IOS Software Configuration Guide - Cisco IOS XE 3.9.xE and IOS
Chapter 9 Configuring Interfaces
Monitoring and Maintaining the Interface
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:
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:
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.
Summary of Contents for Catalyst 4500 Series
Page 2: ......
Page 4: ......
Page 2086: ...Index IN 46 Software Configuration Guide Release IOS XE 3 9 0E and IOS 15 2 5 E ...