Skip to content

Switches

Access Methods

Console

physical management port, make initial configurations photo

Secure Shell(SSH)

Establish a secure remote CLI, recommended method to connect remotely.

Telnet

Establishes an insecure remote CLI connection to a device over the network.

Principals Commands

  • > for user mode and # for privilege mode

    enable,exit                   # switch between users
    

  • Start Configure photo2

  • Change Name photo3

  • Protect EXEC mode access with cisco as password photo4

  • Secure access to EXEC mode as class password photo5

  • Secure access to the VTY line VTY lines allow remote access via Telnet or SSH. photo6

  • encrypt passwords

    configure terminal
    service password-encryption
    exit
    

Tip

use the show running-config command to verify the running config, show startup-config for the config saved and copy running-config startup-config for update config

  • banner

    configure terminal
    banner motd #copy banner here#
    

  • configure virtual interfaces for remote access to switch photo7

SSH Connect

basic configs
enable
configure terminal
no ip domain-lookup

# create password  to EXEC mode

line console 0
login

line vty 0 15
password cisco
login

# crete banner 
banner motd $ authorized Users Only! $

# config intervaface
interface wlan 1
ip address 192.168.1.11 255.255.255.0   # ip address <IP> <NETMASK>
not shutdown

# saved configs
configure the switch for ssh connectivity
ip domain-name ccna-lab.com
crypto key generate rsa modulus 1024
username admin secret cisco

line vty 0 15 
transport input telnet ssh
login local
end

Start PuTTY and connect