思科华为基础命令对照表

思科华为基础命令对照表
思科                 华为
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 命令在任何视图下都可执行 , 不必切换到全局配置视图
 

你可能感兴趣的:(命令,基础,华为,对照表,思科)