
连Console->初始化配置->安全加固->备份配置->贴标签Console连接救命步骤
波特率:9600
数据位:8
停止位:1
流控:无

# 1. 改名(定位设备关键!)
system-view
sysname Floor3-SW
# 2. 管理IP(华三需先创建VLAN)
vlan batch 100
interface vlanif 100
ip address 192.168.100.10 24
# 3. 开启SSH(华三命令:ssh server enable)
stelnet serverenable
user-interface vty 0 4
authentication-mode aaa
protocol inbound ssh
# 4. 保存配置(华三:save force)
quit
save

# 1. 关闭死亡服务(通用)
undo telnet server # 华为
undo ip http server # 华三
# 2. 密码策略(华三类似)
aaa
local-user admin password irreversible-cipher [email protected]
local-user admin service-type ssh
# 3. 端口安全(防私接)
interface gigabitethernet 0/0/1
port-securityenable
port-security max-mac-num 3 # 允许3个MAC



# 1. 创建VLAN
vlan 10
name Office
# 2. 端口划入VLAN
interface gigabitethernet 1/0/5
port link-type access # 接入模式
port access vlan 10
# 3. Trunk口配置(上联核心)
interface gigabitethernet 1/0/48
port link-type trunk
port trunk permit vlan 10 20 # 允许多个VLAN

🆘电脑无法上网

救命命令:
display interface gigabitethernet 1/0/10 # 查看端口状态
display mac-address | include 5489-98d3 # 根据MAC定位端口
🆘配置丢失
# 华为恢复配置
startup saved-configuration backup.cfg # 指定备份文件
reboot
# 华三恢复配置(特权模式)
<H3C> restore flash:/config.cfg
<H3C> reboot

✅命名规范
# 位置-型号-名称-机柜
sysname CQBB-S5700-HXSW-A01
✅端口描述
interface gigabitethernet 1/0/23
description To_HR_PC-001 # 华三命令相同
✅自动备份
scheduler job BACKUP
command1: save
command2: tftp 192.168.1.100 put vrpcfg.zip
scheduler schedule DAILY-3AM
job BACKUP
time repeating at 03:00 daily
🧰新手必备工具包
根据以往用过的工具推荐这几款来配合学习,工作当中也非常实用!
1️⃣MobaXterm

2️⃣TFTP

3️⃣ENSP
4️⃣H3C cloud lab

发表回复