❶ 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