Configuring remote access
This section describes how to configure remote access on Cisco switches.
Configuring Telnet
Enter the following commands to configure Telnet:
Switch# enable Switch# configure terminal Switch(config)# interface vlan 1 Switch(config-if)# ip address 192.168.1.10 255.255.255.0 Switch(config-if)# no shutdown Switch(config-if)# exit Switch(config)# line vty 0 15 Switch(config-line)# transport input telnet Switch(config-line)# password cisco Switch(config-line)# login Switch(config-line)# exit Switch(config)# copy running-config startup-config
Open the Command Prompt on your computer and try telneting into a remote switch, as shown in Figure 4.9. You need to use thetelnet
command accompanied by the IP address of a remote switch:

Figure 4.9. Telneting into a switch
Configuring SSH
Enter the following commands to configure SSH:
Switch# enable Switch# configure terminal Switch(config)# hostname Test Switch(config)# ip domain-name Test.local Switch(config)# crypto key generate rsa...