Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
43 views4 pages

Basic Switch Configuration

The document provides steps for configuring a Cisco switch, including setting the hostname, IP addresses, passwords, enabling remote login, and configuring ports.

Uploaded by

Usaama Abdilaahi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
43 views4 pages

Basic Switch Configuration

The document provides steps for configuring a Cisco switch, including setting the hostname, IP addresses, passwords, enabling remote login, and configuring ports.

Uploaded by

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

CISCO SWITCH CONFIGURAITON.

Modes of CISCO IOS SWITCH/ROUTER


LAB#1

Before you began any configuration check these commands.

show flash

show version

show run

show ip int breif

STEP1: Connect to the device via console

Switch# enable

Switch# configure terminal


Switch(config)#
TEP2: Set up a hostname for the particular switch to distinguish it in the network

Switch(config)# hostname access-switch1

STEP3: Assign default gateway to the switch

access-switch1(config)# ip default-gateway 10.1.1.254

STEP4: Assign passwords


core-switch(config)# enable secret alpha1
core-switch(config)# line con 0
core-switch(config)# password 123
core-switch(config)# login
core-switch(config)# exit
STEP5: enable remote login

core-switch(config)#line vty 0 4
core-switch(config-line)#password 123
core-switch(config-line)#login
core-switch(config-line)# exit
core-switch(config)# enable password 123

STEP5: Assign IP address to the switch for management

access-switch1(config)# interface vlan 1


access-switch1(config-if)# ip address 10.1.1.200 255.255.255.0
access-switch1(config-if)# exit
access-switch1(config)#

STEP6: Disable unneeded ports on the switch


! Assume that we have a 24 -port switch and we don’t need ports 18-24

access-switch1(config)# interface range fa 0/25-48


access-switch1(config-if-range)# shutdown
access-switch1(config-if-range)# exit

STEP7: Port renaming and speed change

core-switch(config)#interface fa 0/13
core-switch(config-if)#description billing-server
core-switch(config-if)#speed 100
core-switch(config-if)#duplex full

You might also like