华三交换机配置备忘

  1. 华三交换机切换光电口

    #设置成电口
    combo enable copper
    #设置成光口
    combo enable fiber
    
  2. 接口无法协商的情况

    #设置千兆速率
    speed 1000
    #设置全双工
    duplex full
    
  3. 部分型号设置ssh认证

    #开启ssh服务
    ssh server enable
    #新建用户
    local-user admin #新建admin
    password cipher 111111 #设置密文密码
    authorization-attribute level 3 #设置认证级别
    service-type ssh #设置服务的类型
    #设置用户admin的密码验证方式可以认证所有服务
    ssh user admin service-type all authentication-type password
    #新建虚拟用户接口
    user-interface vty 0 4 
    acl 2000 inbound #在入口绑定2000的策略
    acl ipv6 2000 inbound #在入口绑定ipv6的2000策略
    authentication-mode scheme #设置认证模式为aaa
    user privilege level 3 #设置用户权限
    protocol inbound ssh #设置绑定的协议
    
posted @ 2023-04-13 16:13  厚礼蝎  阅读(124)  评论(0编辑  收藏  举报