Telnet configuration device remote management—eNSP

Case: Configure remote management for routers, so that one router can remotely manage another.

Required equipment: two routers, one network cable

icon
insert image description here

1. Configure IP addresses for the two devices

  1. AR1 (the following command
    a. sy
    b. int g0/0/0
    c. ip add 1.1.1.1 24
  2. AR2
    a. sy
    b. int g0/0/0
    c. ip add 1.1.1.2 24

2. Enable remote management for one of the routers, so that one can remotely manage the other (here AR2 router is enabled)

  1. Command
    a. telnet server enable——Enable remote management
    b. user-interface vty 0 4——Manage the number of remote users at the same timeⅰ
    .解析:user-interface 用户接口;vty:远程用户;0-4:下标从零开始数是5个人

3. Create a remote management account password

  1. command
    a. authentication-mode? ——Choose the authentication mode (add hello later to see what commands are available)
    ⅰ. aaa,需要账号和密码来才能登录此设备
    ⅱ. password,只要密码就可以登录此设备
    b. authentication-mode aaa ——Enter the account and password to log in to this device
    c. q ——Exit
    d. aaa Enter
    e. local -user cwaits password cipher 123456 ——Create account and password
    ⅰ. 解析:local-user+用户名 创建用户;password cipher+密码 密码加密
    f. local-user cwaits privilege level 15 ——Set account authority level
    ⅰ. 0-15,0 只能查看;15 超级管理员
    g. local-user cwaits service-type telnet ——Indicate that this account is used for telnet remote management

4. Test

AR1 remote management AR2
steps:
a. Open AR1
b. telnet 1.1.1.2——remote management AR2
c. Enter account
d. Enter password

icon
insert image description here

Guess you like

Origin blog.csdn.net/Beyonod/article/details/128081153