很多小伙伴總覺得網絡設備配置很神秘,今天我就手把手教會各位小伙伴玩轉華為網絡設備 。廢話不多說直接上干貨 , 華為網絡設備配置大全直接奉上 。
配置名稱和密碼
system-view 進入系統視圖配置
quit或return 退出系統視圖模式
sysname 名稱 設置主機名
user-interface console 0 進入控制臺
authentication-mode password
set authentication password cipher 密碼 配置密文密碼
配置遠程管理IP地址
interface vlanif 1 進入VLAN
ip add 192.168.1.254 24 配置IP
undo shutdown 開啟接口
dns domain 域名 設置域名
dns server 192.168.254.254 設置域名IP
dis vlan 顯示vlan
save 保存配置
display current-configuration 顯示當前配置
reboot 重啟設備
undo terminal monitor 取消提示信息
配置端口速率、雙工、ARP:
int g0/0/1 進入接口
description 內容 端口描述
undo negotiation auto 取消協商
duplex full 全雙工
auto duplex full 自動協商速率
speed 10 速率10M
auto speed 100 自動協商速率
arp static 192.168.1.8 5489-99cf-2603 綁定MAC地址
display arp 或 display arp all 查看ARP
配置接口IP和靜態路由
int g0/0/1 進入接口
ip add 192.168.1.6 24 配IP地址
undo shutdown 開啟
dis cur 或 dis cur 查看ARP
ip route-static 192.168.20.0 24 10.0.12.2 配置靜態路由
ip route-static 192.168.10.0 24 serial 0/0/1 端口
ip route-static 0.0.0.0 0 192.168.1.5 默認路由8個0
display ip routing-table 查看路由表
配置VLAN
vlan 10 創建vlan 10
description 內容 vlan描述
vlan batch 30 40 創建多個vlan 2 to 20
int g0/0/1 進入接口
port link-type access 訪問口
port default vlan 10 加入vlan
port link-type trunk 干道口
port trunk allow pass vlan 10 20 允許通過
port turnk allow pass vlan all 所有通過
int e0/0/2 進入接口
port link-type hybrid 混合口模式
undo port default vlan 刪除默認vlan
port hybrid untagged vlan 20 去標簽
port hybrid pvid vlan 2 設置默認vlan
port trunk allow-pass vlan 10 to 100 允許通過不連續用空格(前面加undo不允許)
display port vlan 查看vlan
display vlan 查看vlan
配置VLAN一致性GVRP 雙向注冊
Normal模式(服務器模式)
gvrp 開啟gvrp也是默認模式 Fixed模式(客戶機模式)
gvrp registration fixed
fobbidden模式(透明模式)
gvrp registration forbidden
display vlan summary 查看vlan匯總
display gvrp status 查看gvrp狀態
配置三層交換機VLAN間路由
int vlanif 10 進入接口
ip add 192.168.1.254 24 配IP
int vlanif 20 進入接口
ip add 192.168.2.254 24 配IP
display ip interface brief 接口簡略信息
display port vlan 接口vlan信息
display vlan 查看vlan信息
配置單臂路由VLAN間通信
ip add 192.168.1.254 24 配置IP
dot1q termination vid 10 封裝
arp broadcast enable 開啟arp
display ip interface brief 查看接口
display ip routing-table 查看路由表
display current-configuration 查看配置
配置RIP協議(現在rip用的比較少 , 可以忽略)
rip 啟用RIP默認V1
network 192.168.1.0 發布直連網段
version 2 配置v2版本
display rip 查看rip
display rip database 查看rip數據庫
display ip routing-table 查看路由表
優先級:直連0、靜態60、rip 100、ospf 10/150
配置OSPF協議
ospf 1 啟用OSPF默認是進程1
area 0 進入區域0
network 192.168.3.0 0.0.0.255 發布直連網段
silent-interface g0/0/2 被動接口只能往外發路由
display ospf interface 查看ospf通告
- 華為手機谷歌gms,華為hms建議開啟還是關閉
- 簡單幾步設置讓華為手機的支付更安全,華為手機安全設置
- 華為與時俱進,華為手機下半年規劃
- 華為nova9pro充電速度,華為nova9pro充電技術
- 華晨宇的外貌為什么感覺變了很多? 華晨宇外貌變化大的原因
- 李健什么時候退出水木年華的 李健為什么退出水木年華?
- 華為麥芒怎么設置屏幕常亮,華為麥芒7怎么設置息屏時間
- 華為手機充電顯示此數據線會降低充電速度,鴻蒙充電慢什么原因
- 華為鴻蒙系統怎么設置充電,鴻蒙電池最大容量
- 華為耳機全場景設備雙連接,榮耀ce79耳機說明書
