首页 > 其他分享 >华为设备配置

华为设备配置

时间:2022-08-31 13:56:24浏览次数:66  
标签:配置 Huawei 华为 ui user vty interface port 设备

华为设备配置

1、基础配置

[]修改设备名: sysname

<>进入系统视图: system-view

<>设置时钟: clock datetime 时:分:秒 年-月-日

<>设置时区: clock timezone <zone name> add <08:00:00>

<>查看时间与时区: display clock

[]设置登录前消息: header login information <text>

[]设置登录后消息: header shell information <text>

<>关闭系统提示信息: undo terminal monitor

2、认证设置

1、console认证

<Huawei>sys
Enter system view, return user view with Ctrl+Z.
[Huawei]user-interface console 0
[Huawei-ui-console0]user privilege level 3
[Huawei-ui-console0]authentication-mode pa
[Huawei-ui-console0]authentication-mode password
[Huawei-ui-console0]set authentication password cipher hjjzs
[Huawei-ui-console0]

2、vty(远程登录)

vty最多支持15个vty用户登录,但如下设置会报错

<Huawei>sys
Enter system view, return user view with Ctrl+Z.
[Huawei]user-interface vty ?
  INTEGER<0-4>  The first user terminal interface to be configured
[Huawei]user-interface vty 5
                           ^
Error: Wrong parameter found at '^' position.
[Huawei]

如何使其支持15个vty用户登录呢?

[Huawei]user-interface maximum-vty ?
  INTEGER<0-15>  The maximum number of VTY users, the default value is 5

[Huawei]user-interface maximum-vty 15
[Huawei]user-interface vty ?
  INTEGER<0-14>  The first user terminal interface to be configured
[Huawei]


设置密码

[Huawei]user-interface vty 5
[Huawei-ui-vty5]user privilege level 3
[Huawei-ui-vty5]authentication-mode password
[Huawei-ui-vty5]set authentication password cipher hjjzs
[Huawei-ui-vty5]

3、远程登录

<Huawei>sys
Enter system view, return user view with Ctrl+Z.
[Huawei]telnet server enable
Info: The Telnet server has been enabled.
[Huawei]

[Huawei]int Vlanif 1
[Huawei-Vlanif1]ip ad
[Huawei-Vlanif1]ip address 192.168.1.3 24
[Huawei-Vlanif1]

[Huawei]user-interface vty 0
[Huawei-ui-vty0]user privilege level 3
[Huawei-ui-vty0]authentication-mode password
[Huawei-ui-vty0]set authentication password cipher hjjzs
[Huawei-ui-vty0]

3、批处理操作

可以同时对多个端口进行操作

[Huawei]port-group group-member e0/0/2 to e0/0/6 # group-member e0/0/07 to e0/0/08 e0/0/11
[Huawei-port-group]port link-type trunk
[Huawei-Ethernet0/0/2]port link-type trunk
[Huawei-Ethernet0/0/3]port link-type trunk
[Huawei-Ethernet0/0/4]port link-type trunk
[Huawei-Ethernet0/0/5]port link-type trunk
[Huawei-Ethernet0/0/6]port link-type trunk
[Huawei-port-group]

标签:配置,Huawei,华为,ui,user,vty,interface,port,设备
From: https://www.cnblogs.com/YJHZS/p/16642844.html

相关文章

  • JeeSite环境的安装与配置
    一、安装java开发环境二、配置Maven本地仓库三、新建demo数据库  四、启动idea,打开已解压的jeesite4-master五、修改yml文件,链接新建数据库注意:数据库名称,userna......
  • OPNsense 防火墙系列一:安装、基础配置(PPPoE、IPv6、更换软件源)
    说明OPNsense其实是我第一次使用的路由防火墙系统,按照官方说法:“OPNsense®是一个开源的、易于使用和易于构建的基于FreeBSD的防火墙和路由平台。”这里OpenWrt不......
  • 从零开始配置vim(19)——终端配置
    在上一篇文章中,我们熟悉了终端模式,并且配置了终端模式的一些操作。但是它总是有那么一点不符合我们的使用习惯。这篇我们将通过强大的插件来完善终端操作的体验。在介绍插......
  • winio的配置
    这两天一直在做winio的配置,现在简单的记录一下winio的作用:window对底层硬件有保护,一般IDE不能直接访问,但是winio能使电脑IDE直接对硬件进行访问,写入等(个人理解,不喜勿喷)wi......
  • LiveGBS流媒体平台国标GB/T28181作为上级平台对接海康、大华、华为、宇视等下级平台NV
    @目录1、背景说明2、部署国标平台2.1、安装使用说明2.2、服务器网络环境2.3、信令服务配置3、监控摄像头设备接入3.1、海康GB28181接入示例3.2、大华GB28181接入示例3.3、......
  • 项目实用-logback.xml配置-sql和异常在不同的文件中
    <configuration><!--本文主要输出日志为控制台日志,系统日志,sql日志,异常日志--><!--%m输出的信息,%p日志级别,%t线程名,%d日期,%c类的全名,,,,--><!--控制台-......
  • 09 | 阿里云服务器从0配置django环境
    首先要租一台阿里云服务器,注意操作系统为centos7.说一个坑!!如果是ubuntu那么可能会造成有些python的版本不可以安装。配置服务器yumupdateyuminstall-ycr......
  • docker配置远程访问
    DockerDaemon默认情况下是只允许本地访问的,不允许远程访问。本文将首先介绍DockerDaemon的连接方式,然后说明如何配置远程访问。即实现通过本地docker客户端访问远......
  • 【华为账号服务】【FAQ】Account Kit常见咨询合集--获取帐号个人信息相关问题
    ​ 1、AccessToken和RefreshToken最长会有多长?AccessToken和RefreshToken的长度与其中编码的信息有关,目前来讲AccessToken和RefreshToken的长度不会超过1024字符......
  • hadoop配置的几个小问题
    1.ssh免密登陆配置也要给本机进行配置,否则后续会出现问题。2.hadoop配置文件中需要看好value值的最后不能有空格。在hdfs-site.xml中,登陆网址是否自己进行了配置。 ......