❶ cisco與h3c配置命令區別大嗎
原理都是一樣的
下面是cisco和華為的命令對比 希望樓主採納
思科華為基礎命令對照表
思科 華為
show display
show version disp version
no undo
show run disp current-configuration
username local-user
end return
show start disp saved-configuration
exit quit
exit logout
ctrl+z quit
router rip rip
router ospf ospf
router bgp bgp
hostname sysname
access-list acl
write save
erase delete
0 simple
7 cipher
logging info-center
encapsulation link-protocol例子:
sysname Huawei-R2831 \\設置主機名
interface Ethernet 0/0 進入介面模式
description T0 Switch-A \\介面描述
ip address 192.168.10.222 255.255.255.0 \\配置介面IP地址
undo shutdown \\啟用介面
local-user huawei \\建立用戶名huawei
password simple huawei \\設置密碼為huawei
service-type telnet \\服務類型為telnet
user-interface vty 0 4 \\進入telnet通道,設置5個用戶可以同時登陸
authentication-mode scheme \\設置telnet的模式為本地用戶名與密碼登陸
user-interface console 0 設置console密碼
authentication-mode password 密碼認證
set authentication password simple huawei
super password simple huawei \\設置super密碼,
display version \\查看VRP軟體版本
display current-configuration \\查看當前運行的配置
display saved-configuration \\查看已保存過的配置
display interface Ethernet 0/0 \\查看接品參數
display brief interface \\查看介面基本狀態
delete flash:/config.cfg \\刪除用SAVE保存過的配置
delete flash:/main.bin \\刪除VRP的映像文件(謹慎操作)
save \\保存配置
display 和ping 命令在任何視圖下都可執行,不必切換到全局配置視圖
❷ 思科交換機的配置命令和銳捷交換機、華為交換機之間可以通用嗎
思科與銳捷的命令差異不大,與華為的命令就是單詞不一樣,但是同一個意思的單詞像 show 與 display
用戶模式:r1> enable 到特權模式
特權模式下:
disable 退出到用用戶模式,但是不屏顯
Show version 查看系統 硬體 軟體信息版本
Show running-configuration 查看路由器中正在運行(RAM中)的配置 簡寫 sh run,斷電會丟失
show starting-configuration 查看NVRAM中的配置信息。配置在這裡面斷電不會丟失
running-config startup-config 將RAM中的配置保存到NVRAM中
r1#write 保存配置文件到 startup-config 里
Show interfaces 介面 查看相應的介面
Show cdp neighbors 查看所有連接到這個介面的路由器信息 cdp=思科發現協議
Show cdp neighbors detail 查看連接到這個介面設備的更詳細信息
r1#sh ip interface brief 查看介面狀態
r1#show history 顯示最近使用的命令
r1#reload 重新啟動路由器
r1#erase nvram 清除nvram裡面的文件
r1#erase startup-config 功能一樣清除啟動文件
全局模式下:r1# configure terminal 簡寫conf t 到全局模式
r1(config)#
hostname 名字 為路由器命名 注意:名字不可以有空格
no ip domain-lookup 取消域名解析查找
ip default-gateway 配置網關
r1(config)#router rip 進入路由配置模式
r1(config-if)#intterface f0/0.1 進入F0的子介面
r1(config)#interface loopback 0 進入環衛口
r1(config)#line console 0 進入console口
r1(config)#line vty 0 進入VTY 0口
r1(config-if)#ip address 為埠配置IP地址
R1(config)#line console 0
R1(config-line)#exec-timeout 0 0 設置不超時 組織會話退出
R1(config)#no ip domain-lookup 禁止域名解析
R1(config)#line con 0
R1(config-line)#logging synchronous 同步輸入命令(正在輸入命令時被上一條提示信息覆蓋,輸入此命令可以不受干擾)
R1(config)#banner motd # 輸入你想說的話 類似於剛開進入IOS 提醒 聲明 警告界面一樣 #退出輸入界面
實驗配置預先配置:
1.Router(config)#line console 0
Router(config-line)#exec-timeout 0 0 設置不超時
2. Router(config)#ip domain-lookup 禁止域名解析
3. Router(config)#line con 0
Router(config-line)#logging synchronous 同步輸入命令
❸ 如果讓思科交換機用華為交換機模塊,那條命令是什麼
service unsupported-transceiver