ImageVerifierCode 换一换
格式:DOCX , 页数:25 ,大小:244.02KB ,
资源ID:24538277      下载积分:3 金币
快捷下载
登录下载
邮箱/手机:
温馨提示:
快捷下载时,用户名和密码都是您填写的邮箱或者手机号,方便查询和重复下载(系统自动生成)。 如填写123,账号就是123,密码也是123。
特别说明:
请自助下载,系统不会自动发送文件的哦; 如果您已付费,想二次下载,请登录后访问:我的下载记录
支付方式: 支付宝    微信支付   
验证码:   换一换

加入VIP,免费下载
 

温馨提示:由于个人手机设置不同,如果发现不能下载,请复制以下地址【https://www.bdocx.com/down/24538277.html】到电脑端继续下载(重复下载不扣费)。

已注册用户请登录:
账号:
密码:
验证码:   换一换
  忘记密码?
三方登录: 微信登录   QQ登录  

下载须知

1: 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。
2: 试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓。
3: 文件的所有权益归上传用户所有。
4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
5. 本站仅提供交流平台,并不能对任何下载内容负责。
6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

版权提示 | 免责声明

本文(华为与思科命令区别.docx)为本站会员(b****2)主动上传,冰豆网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知冰豆网(发送邮件至service@bdocx.com或直接QQ联系客服),我们立即给予删除!

华为与思科命令区别.docx

1、华为与思科命令区别2010思科路由协议挑战100问第二期红盟过客类型:网络认证大小:1.2M语言:中文 评分:8.0标签:立即下载思科、华为、H3C这些网络设备的命令还是挺多的,不过我们一般用的路由交换机设备都是最简单的了,先学基本命令,再学其他功能命令。路由命令是最基本的命令了。 思科、华为、H3C常用命令对比大全CISCOH3CHUAWEI描述noundoundo取消、关闭当前设置showdisplaydisplay显示查看exitquitquit退回上级hostnamesysnamesysname设置主机名en, config terminalsystem-viewsystem-view

2、进入全局模式deletedeletedelete删除文件reloadrebootreboot重启writesavesave保存当前配置usernamelocal-userlocal-user创建用户shutdownshutdownshutdown禁止、关闭 端口show versiondisplay versiondisplay version显示当前系统版本show startup-configdisplay saved-configurationdisplay saved-configuration查看已保存过的配置show running-configdisplay current-co

3、nfigurationdisplay current-configuration显示当前配置no debug allctrl+dctrl+d取消所有debug命令erase startup-configreset saved-configurationreset saved-configuration删除配置endreturnreturn退到用户视图exitlogoutlogout登出logginginfo-centerinfo-center指定信息中心配置信息lineuser-interfaceuser-interface进入线路配置(用户接口)模式start-configsaved-con

4、figurationsaved-configuration启动配置running-configcurrent-configurationcurrent-configuration当前配置hostip hostip hosthost名字和ip地址对应交换部分enable passwordset authentication password simpleset authentication password simple配置明文密码interface type/numberinterface type/numberinterface type/number进入接口interface vlan 1

5、interface vlan 1interface vlan 1进入vlan配置vlan管理地址interface ranginterface ethID to IDinterface ethID to ID定议多个端口的组enabl esecretsuper passwordsuper password设置特权口令duplex (half|full|auto)duplex (half|full|auto)duplex (half|full|auto)配置接口状态speed (10/100/1000)speed (10/100/1000)speed (10/100/1000)配置端口速率swi

6、tchport mode trunkport link-type trunkport link-type trunk配置trunkvlan ID /no vlan IDvlan batch ID /undo vlan batch IDvlan batch ID /undo vlan batch ID添加、删除vlanswitchport access vlanport default vlan IDport acces vlan ID将端口接入vlanshow interfacedisplay interfacedisplay interface查看接口show vlan IDdisplay

7、vlan IDdisplay vlan ID查看vlanencapsulationlink-protocollink-protocol封装协议channel-group 1 mode onport link-aggregation group 1port link-aggregation group 1链路聚合ip routing默认开启默认开启开启三层交换的路由功能no switchport不支持不支持开启接口三层功能vtp domainGVRPGVRP对跨以太网交换机的VLAN进行动态注册和删除spanning-tree vlan ID root primarystp instance i

8、d root primarystp instance id root primarystp配置根网桥spanning-tree vlan ID prioritystp primary vlauestp primary vlaue配置网桥优先级show spanning-treedis stp briefdis stp brief查看STP配置路由部分ip route 0.0.0.0 0.0.0.0ip route-static 0.0.0.0 0.0.0.0ip route-static 0.0.0.0 0.0.0.0配置默认路由ip route 目标网段+掩码 下一跳ip route-sta

9、tic 目标网段+掩码 下一跳ip route-static 目标网段+掩码 下一跳配置静态路由show ip routedisplay ip routing-tabledisplay ip routing-table查看路由表router rip /network 网段rip /network 网段rip /network 网段启用rip、并宣告网段router ospfospfospf启用ospfnetwork ip 反码 area area area 配置OSPF区域no auto-summaryrip split-horizonrip split-horizon配置RIP V2水平分割

