Hướng dẫn Enabe Login telnet, Login SSH switch, router cisco

Enabe Login​​ telnet,​​ SSH switch, router cisco

 

Mô Hình

Giải thích mô hình:​​ chỉ cần cắm máy tính vào vlan 100 đặt IP dải 192.168.1.x/24 là có thể telnet, ssh đến switch cisco IP 192.168.1.1

 

Mình show run cấu hình​​ trên con switch bài Lab của mình​​ 

 

Switch#sh running-config​​ 

Building configuration...

 

Current configuration : 1259 bytes

!

version 12.2

no service timestamps log datetime msec

no service timestamps debug datetime msec

no service password-encryption

!

hostname Switch

!

enable password cisco2

!

spanning-tree mode pvst

!

interface FastEthernet0/1

switchport access vlan 100

switchport mode access

!

interface FastEthernet0/2

!

interface FastEthernet0/3

!

interface FastEthernet0/4

!

interface FastEthernet0/5

!

interface FastEthernet0/6

!

interface FastEthernet0/7

!

interface FastEthernet0/8

!

interface FastEthernet0/9

!

interface FastEthernet0/10

!

interface FastEthernet0/11

!

interface FastEthernet0/12

!

interface FastEthernet0/13

!

interface FastEthernet0/14

!

interface FastEthernet0/15

!

interface FastEthernet0/16

!

interface FastEthernet0/17

!

interface FastEthernet0/18

!

interface FastEthernet0/19

!

interface FastEthernet0/20

!

interface FastEthernet0/21

!

interface FastEthernet0/22

!

interface FastEthernet0/23

!

interface FastEthernet0/24

!

interface GigabitEthernet0/1

!

interface GigabitEthernet0/2

!

interface Vlan1

no ip address

shutdown

!

interface Vlan100

mac-address 00d0.d39c.d701

ip address 192.168.1.1 255.255.255.0

!

!

!

!

line con 0

password cisco

login local

!

line vty 0 4

password cisco

login local

line vty 5 15

login

BÀI VIẾT CÙNG CHUYÊN MỤC