一、实验拓扑
二、配置示例
打开S6850 的命令行控制台
<H3C>system-view
System View: return to User View with Ctrl+Z.
[H3C]vlan 10
[H3C-vlan10]quit
[H3C]interface GigabitEthernet 1/0/1
[H3C-GigabitEthernet1/0/1]port link-type access
[H3C-GigabitEthernet1/0/1]port access vlan 10
[H3C]interface Vlan-interface 10
[H3C-Vlan-interface10]ip address 192.168.1.248 24
[H3C]telnet client source interface Vlan-interface 10
[H3C]telnet server enable
[H3C]user-interface vty 0 4
[H3C-line-vty0-4]authuser-role level-15
[H3C-line-vty0-4]entication-mode scheme
[H3C-line-vty0-4]user-role level-15
[H3C-line-vty0-4]quit
[H3C]local-user admin class manage
[H3C-luser-manage-admin]password simple abcd@123456
[H3C-luser-manage-admin]authorization-attribute user-role level-15
[H3C-luser-manage-admin]service-type telnet
[H3C-luser-manage-admin]quit
[H3C]quit
<H3C>save
三、登录验证
在PC 上打开SecureCRT 软件,Alt+Q
快捷键调出快速连接窗口
输入用户名“admin”,密码“abcd@123456”登录成功!
参阅官方资料:
H3C S6805[S6825][S6850][S9850]系列交换机 产品文档集-R66xx-6W101-新华三集团-H3C