10、show ip protocoldisplay ip protocoldisplay ip protocol查看路由协议access-list 1-99 permit/deny IPrule id permit source IPrule id permit source IP标准访问控制列表access-list 100-199 permit/deny protocol source IP+反码 destination IP+反码 operator operanrule normal|specialpermit|denytcp|udpsource |anydestination |anyop

11、eraterule normal|specialpermit|denytcp|udpsource |anydestination |anyoperate扩展访问控制列表standby group-number ip virtual-ipvrrp vrid number virtual-ipvrrp vrid number virtual-ip配置HSRP组standby group-number priorityvrrp vrid number priorityvrrp vrid number priority配置HSRP优先级standby group-number preemptvrrp

12、vrid number preempt-modevrrp vrid number preempt-mode配置HSRP占先权standby group-number track配置端口跟踪ip nat inside source staticnat server global port inside port protocolnat server global port inside port protocol配置静态地址转换cisco常用命令解释视图模式介绍:普通视图 router特权视图 router# /在普通模式下输入enable全局视图 router(config)# /在特权模式下

13、输入config t接口视图 router(config-if)# /在全局模式下输入int 接口名称 例如int s0或int e0路由协议视图 router(config-route)# /在全局模式下输入router 动态路由协议名称1、基本配置:routerenable /进入特权模式router#conf t /进入全局配置模式router(config)#hostname xxx /设置设备名称就好像给我们的计算机起个名字router(config)#enable password /设置特权口令router(config)#no ip domain-lookup /不允许路由器缺

14、省使用DNS解析命令router(config)#line console 0 /进入控制口的服务模式router(config-line)#password xxx /要设置console的密码router(config-line)#login /使能可以登陆router(config-line)#logging synchronous /日志同步router(config-line)#exec-timeout 0 0 /设置时间溢出为0router(config-line)#line vty 0 4 /进入设置telnet服务模式router(config-line)#password x

15、xx /设置telnet的密码router(config-line)#login /使能可以登陆router(config-line)#exit /保存退出到特权模式router(config)# Service password-encrypt /对所有在路由器上输入的口令进行暗文加密2、接口配置: router(config)#interface serial0 /进入接口配置模式 serial 0 端口配置(如果是模块化的路由器前面加上槽位编号,例如serial0/0 代表这个路由器的0槽位上的第一个接口)router(config-if)#ip address xxx.xxx.xxx.

16、xxx xxx.xxx.xxx.xxx /添加ip 地址和掩码router(config-if)#enca hdl/ppp 捆绑链路协议 hdlc 或者 ppp 思科缺省串口封装的链路层协议是HDLC所以在show run配置的时候接口上的配置没有,如果要封装为别的链路层协议例如PPP/FR/X25就是看到接口下的enca ppp或者enca frrouter(config)#int loopback /建立环回口(逻辑接口)模拟不同的本机网段router(config-if)#ip add xxx.xxx.xxx.xxx xxx.xxx.xxx.xxx /添加ip 地址和掩码给环回口rout

17、er(config-if)#no shutdown /在物理接口上配置了ip地址后用no shut启用这个物理接口反之可以用shutdown管理性的关闭接口3、路由配置:(1)静态路由router(config)#ip route xxx.xxx.xxx.xxx xxx.xxx.xxx.xxx 下一条或自己的接口router(config)#ip route 0.0.0.0 0.0.0.0 s 0 添加缺省路由(2)动态路由rip协议router(config)#router rip /启动rip协议router(config-router)#network xxx.xxx.xxx.xxx /

18、宣告自己的网段router(config-router)#version 2 转换为rip 2版本router(config-router)#no auto-summary /关闭自动汇总功能,rip V2才有作用router(config-router)# passive-int 接口名 /启动本路由器的那个接口为被动接口router(config-router)# nei xxx.xxx.xxx.xxx /广播转单播报文,指定邻居的接ipigrp协议router(config)#router igrp xxx /启动igrp协议 router(config-router)#network

19、xxx.xxx.xxx.xxx /宣告自己的网段router(config-router)#variance xxx /调整倍数因子,使用不等价的负载均衡eigrp协议router(config)router eigrp xxx /启动协议router(config-router)#network xxx.xxx.xxx.xxx /宣告自己的网段router(config-router)#variance xxx /调整倍数因子,使用不等价的负载均衡router(config-router)#no auto-summary /关闭自动汇总功能ospf协议router(config)router

20、 ospf xxx /启动协议启动一个OSPF协议进程router(config-router)network xxx.xxx.xxx.xxx area xxx /宣告自己的接口或网段在ospf的区域中可以把不同接口宣告在不同区域中router(config-router)router-id xxx.xxx.xxx.xxx /配置路由的idrouter(config-router)aera xxx stub /配置xxx区域为末梢区域 加入这个区域的路由器全部要配置这个条命令router(config-router)aera xxx stub no-summary /配置xxx区域为完全末梢区

