亚洲 日韩 激情 无码 中出,无码人妻久久一区二区三区蜜桃,亚无码乱人伦一区二区,四虎影视永久免费观看,四虎成人精品一区二区免费网站

華為路由交換常用命令集合(華為交換機路由器常用命令)

小編:餓狼 更新時間:2022-04-14 21:14

>system-view 進入用戶模式

>display courrent-config 查看當(dāng)前配置情況

>display version 察看交換機上IOS版本

>sysname>hostname 交換機名稱 如:Hostname 2403A 此交換機名為2403A

>dispaly interface 查看關(guān)于全部接口的統(tǒng)計表

>dispaly int ?查看所有可用的以太網(wǎng)和快速以太網(wǎng)的命令

.>dispaly int Ethernet ? 以太網(wǎng)

>dispaly int e 0/2 來查看關(guān)于2接口的統(tǒng)計表

>reset saved-configuration 刪除flash或NVRAM中的配置信息.原始值

==================================================================

交換機端口基本配置:

1、配置端口:

第一步:system-view 進入系統(tǒng)配置狀態(tài)

第二步:interface{port-range} 進入端口配置狀態(tài)

第三步: quit 退出

第四步:display interfaces[interface-id] 驗證端口配置

第五步:sasve current-config 保存

2、配置端口速率及雙工模式 可配置以太口為10/100Mbps及10/100/1000Mbps,但GBIC端口吵能配置速率及雙工模式。 當(dāng)要連接不支持自適應(yīng)的其它1000端口時。

第一步:system-view 進入配置狀態(tài)

第二步:interface interface-id 進入端口配置狀態(tài)

第三步:duplex{10|100|1000|auto|} 設(shè)置端口速率

第四步:duplex{auto|full|half} 設(shè)置全雙工或半雙工

第五步:quit 退出

第六步:display current-configuration 顯示有關(guān)配置情況

第七步:save 退出

3、端口描述

第一步: system-view 進入配置狀態(tài)

第二步: interface interface-id 進入要加入描述的端口

第三步: description string 加入描述的端口

第四步: quit 退出

第五步: dispaly interface interface-id descriptoin or dispaly current-config 驗證

第六步: save 保存

4、監(jiān)控及維護端口

display interfaces[interface-id] 顯示所有端口或某一端口的狀態(tài)和配置

display version 顯示軟硬件等情況

5、關(guān)閉和打開端口

第一步;system-view 進入配置狀態(tài)

第二步;interface{vlan vlan-id} | {{fastethernet|gigabitethernet}interface-id}| {port-channel port-channet-number} 選擇要關(guān)閉的端口

第三步:undo(也可能是shutdown) 關(guān)閉

第四步:quit 退出

第五步:display current-config 驗證 注:使用no undo(no shutdown)重新打開端口 如;system-view [switch]interface fastethernet0/5 [switchfastethernet0/5] undo

===================================================================== 配置vlan

1、生成、修改以太網(wǎng)VLAN

第一步:system-view 進入配置狀態(tài)

第二步:vlan vlan-id 輸入一個VLAN號,然后進入VLAN配置狀態(tài), 可以輸入一個新的VLAN號或舊的來進行修改。

第三步:Name vlan-name (可選)輸入一個VLAN名,如果沒有配置VLAN名 缺省的名字是VLAN號前面用0填滿4位數(shù)。如 VLAN0004是VLAN4的缺省名字。

第四步:quit 退出

第五步:save (可選)保存配置 舉例如下: system-view [switch] vlan 20 [switch vlan 20] port E0/10 to E0/12 [switch vlan 20] quit

2、刪除VLAN

第一步: system-view 進入配置狀態(tài)

第二步: no vlan vian-id 刪除某一VLAN

第三步: quit 退出

第四步: display vlan brief 驗證

第五步: save 保存

3、將端口分配給一個VLAN

第一步:system-view 進入配置狀態(tài)

第二步:interface interface-id 進入要分配的端口

第三步:port access vlan vlan-id 把端口分配給某一VLAN

第四步:quit

第五步:save

顯示歷史命令 display history-command 顯示用戶鍵入的歷史命令。

顯示系統(tǒng)配置信息:操作步驟執(zhí)行命令display version,顯示系統(tǒng)版本。

執(zhí)行命令display clock,顯示系統(tǒng)時鐘。

執(zhí)行命令display saved-configuration,顯示起始配置信息。

執(zhí)行命令display current-configuration,顯示當(dāng)前配置信息顯示系統(tǒng)運行狀態(tài)操作步驟

執(zhí)行命令display debugging [ interface interface-type interface-number ] [ module-name ],顯示調(diào)試開關(guān)狀態(tài)。

執(zhí)行命令display this,顯示當(dāng)前視圖的運行配置。

收集系統(tǒng)診斷信息操作步驟執(zhí)行命令display diagnostic-information [ file-nme ],顯示系統(tǒng)診斷信息。 在系統(tǒng)出現(xiàn)故障或日常維護時,為了便于問題定位,需要收集很多的信息,但相應(yīng)的display命令很多,很難一次把信息收集全,這時可以使用display diagnostic-information命令進行系統(tǒng)當(dāng)前各個模塊的運行信息收集。

display diagnostic-information命令一次性收集了如下命令后的終端顯示的信息,包括:display clock、display version、display cpu、display interface、display current-configuration、display saved-configuration、display history-command等。