灯火互联
管理员
管理员
  • 注册日期2011-07-27
  • 发帖数41778
  • QQ
  • 火币41290枚
  • 粉丝1086
  • 关注100
  • 终身成就奖
  • 最爱沙发
  • 忠实会员
  • 灌水天才奖
  • 贴图大师奖
  • 原创先锋奖
  • 特殊贡献奖
  • 宣传大使奖
  • 优秀斑竹奖
  • 社区明星
阅读:1755回复:0

思科华为基础命令对照表

楼主#
更多 发布于:2011-10-03 12:56
思科华为基础命令对照表
思科                华为
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 liu-chao        \设置主机名
 
interface Ethernet 0/0       进入接口模式
description T0 Switch-A      \接口描述
ip address 192.168.10.222 255.255.255.0  \配置接口IP地址
undo shutdown   \启用接口
 
local-user liu-chao  \建立用户名liu-chao
password simple liu-chao  \设置密码为liu-chao
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 liu-chao
 
super password simple liu-chao \设置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 命令在任何视图下都可执行,不必切换到全局配置视图

喜欢0 评分0
游客

返回顶部