项目设备开局调试

https://info.support.huawei.com/enterprise/zh/doc/EDOC1100304779/3f68ee3e 华为设备文档中心

    1.修改设备主机名
        sys name

    2.设置console口密码
        密码模式
        aaa模式
            user-interface console 0
            authentication-mode aaa
            aaa
            local-user ****** password cipher ******
            local-user ****** service-type terminal
            local-user ****** privilege level 3


    3.设置ssh密码-远程调试---AAA-认证、授权、审计
        AAA认证
            ssh client first-time enable 
                第一次访问保存公钥相关

            user-interface console 0
            authentication-mode aaa  
            protocol inbound ssh 
            aaa 
            local-user ****** password cipher ******
            local-user ****** service-type ssh  
            local-user ****** privilege level 3  
            stelnet server enable  


    4.管理地址+默认网关
        https://info.support.huawei.com/enterprise/zh/doc/EDOC1100304779/2fc59354

    5.设置时区+时间  NTP
        NTP-设置时间服务器首先需要可以上网
            clock timezone CN add 8  设置时区
                
            ping time.windows.com  查看微软的时间服务器地址
            ntp-service unicast-server 52.231.114.183
                设置微软时间服务器|内部时间服务器

            dis ntp status 
                查看ntp当前状态

            dis clock
                查看时间



    6.网络监控
        设备日志,带宽使用率,cpu,内存,登录日志
        常见的流量监控系统:zabbix\nagios\cacti\esight
        SNMP
            snmp-agent trap enable 
                开启snmp

            snmp-agent sys-info version v2c
                设置版本

            snmp-agent community  read cipher ******  
                设置密码
posted @ 2025-01-06 16:36  YZreal  阅读(61)  评论(0)    收藏  举报