h3c配置telnet
时间: 2023-08-31 20:08:23 浏览: 191
h3ctelnet配置
H3C配置telnet有三种认证模式:none、password和scheme。在none模式下,不需要进行任何认证,可以直接登录。例如,R1的配置如下:
[H3C]int g0/0
[H3C-GigabitEthernet0/0ip add 1.1.1.1 24
[H3Ctelnet server enable
[H3Cline vty 0 4
[H3C-line-vty0-4authentication-mode none
[H3C-line-vty0-4user-role level-15
R2的配置与R1类似:
[H3C]int g0/0
[H3C-GigabitEthernet0/0ip add 1.1.1.2 24
在password模式下,需要设置密码进行认证。例如,R1的配置如下:
[H3C]int g0/0
[H3C-GigabitEthernet0/0ip add 1.1.1.1 24
[H3Ctelnet server enable
[H3Cline vty 0 4
[H3C-line-vty0-4authentication-mode password
[H3C-line-vty0-4set authentication password simple 123
[H3C-line-vty0-4user-role level-15
R2的配置与R1类似:
[H3C]int g0/0
[H3C-GigabitEthernet0/0ip add 1.1.1.2 24
在scheme模式下,需要创建一个本地用户,并设置密码和权限。例如,R1的配置如下:
[H3C]int g0/0
[H3C-GigabitEthernet0/0ip add 1.1.1.1 24
[H3Ctelnet server enable
[H3Cline vty 0 4
[H3C-line-vty0-4authentication-mode scheme
[H3C-line-vty0-4quit
[R1local-user xiaobin New local user added.
[R1-luser-manage-xiaobinauthorization-attribute user-role level-15
[R1-luser-manage-xiaobinpassword simple 123
[R1-luser-manage-xiaobinservice-type telnet
R2的配置与R1类似:
[H3C]int g0/0
[H3C-GigabitEthernet0/0ip add 1.1.1.2 24<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *2* *3* [华三telnet三种配置](https://blog.csdn.net/qq_44933518/article/details/108967904)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 100%"]
[ .reference_list ]
阅读全文