• 华为S5700交换机初始化和配置telnet,ssh用户方法


    华为S5700交换机初始化和配置telnet,ssh用户方法

    通过串口线配置S5700 的管理IP地址和网关,串口线接在交换机的console口,ip设置完成后网线接在ETH口:
    system-view                   
    [Quidway] interface Meth 0/0/1          
    [Quidway-Meth0/0/1]ip address x.x.x.x 255.255.255.0
    [Quidway-Meth0/0/1]quit
    [Quidway]ip route-static 0.0.0.0 0.0.0.0 x.x.x.x(gateway)
    [Quidway]

    设置telnet登录S5700(eg.设置用户名admin密码112233):
    system-view
    [Quidway] user-interface vty 0 4
    [Quidway-ui-vty0-4] authentication-mode aaa
    [Quidway-ui-vty0-4]protocal inbound all
    [Quidway-ui-vty0-4] user privilege level 15
    [Quidway-ui-vty0-4]quit
    [Quidway]telnet server enable
    [Quidway] aaa
    [Quidway-aaa] local-user admin password simple 112233
    [Quidway-aaa] local-user admin service-type telnet
    [Quidway-aaa] local-user admin privilege level 15
    [Quidway-aaa] quit

    设置SSH登录5700(eg.设置用户名admin密码112233):
    [Quidway]rsa local-key-pair create
    The key name will be: Quidway_Host
    % RSA keys defined for Quidway_Host already exist.
    Confirm to replace them? [y/n]:y
    The range of public key size is (512 ~ 2048).
    NOTES: If the key modulus is greater than 512,
           it will take a few minutes.
    Input the bits in the modulus[default = 512]:
    Generating keys...
    ...........++++++++++++
    ......++++++++++++
    ..........++++++++
    ...............++++++++
    [Quidway] aaa
    [Quidway-aaa] local-user admin password simple 112233
    [Quidway-aaa] local-user admin service-type ssh
    [Quidway-aaa] local-user admin privilege level 15
    [Quidway-aaa] quit
    [Quidway] stelnet server enable
    Info: Succeeded in starting the Stelnet server.
    [Quidway] ssh authentication-type default password
    [Quidway]quit
    save all
     

  • 相关阅读:
    C语言面试题30至39题
    SAP PP学习笔记23 - 生产订单(制造指图)的元素2 - 决济规则(结算规则)
    Bypass Windows Defender Dump Lsass(手法拙劣)
    抗锯齿的线
    MMDetection 使用示例:从入门到出门
    Python小知识点
    Pandas导出美化技巧,让你的Excel更出众
    centos7配置国密版SSL
    Elasticsearch学习系列三(搜索案例实战)
    从零开始运行YOLOV5
  • 原文地址:https://blog.csdn.net/weixin_51173317/article/details/128090660