H3C交换机基本操作
2024-10-21 09:36:04
Console口登录配置
1、无认证登录console
<H3C>system-view
[H3C]user-interface aux 0 // 进入AUX用户界面
[H3C-line-aux0]authentication-mode none // 通过console口登录交换机,不需要认证
[H3C-line-aux0]user level-3 // 命令访问级别3
[H3C-line-aux0]quit
2、password密码认证登录console
[H3C]user-interface aux 0
[H3C-line-aux0]authentication-mode password // password模式认证
[H3C-line-aux0]set authentication password simple 123456 // 设置登录密码
[H3C-line-aux0]user level-3
[H3C-line-aux0]speed 9600 // 波特率设置
[H3C-line-aux0]quit
[H3C]
3、scheme账号密码认证方式登录console
[H3C]local-user admin // 创建用户
[H3C-luser-manage-admin]password simple 123456 // 设置账户的密码
[H3C-luser-manage-admin]service-type terminal // 用户可以使用的服务
[H3C-luser-manage-admin]quit
[H3C]user-interface aux 0
[H3C-line-aux0]authentication-mode scheme // 使用scheme方式登录console
[H3C-line-aux0]quit
telnet登录配置
<H3C>system-view
[H3C]interface Vlan-interface 1 // 配置默认vlan管理接口
[H3C-Vlan-interface1]ip address 192.168.1.2 255.255.255.0 // 配置访问vlan1的IP地址
[H3C-Vlan-interface1]quit
[H3C]user-interface vty 0 4 // 配置VTY用户接口
[H3C-line-vty0-4]user level-3 // 用户命令级别3,可以使用所有命令
[H3C-line-vty0-4]quit
1、password密码认证登录telnet
<H3C>system-view
[H3C]user-interface vty 0 // 配置vty接口
[H3C-line-vty0]authentication-mode password // password模式认证
[H3C-line-vty0]set authentication password simple 123456 // 设置密码
[H3C-line-vty0]user level-3 // 命令级别
[H3C-line-vty0]protocol inbound telnet // telnet协议登录
[H3C-line-vty0]quit
2、scheme账户密码登录telnet
[H3C]telnet server enable // 启用telnet
[H3C]local-user admin1 // 创建本地用户
[H3C-luser-manage-admin1]password simple 123456 // 设置用户密码
[H3C-luser-manage-admin1]service-type telnet // 用户可以使用的服务
[H3C-luser-manage-admin1]quit
[H3C]user-interface vty 1 // 进入vty接口
[H3C-line-vty1]authentication-mode scheme // 认证模式scheme
[H3C-line-vty1]protocol inbound telnet // 协议telnent
[H3C-line-vty1]quit
最新文章
- 探寻<;a>;中的href和onclick
- JFinal - scheduler 插件做定时任务
- C#常用代码集合(1)
- Nofuser - deobfuscator for Confuser
- IOS_SearchBar搜索栏及关键字高亮
- Homework
- c_test
- POJ2472106 miles to Chicago
- entity.Student@150f3932, entity.Student@1a740c6b 没有实体中的数据
- No valid host was found
- 新型Web劫持技术
- scrollview中停止滚动的监听
- myEclipse笔记(1):优化配置
- opencv人脸检测,旋转处理
- 图形设计必备软件:CorelDRAW
- Expo大作战(三十七)--expo sdk api之 GLView,GestureHandler,Font,Fingerprint,DeviceMotion,Brightness
- 【javascript】js 检验密码强度
- Final阶段第1周/共1周 Scrum立会报告+燃尽图 04
- python3 + zabbix api 的使用
- shell编程——变量子串的常用操作
热门文章
- STM32F0库函数初始化系列:进入STOP模式,外部中断唤醒
- 搜索EE场景排序链路升级
- async异步编程屏蔽凡人
- Luogu P3919 【模板】可持久化线段树 1(可持久化数组)
- Docker安装部署Mysql8(以作数据持久化)
- STM32L4 Keil ST-Link 连接失败
- 09 安装虚拟机:Ubuntu Server 20.04
- 如何设置VBA代码的密码?如何取消VBA代码的密码?
- 计算机存储内部数据的原理,编程语言的发展史和分类,python解释器的下载和安装,计算机cmd窗口的使用,环境变量和解释器多版本共存方法
- sql server 主键自增