hit counter script

Shutting Down And Restarting The Interface - Cisco WS-C3550-12G Software Configuration Manual

Multilayer switch
Hide thumbs Also See for WS-C3550-12G:
Table of Contents

Advertisement

Chapter 8
Configuring Interface Characteristics
Note
The clear counters privileged EXEC command does not clear counters retrieved by using Simple
Network Management Protocol (SNMP), but only those seen with the show interface privileged
EXEC command.
This example shows how to clear and reset the counters on Gigabit Ethernet interface 0/5:
Switch# clear counters gigabitethernet0/5
Clear "show interface" counters on this interface [confirm] y
Switch#
*Sep 30 08:42:55: %CLEAR-5-COUNTERS: Clear counter on interface GigabitEthernet0/5
by vty1 (171.69.115.10)
Use the clear interface or clear line privileged EXEC command to clear and reset an interface or serial
line. Under most circumstances, you do not need to clear the hardware logic on interfaces or serial lines.
This example shows how to clear and reset Gigabit Ethernet interface 0/5:
Switch# clear interface gigabitethernet0/5

Shutting Down and Restarting the Interface

Shutting down an interface disables all functions on the specified interface and marks the interface as
unavailable on all monitoring command displays. This information is communicated to other network
servers through all dynamic routing protocols. The interface is not mentioned in any routing updates.
Beginning in privileged EXEC mode, follow these steps to shut down an interface:
Command
Step 1
configure terminal
Step 2
interface {vlan vlan-id} | {{fastethernet | gigabitethernet}
interface-id} | {port-channel port-channel-number}
Step 3
shutdown
Step 4
end
Step 5
show running-config
Use the no shutdown interface configuration command to restart the interface.
This example shows how to shut down Gigabit Ethernet interface 0/5:
Switch# configure terminal
Switch(config)# interface gigabitethernet0/5
Switch(config-if)# shutdown
Switch(config-if)#
*Sep 30 08:33:47: %LINK-5-CHANGED: Interface GigabitEthernet0/5, changed state to a
administratively down
This example shows how to re-enable Gigabit Ethernet interface 0/5:
Switch# configure terminal
Switch(config)# interface gigabitethernet0/5
Switch(config-if)# no shutdown
Switch(config-if)#
*Sep 30 08:36:00: %LINK-3-UPDOWN: Interface GiogabitEthernet0/5, changed state to up
78-11194-03
Monitoring and Maintaining the Layer 2 Interface
Purpose
Enter global configuration mode.
Select the interface to be configured.
Shut down an interface.
Return to privileged EXEC mode.
Verify your entry.
Catalyst 3550 Multilayer Switch Software Configuration Guide
8-21

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 3550

Table of Contents