Lab 3: How To Configure Telnet Remote Access on Cisco Switch
Lab : Configure Telnet Remote Access on Cisco Switch
Step :
-> assign enable password
-> assing line console password using PBKDF2 hashing algorithm
-> assign line VTY password for Remode Managemet and enable service password encryption
-> assing management ip address for telnet access
-> assign default-gateway for also need to add default gateway to the pc so it can communicate it’s local subnet and vlan by using default gateway .So we need to specify this default gateway to the switch.
SW1-mohammadpur Configuration:
Step 1: assing line console password using PBKDF2 hashing algorithm
Switch(config)#username sw1 algorithm-type sha256 secret switch1
Switch(config)#line console 0
Switch(config-line)#login local
Switch(config-line)#
Switch(config-line)#do show run | i user
username sw1 secret 8 $8$BdFi1xwKqkqTdo$UIwuJHhkgKngYRumEkgXGmHaYiJPXWHaTq8WluSsfrU
Step 2:assign enable password Encode the password using the PBKDF2 hashing algorithm
Switch(config)#enable algorithm-type sha256 secret passsw1
Step 3:assign line VTY password for Remode Managemet and
Switch(config)#line vty ?
<0-1500> First Line number
Switch(config)#line vty 0 15
Switch(config-line)#password sw1password
Switch(config)#do show run | b line vty
line vty 0 4
password sw1password
login
line vty 5 15
password sw1password
login
!
!
end
Step 4: enable service password encryption
Switch(config)#do show run | b line vty
line vty 0 4
password 7 0215130A1B071C325B411B1D
login
line vty 5 15
password 7 0215130A1B071C325B411B1D
login
!
!
end
step 5:assing management ip address for telnet access
Switch(config)#interface vlan 1
Switch(config-if)#ip address 192.168.1.10 255.255.255.0
Switch(config-if)#no shutdown
Step 5:assign default-gateway for also need to add default gateway to the pc so it can communicate it’s local subnet and vlan by using default gateway .So we need to specify this default gateway to the switch
Switch(config)#ip default-gateway 192.168.1.1
SW2-dhanmondi Configuration :
Step 1:-> assing line console password using PBKDF2 hashing algorithm
Switch(config)#user sw2 algorithm-type sha256 secret switch2
Switch(config)#line con 0
Switch(config-line)#login local
Switch(config-line)#exit
Step 2:->assign enable password using PBKDF2 hashing algorithm
Switch(config)#enable algorithm-type sha256 secret passsw2
Step 3: -> assign line VTY password for Remode Managemet and enable service password encryption
Switch(config)#line vty 0 15
Switch(config-line)#password sw2password
Switch(config)#service password-encryption
Step 4: -> assing management ip address for telnet access
Switch(config)#interface vlan 1
Switch(config-if)#ip address 192.168.1.11 255.255.255.0
Switch(config-if)#no shut
Step 5: -> assign default-gateway for local subnet pc communication
Switch(config)#ip default-gateway 192.168.1.1
No comments