H3C S3100-52TP-SI 开启远程Telnet服务

H3C S3100-52TP-SI 开启远程Telnet服务

 

<H3C>System-view        #进入系统视图
<H3C>Sysname sw1        #重命名为sw1
[H3C]Interface vlan-interface 1        #进入vlanif 1接口下
[sw1-Vlan-interface1]ip address 192.168.1.1 255.255.255.0        #为管理接口配置ip
[sw1-Vlan-interface1]Undo shutdown        #开启端口
[sw1-Vlan-interface1]Quit        #退出
[sw1]Local-user admin        #创建用户名 admin
[sw1-luser-admin]Password cipher admin@123        #创建密码 admin@123
[sw1-luser-admin]service-type telnet terminal level 3        #服务类型为 Telnet,权限等级为 3
        authorization-attribute level 3        S3100 V2版本配置用户权限
[sw1-luser-admin]quit        #退出
[sw1]user-interface vty 0 4        #进入vty
[sw1-ui-vty0-4]idle-timeout 10        #超时10分钟自动退出
[sw1-ui-vty0-4]authentication-mode scheme         #认证模式

 

3100开启ssh远程管理

[sw1]local-user IT
[sw1-luser-IT]password simple admin789
[sw1-luser-IT]service-type ssh level 3
[sw1-luser-IT]qu

[sw1]user-interface vty 0 4
[sw1-ui-vty0-4]protocol inbound all        #允许所有协议
[sw1-ui-vty0-4]idle-timeout 10        #超时10分钟
[sw1-ui-vty0-4]quit
[sw1]rsa local-key-pair create        #创建ssh秘钥
[sw1]ssh authentication-type default all        #ssh认证为所有

 

注:

  • S3100系列以太网交换机Console口的缺省参数:波特率为9600,数据位为8,奇偶校验为无,停止位为1,流量控制为无,选择终端仿真为VT100
posted @ 2021-03-29 15:10  凡是過往;皆為序章  阅读(536)  评论(0编辑  收藏  举报