21、域 只在ABR上配置router(config-router)aera xxx nssa /配置xxx区域为非纯末梢区域加入这个区域的路由器全部要配置这个条命令router(config-router)aera xxx nssa no-summary /配置xxx区域为完全非纯末梢区域 只在ABR上配置,并发布缺省路由信息进入这个区域内的路由器4、保存当前修改/运行的配置:router#write /将RAM中的当前配置存储到NVRAM中,下次路由器启动就是 执行保存的配置router#Copy running-config startup-config /命令与write效果一样5、一般的常

22、用命令router(config-if)#exitrouter(config)#router(config-router)#exitrouter(config)#router(config-line)#exitrouter(config)#router(config)#exit router#exit命令 /从接口、协议、line等视图模式下退回到全局配置模式,或从全局配置模式退回到特权模式router(config-if)#endrouter(config-router)#endrouter(config-line)#endrouter#end命令 /从任何视图直接回到特权模式router#

23、Logout /退出当前路由器登陆模式相对与windows的注销router#reload /重新启动路由器(热启动)冷启动就是关闭路由器再打开电源开关 特权模式下:router#show ip route /查看当前的路由表router#clear ip route * /清楚当前的路由表router#show ip protocol /查看当前路由器运行的动态路由协议情况router#show ip int brief /查看当前的路由器的接口ip地址启用情况router#show running-config /查看当前运行配置router#show startup-config /查看

24、启动配置router#debug ip pack /打开ip报文的调试router#terminal monitor /输出到终端上显示调试信息router#show ip eigrp neighbors /查看eigrp协议的邻居表router#show ip eigrp top /查看eigrp协议的拓朴表router#show ip eigrp interface /查看当前路由器运行eigrp协议的接口情况router#show ip ospf neighbor /查看当前路由器的ospf协议的邻居表router#show ip ospf interface /查看当前路由器运行osp

25、f协议的接口情况router#clear ip ospf process /清楚当前路由器ospf协议的进程router#Show interfaces /显示设置在路由器和访问服务器上所有接口的统计信息. 显示路由器上配置的所有接口的状态router#Show interfaces serial /显示关于一个串口的信息router#Show ip interface /列出一个接口的IP信息和状态的小结, 列出接口的状态和全局参数CISCO命令全集思科命令汇总Access-enable 允许路由器在动态访问列表中创建临时访问列表入口Access-group 把访问控制列表(ACL)应用到接

26、口上Access-list 定义一个标准的IP ACLAccess-template 在连接的路由器上手动替换临时访问列表入口Appn 向APPN子系统发送命令Atmsig 执行ATM信令命令B 手动引导操作系统Bandwidth 设置接口的带宽Banner motd 指定日期信息标语Bfe 设置突发事件手册模式Boot system 指定路由器启动时加载的系统映像Calendar 设置硬件日历Cd 更改路径Cdp enable 允许接口运行CDP协议Clear 复位功能Clear counters 清除接口计数器Clear interface 重新启动接口上的硬件逻辑Clockrate 设置

27、串口硬件连接的时钟速率,如网络接口模块和接口处理器能接受的速率Cmt 开启/关闭FDDI连接管理功能Config-register 修改配置寄存器设置Configure 允许进入存在的配置模式,在中心站点上维护并保存配置信息Configure memory 从NVRAM加载配置信息Configure terminal 从终端进行手动配置Connect 打开一个终端连接Copy 复制配置或映像数据Copy flash tftp 备份系统映像文件到TFTP服务器Copy running-config startup-config 将RAM中的当前配置存储到NVRAMCopy running-con

28、fig tftp 将RAM中的当前配置存储到网络TFTP服务器上Copy tftp flash 从TFTP服务器上下载新映像到FlashCopy tftp running-config 从TFTP服务器上下载配置文件Debug 使用调试功能Debug dialer 显示接口在拨什么号及诸如此类的信息Debug ip rip 显示RIP路由选择更新数据Debug ipx routing activity 显示关于路由选择协议(RIP)更新数据包的信息Debug ipx sap 显示关于SAP(业务通告协议)更新数据包信息Debug isdn q921 显示在路由器D通道ISDN接口上发生的数据链

29、路层(第2层)的访问过程Debug ppp 显示在实施PPP中发生的业务和交换信息Delete 删除文件Deny 为一个已命名的IP ACL设置条件Dialer idle-timeout 规定线路断开前的空闲时间的长度Dialer map 设置一个串行接口来呼叫一个或多个地点Dialer wait-for-carrier-time 规定花多长时间等待一个载体Dialer-group 通过对属于一个特定拨号组的接口进行配置来访问控制Dialer-list protocol 定义一个数字数据接受器(DDR)拨号表以通过协议或ACL与协议的组合来控制控制拨号Dir 显示给定设备上的文件Disable

30、 关闭特许模式Disconnect 断开已建立的连接Enable 打开特许模式Enable password 确定一个密码以防止对路由器非授权的访问Enable password 设置本地口令控制不同特权级别的访问Enable secret 为enable password命令定义额外一层安全性Encapsulation frame-relay 启动帧中继封装Encapsulation novell-ether 规定在网络段上使用的Novell独一无二的格式Encapsulation PPP 把PPP设置为由串口或ISDN接口使用的封装方法Encapsulation sap 规定在网络段上使用的以太网802.2格式Cisco的密码是sapEnd

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1