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

Release ios xe 3.3.0sg and ios 15.1(1)sg
Hide thumbs Also See for Catalyst 4500 Series:
Table of Contents

Advertisement

Monitoring and Maintaining the Interface
To shut down an interface and then restart it, perform this task:
Command
Step 1
Switch(config)# interface {vlan vlan_ID} |
{{fastethernet | gigabitethernet |
tengigabitethernet} slot/port} | {port-channel
port_channel_number}
Step 2
Switch(config-if)# shutdown
Step 3
Switch(config-if)# no shutdown
This example shows how to shut down Fast Ethernet interface 5/5:
Switch(config)# interface fastethernet 5/5
Switch(config-if)# shutdown
Switch(config-if)#
*Sep 30 08:33:47: %LINK-5-CHANGED: Interface FastEthernet5/5, changed state to a
administratively down
Switch(config-if)#
This example shows how to reenable Fast Ethernet interface 5/5:
Switch(config-if)# no shutdown
Switch(config-if)#
*Sep 30 08:36:00: %LINK-3-UPDOWN: Interface FastEthernet5/5, changed state to up
Switch(config-if)#
To verify whether an interface is disabled, enter the EXEC show interfaces command. An interface that
has been shut down appears as "administratively down."

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:
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:
The interface trunk status logging event can be configured in the same configuration states.
Software Configuration Guide—Release IOS XE 3.3.0SG and IOS 15.1(1)SG
7-36
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.
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.
Purpose
Specifies the interface to be configured.
Shuts down the interface.
Reenables the interface.
Chapter 7
Configuring Interfaces
OL-25340-01

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents