Detailed telnet experiment based on Cisco simulator

learning target:

Tip: a large collection of na experiments


Learning Content:

Tip: You can add content to learn here.
For example:
1. telnet
2. master ssh
3. static routing
4. ospf
5. stp experiment


study-time:

Tips: You can add the planned study time here.
For example:
1. Monday to Friday 7 pm-9 pm
2, Saturday 9 am-11 am
3, Sunday 3 pm-6 pm


Learning output:

content:

telnet

1. Topological diagram:

Insert picture description here

2. Two authentication methods of telnet

  1. Password authentication
  2. aaa certification

3. R2 is required to log in and r1 needs to show the user name and password, r1 and r2 only show the password

4. Experimental phase

Default> is the user mode priority. Level 0 can only be viewed
after enable to obtain level 15 permissions.
contfig user configuration mode can directly affect the global configuration

Configure the ip address to test the connectivity of the entire network

lol_1 :
//1.先进接口配置ip
int e0/0
ip add 12.1.1.1  255.255.255.0
no shut(因为思科路由器的的接口默认是关闭的)
 
lol_2 :
//1.先进接口配置ip
int e0/1
ip add 12.1.1.2  255.255.255.0
no shut(因为思科路由器的的接口默认是关闭的)
测试一下连通性 ping 12.1.1.1  看到感叹号就差不多能通了

Insert picture description here

Configure telnet

1.aaa certification

First create a user password entry, and enable authentication after entering the vty interface:

username 账户 password 密码
line vty 0 4
login local 启用aaa认证
privilege level  0-15  vty 接口的配置优先级
transport input telnet 允许telnet访问

// terminal monitor 终端监控程序

Insert picture description here

carry out

Reverse login from r1 to r2 does not require a password:

line vty 0 4
passwrod 密码
login  (使用密码登录)
show run | section password
service password-encryption //将设备的所有配置密码做一个保护

Guess you like

Origin blog.csdn.net/weixin_45821358/article/details/108353371