Skip to content

Latest commit

 

History

History
65 lines (64 loc) · 1.2 KB

LAB 001.md

File metadata and controls

65 lines (64 loc) · 1.2 KB

Basic Device Configuration

0. Log into device

Router>enable    
Router#configure terminal    
Router(config)#

1. Device name (change device name from Router to R1)

Router(config)#hostname R1
R1(config)#

2. Passwords

  • 2.1 Console Password
R1(config)#line console 0
R1(config-line)#password cisco
R1(config-line)#login
R1(config-line)#exit
R1(config)#
  • 2.2 VTY password
R1(config)#
R1(config)#line vty 0 ?
<1 - 15>
R1(config)#line vty 0 15
R1(config)#password cisco
R1(config)#login
R1(config)#
  • 2.3 Enable password
R1(config)#enable secret cisco
R1(config)#
  • 2.4 Password encryption
R1(config)#service password-encryption
R1(config)#

3. Banner

R1(config)#banner motd $UNAUTHORIZED ACCESS NOT ALLOWED$
R1(config)#

4. IP Address configuration (Manual)

R1(config)#interface gigabitEthernet 0/0
R1(config-if)#ip address 172.16.1.1 255.255.0.0
R1(config-if)#no shutdown
R1(config-if)#exit
R1(config)#

5. Verification & saving of configurations

  • verifying Configurations
R1(config)#exit
R1#show running-config
  • saving Configurations
R1#copy running-config startup-config