You are on page 1of 1

Basic Switch Configuration

1. After Boot:
Continue with configuration dialog? [yes/no]: no

2. Initial or Executive Mode:


Switch>

3. Switch to Hash or Privileged Executive Mode:


Switch> enable
Switch#

4. See the Running Configuration and Start-up Configurations:


Switch# show running-config
Switch# show startup-config

5. Switch to Fully Administrative or Global Configuration Mode:


Switch# configure terminal
Switch(config)#

6. Change the Hostname:


Switch(config)# Hostname DUET
DUET(config)#

7. Give Enable Password:


DUET(config)# enable password cisco
DUET(config)# enable secret cisco

8. Give Console Line Password:


DUET(config)# line console 0
DUET(config-line)# password class
DUET(config-line)# login

9. Give VTY Line Password:


DUET(config)# line VTY 0 4
DUET(config-line)# password class
DUET(config-line)# login
DUET(config-line)# transport input telnet
Or
DUET(config-line)# transport input ssh
Or
DUET(config-line)# transport input all

10. Configure the Interfaces (FastEthernet or GigabitEthernet or VLAN):


DUET(config)# interface vlan 1
DUET(config-if)# ip address 192.168.10.1 255.255.255.0
DUET(config-if)# no shutdown
DUET(config-if)# description LAN-DUET

11. Make All the Password Encrypted:


DUET(config)# service password-encryption

12. Provide the Banner Message:


DUET(config)# banner motd #Authoized Access Only!!#

13. Making back-up of the running configurations:


DUET# copy running-config startup-config

You might also like