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

Basic Switch & Router Configuration Lab v2

Uploaded by

Trésor Nara
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views

Basic Switch & Router Configuration Lab v2

Uploaded by

Trésor Nara
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

Basic Switch & Router

Configuration Lab
Network Walks Academy

Cisco Certifications www.networkwalks.com [email protected]


Basic/Initial Configuration - Switch & Router

Topology Diagram

Task

TASK: Complete the initial configuration on SW1 & set access levels. Repeat the same on R1

Related Info:
‐ All passwords/secret should be configured to: networkwalks
‐ All banners should be configured to: WELCOME TO NETWORK WALKS

1 www.networkwalks.com [email protected]
Solution

1. Enter the privileged mode:


SW> enable

Enter the Configuration mode:


SW# configure terminal
SW(config)#

2. Configure the hostname:


SW(config)# hostname nw_Switch1

3. Secure the access lines to device. Set all the access passwords to ‘networkwalks’
i. Set the Privileged Mode Access with Encrypted Password (enable Secret)
nw_Switch1(config)# enable secret networkwalks

ii. Enter config-line mode for the console:


nw_Switch1(config)# line console 0
nw_Switch1(config)# login local
nw_Switch1(config-if)# password networkwalks
nw_Switch1(config-if)# exit

iii. Configure the vty lines access (Telnet/SSH):


nw_Switch1(config)# line vty 0 15
nw_Switch1(config)# login local
nw_Switch1(config-if)# password networkwalks
nw_Switch1(config-if)# exit

2 www.networkwalks.com [email protected]
iv. Configure the AUX lines access:
nw_Switch1(config)# line aux 0 !(for L3 switches & Routers only)
nw_Switch1(config)# login local
nw_Switch1(config-if)# password networkwalks
nw_Switch1(config-if)# exit

4. Configure banners
nw_Switch1(config)# banner login #WELCOME TO NETWORK WALKS# !(not supported on old switch models)
nw_Switch1(config)# banner motd #WELCOME TO NETWORK WALKS#
nw_Switch1(config)# exit
S1#

5. Enable switch ports that are going to be used (keep all other ports shutdown):
nw_Switch1(config)# interface range fa0/1-2
nw_Switch1(config)# no shutdown
nw_Switch1(config)# exit
nw_Switch1#

6. Configure Users with Minimum Access according to user roles:


nw_Switch1(config)# username john privilege 15 password networkwalks

7. Save the configuration


nw_Switch1# copy running-config startup-config

3 www.networkwalks.com [email protected]
Verification
Switch# show running-config

Miscellaneous other show commands (for verification & troubleshooting)


nw_Switch1# show version
nw_Switch1# show ip interface brief
nw_Switch1# show startup-config

References

Cisco CLI Access Modes


Command Mode How to enter Access Method
User EXEC / User Mode
>
(Privilege Level 1)
Privileged EXEC / Privileged Mode /
enable Router#
Enable Mode (Privilege Level 15)

Global configuration
configure terminal Router(config)#
(Configuration Mode)

4 www.networkwalks.com [email protected]
Cisco Privilege Level Detail

0 Fixed with only five commands: disable, enable, help, logout, exit
User EXEC mode >
1 The default level
2-14 Customizable Levels
Privilege/Enable EXEC mode #
15 Full Control

© All Rights are reserved, Network Walks Academy


Leave your feedback at: [email protected]. Your Technical Questions, comments & suggestions are always Welcomed.
www.networkwalks.com

5 www.networkwalks.com [email protected]

You might also like