5.8 Layer-2 Interface Commands
shutdown
Use the shutdown command to enable or disable a port.
interface <port>
shutdown
no shutdown
S
D
YNTAX
ESCRIPTION
D
V
:
EFAULT
ALUE
C
M
:
OMMAND
ODES
R
:
EFERENCE
M
:
ENU
E
:
XAMPLE
! Enable port-3
Switch(config)# interface fastethernet0/3
Switch(config-if)# no shutdown
Switch(config-if)#
! Disable port-25(giga port)
Switch(config)# interface fastethernet0/3
Switch(config-if)# shutdown
Switch(config-if)#
:
<port>
Port instance
The shutdown feature is enabled by default.
Interface configuration
Cisco
Basic Switch Configuration Menu->Port->Set Status
5-31
Command Line Interface