0% found this document useful (0 votes)
149 views

Switch Configuration Command List: The Following Table Lists Common Switch Configuration Commands

The document lists common switch configuration commands organized by task. It provides the command syntax to move between different configuration modes like privileged, global, and interface configuration modes. It also lists commands for viewing switch information and interface status, saving configurations, setting passwords, IP addresses, and CDP parameters.

Uploaded by

rashmi m
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
149 views

Switch Configuration Command List: The Following Table Lists Common Switch Configuration Commands

The document lists common switch configuration commands organized by task. It provides the command syntax to move between different configuration modes like privileged, global, and interface configuration modes. It also lists commands for viewing switch information and interface status, saving configurations, setting passwords, IP addresses, and CDP parameters.

Uploaded by

rashmi m
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 3

Switch Configuration Command List

The following table lists common switch configuration commands.

Task Command
Move to privileged mode from user mode switch>enable
Move to user mode from privileged mode switch#disable
Move to global configuration mode switch#configure terminal
switch(config)#interface
fastethernet0/14
switch(config)#interface
Move to interface configuration mode gigabitethernet 0/17
switch(config)#interface con 0
switch(config)#interface vty 0 4
switch(config)#interface vlan 1
Leave the current configuration mode, or switch(config-if)#exit
exit the system
Exit all configuration modes switch(config)#^Z
Show the current switch configuration switch#show running-config
Show switch information such as software switch#show version
version and hardware components
switch#show interfaces
Show interface status and configuration switch#show interfaces fastethernet
information 0/14
switch#copy running-config startup-
Save the current switch configuration config
Load a configuration file from another switch#copy
location tftp://1.0.0.0/my_config.cfg
Set the enable password (to cisco) switch(config)#enable password cisco
Set the secret password (to cisco) switch(config)#enable secret cisco
switch(config)#ip default-gateway
Set the default gateway 1.1.1.1
Set the switch hostname switch(config)#hostname ATL
switch(config-if)#description
Set a description for a port IS_VLAN
Enable CDP on the switch switch(config)#cdp run
Enable CDP on a port switch(config-if)#cdp enable
switch(config)#cdp holdtime 181
Set CDP parameters switch(config)#cdp timer 66
switch(config-if)#speed 10
Set the port speed switch(config-if)#speed 100
switch(config-if)#speed auto
switch(config-if)#duplex half
Set the duplex mode switch(config-if)#duplex full
switch(config-if)#duplex auto

You might also like