This document provides instructions for configuring telnet and SSH access on a router or switch. It includes steps to set a VTY password, configure interfaces with IP addresses, create a username and password, enable SSH, and generate an RSA key. Network administrators can follow these steps to securely access the device remotely via telnet or SSH.
This document provides instructions for configuring telnet and SSH access on a router or switch. It includes steps to set a VTY password, configure interfaces with IP addresses, create a username and password, enable SSH, and generate an RSA key. Network administrators can follow these steps to securely access the device remotely via telnet or SSH.
This document provides instructions for configuring telnet and SSH access on a router or switch. It includes steps to set a VTY password, configure interfaces with IP addresses, create a username and password, enable SSH, and generate an RSA key. Network administrators can follow these steps to securely access the device remotely via telnet or SSH.
Telnet and Secure Shell (SSH) Configuration in Router (or Switch)
1. Give VTY Line Password:
DUET(config)# line VTY 0 4 (Switch(config)# line VTY 0 15) DUET(config-line)# password class DUET(config-line)# login DUET(config-line)# transport input all Or (for only ssh) DUET(config-line)# transport input ssh Or (for only telnet) DUET(config-line)# transport input telnet 2. Configure the Interfaces (FastEthernet or GigabitEthernet or VLAN): DUET(config)# interface fastEthernet 0/0 DUET(config-if)# ip address 192.168.10.1 255.255.255.0 DUET(config-if)# no shutdown
DUET(config)# interface gigabitEthernet 0/0
DUET(config-if)# ip address 192.168.11.1 255.255.255.0 DUET(config-if)# no shutdown
DUET(config)# interface serial 0/0/0
DUET(config-if)# ip address 192.168.10.1 255.255.255.0 DUET(config-if)# no shutdown
DUET(config)# interface VLAN 1
DUET(config-if)# ip address 192.168.10.5 255.255.255.0 DUET(config-if)# no shutdown DUET(config-if)# description VLAN-Student