為人者,有大度成大器矣,—— 司馬懿
文章目錄
- 一、華為
- 二、思科
- 三、華三
資深工程師的必備“秘籍”;華為、華三、思科的常用配置命令,
一、華為
CTRL+Z //退到用戶視圖模式
current-configuration //當前配置
display //查看
delete //洗掉檔案
display version //查看當前系統版本資訊
display saved-configuration //查看已保存過的配置
display current-configuration //查看當前配置
display interface //查看介面資訊
display vlan ID //查看VLAN
duplex (half|full|auto) //配置介面的狀態
ip host //HOST名字和IP地址對應
info-center //指定資訊中心配置資訊
interface vlan 100 //進入VLAN并配置VLAN管理地址
interface ethID to ID //定義多個埠的組
logout //退出
local-user //創建用戶
link-protocol //封裝協議
port link-type access //配置access埠模式
port link-aggregation group 1 //鏈路聚合
port vlan ID //將埠接入VLAN
quit //退回上一級模式
reboot //重啟
return //退到用戶視圖模式
reset saved-configuration //洗掉配置
system-view //進入全域模式
sysname //設定主機名
shutdown //關閉介面
saved-configuration //啟動配置
save //保存當前配置
set authentication password simple//配置明文密碼
super password //設定特權口令
speed (10/100/1000) //配置埠速率
user-interface //進入線路配置模式
undo //洗掉命令
undo vlan ID //洗掉VLAN
vlan ID //添加VLAN
vlan batch ID //批量添加VLAN
save

二、思科
channel-group 1 mode on //鏈路聚合
config terminal //進入全域模式
delete //洗掉組態檔
duplex (half|full|auto) //配置介面狀態資訊
enable //由特權模式進入用戶模式
erase startup-config //洗掉配置
end //退到用戶視圖模式
exit //退出上一級模式
enabl esecret //設定特權口令
encapsulation //封裝協議
enable password //配置明文密碼
hostname //設定主機名
host //HOST名字和IP地址對應
interface type/number //進入介面
interface vlan 1 //進入vlan配置vlan管理地址
interface rang //定議多個埠的組
ip routing //開啟三層交換的路由功能
logging //指定資訊中心配置資訊
line //進入線路配置模式
no //取消、關閉當前設定
no debug all //取消所有debug命令
no switchport //開啟介面三層功能
reload //重啟
running-config //當前配置
show //查看資訊
spanning-tree vlan ID root primary//STP配置根網橋
spanning-tree vlan ID priority //配置網橋的優先級
show spanning-tree //查看STP配置資訊
show interface //查看介面資訊
show vlan ID //查看VLAN ID資訊
shutdown //關閉介面
show version //查看當前系統版本資訊
show startup-config //查看已保存過的配置
show running-config //查看當前配置
start-config //啟動配置
speed (10/100/1000) //配置埠速率
switchport mode access //配置ACCESS埠模式
switchport access vlan ID //將埠接入VLAN ID
username //創建用戶
vlan ID //添加VLAN
no vlan ID //洗掉VLAN
vtp domain //對跨以太網交換機的VLAN進行動態注冊和洗掉
write //保存當前配置命令
write

三、華三
CTRL+Z //退到用戶視圖模式
current-configuration //當前配置
display //查看
delete //洗掉檔案
display version //查看當前系統版本資訊
display saved-configuration //查看已保存過的配置
display current-configuration //查看當前配置
display interface //查看介面資訊
display vlan ID //查看VLAN
duplex (half|full|auto) //配置介面的狀態
ip host //HOST名字和IP地址對應
info-center //指定資訊中心配置資訊
interface vlan 100 //進入VLAN并配置VLAN管理地址
interface ethID to ID //定義多個埠的組
logout //退出
local-user //創建用戶
link-protocol //封裝協議
port link-type access //配置ACCESS埠模式
port link-aggregation group 1 //鏈路聚合
port vlan ID //將埠接入VLAN
quit //退回上一級模式
reboot //重啟
return //退到用戶視圖模式
reset saved-configuration //洗掉配置
system-view //進入全域模式
sysname //設定主機名
shutdown //關閉介面
saved-configuration //啟動配置
save //保存當前配置
set authentication password simple//配置明文密碼
super password //設定特權口令
speed (10/100/1000) //配置埠速率
user-interface //進入線路配置模式
undo //洗掉命令
undo vlan ID //洗掉VLAN
vlan ID //添加VLAN
save

總的來說,華為與華三的配置命令很相似,
所以,你學廢了嗎?

我是藝博東!歡迎你和我一起討論,我們下期見,
轉載請註明出處,本文鏈接:https://www.uj5u.com/qita/172270.html
標籤:其他
