zoukankan      html  css  js  c++  java
  • 接口限速和密码修改

    接口限速和密码修改

    一、H3C

    1、接口限速

    我们内部会传输一些大文件,一般这些文件都非常大,几十个G是有的,我们内部是千兆交换机,内部文件传输速度通常都在50M/S左右,速度非常快,但是存在一个问题,当两个人进行传输大文件时,往往将交换机内部的带宽给全部占用完了,影响其他同事正常上网。

     # 在接口之下敲这个命令,15000指的是速率,15000大概是2M左右,这是限制下载的
     qos lr outbound cir 15000 
     
     # 下面这条命令是限制上传的,一般我们只限制下载就可以了,因为我们公司下载比较多。
     qos lr inbound cir 15000 
    

    研发、非研发、公网电脑是必须要限速的,尤其是公网电脑,由于开了迅雷和百度云超级会员,速率非常非常快。

    2、密码修改

    #console接口
    [H3C]user-interface aux 0 
    [H3C-ui-aux0]authentication-mode password 
    [H3C-ui-aux0]set authenticaton password simple 123456 
    
    #telnet
    telnet server enable
    user-interface vty 0 4
    authentication-mode scheme 
    
    [H3C]local-user admin           //设置创建本地认证的用户名
    [H3C-luser-manage-admin]password simple 123456 //设置明文密码,使用命令查看当前配置时,密码会以哈希加密后显示 图3
    
    [H3C-luser-manage-admin]service-type telnet //用户作用于telnet服务
    authorization-attribute user-role level-15 
    

    3、查看相邻接口的MAC地址

    dis lldp nei list
    

    二、UNV

    UNV就是宇视的交换机,是我见过最难用的交换机,这种交换机是贴牌烽火的。

    1、接口限速

    # 进入接口
    rate-limit in 100
    rate-limit out 100   #通常用一个就可以了,这是下载,400是3M
    

    批量操作,interface gi 1/0/1 to gi 1/0/24

    2、密码修改

    # NSW3110 console接口
    config
    passwd WORD
    
    # console密码修改
    conf-mode
    password console WORD
    
    
    # telnet密码修改
    conf-mode
    password telnet WORD
    
    # telnet密码设置
    username admin password WORD
    

    3、查看相邻接口的MAC地址

    <bresee_14F_01>show mac-address-table
    Total Mac Addresses for this criterion: 135
                             Mac Address Table
    ------------------------------------------------------------
            Vlan         Mac Address   Static     Drop     Ports
    ------------         -----------   ------     ----     -----
             280   48:ea:63:63:04:f7      no        no  gige0_24
             280   f4:8e:38:da:97:58      no        no  gige0_24
             280   8c:16:45:ca:1f:01      no        no    eth0_8
             280   00:d8:61:44:a8:22      no        no  gige0_24
             280   30:e1:71:ba:89:52      no        no  gige0_24
             280   00:0a:f7:a1:4f:c3      no        no  gige0_24
             280   00:0a:f7:93:94:28      no        no  gige0_24
             280   e8:6a:64:67:27:f4      no        no  gige0_24
             280   b8:ca:3a:a9:9f:d9      no        no  gige0_24
    

    4、恢复出厂设置

    erase startup configuration
    reboot
    
  • 相关阅读:
    [转载]PHP中PSR-[0-4]规范
    Git忽略规则及.gitignore规则不生效的解决办法
    nginx配置tp5的pathinfo模式并隐藏后台入口文件
    php过滤&nbsp;字符
    使用ajax的post方式下载excel
    scws简单中文分词
    php的api及登录的权限验证
    对钩子的理解
    基于角色的权限控制
    微信开发之SVN提交代码与FTP同步到apache的根目录
  • 原文地址:https://www.cnblogs.com/yizhangheka/p/13473568.html
Copyright © 2011-2022 走看看