cisco与h3c 命令对比

上传人:简****9 文档编号:95487842 上传时间:2019-08-19 格式:DOC 页数:3 大小:95.50KB
返回 下载 相关 举报
cisco与h3c 命令对比_第1页
第1页 / 共3页
cisco与h3c 命令对比_第2页
第2页 / 共3页
cisco与h3c 命令对比_第3页
第3页 / 共3页
亲,该文档总共3页,全部预览完了,如果喜欢就下载吧!
资源描述

《cisco与h3c 命令对比》由会员分享,可在线阅读,更多相关《cisco与h3c 命令对比(3页珍藏版)》请在金锄头文库上搜索。

1、cisco与H3C命令对比命令的作用思科路由器命令华为路由器命令显示当前配置show rundisp current显示已保存的配置show startdisp saved显示版本show versiondisp version显示路由器板块信息show diagdisplay device显示全面的信息show tech-supportdisp base-information显示接口信息show interfacedisp interface显示路由表show ip routedisplay ip routing显示CPU占用率show pro cpudisplay cpu-usage显示

2、内存使用率show pro memdisplay memory-usage显示日志show loggingdisplay logbuffer显示时间show clockdisplay clock进入特权模式enablesuper退出特权模式disablequit进入设置模式config terminalsystem-view进入端口设备模式interface 端口interface 端口设置端口封装模式encapslutionlink-protocl设置E1端口非成帧模式unframedusing E1退出设置模式endreturn返回上级模式exitquittelnet退出exitlogou

3、t删除某项配置数据noundo删除整个配置文件erasedelete保存配置文件writesave设置路由器名字hostnamesysname创建新用户usernamelocal-user设置特权密码enable secretsuper password设置明文密码enable passwordset authentication password simple启动RIP路由协议router riprip启动OSPF路由协议router ospfospf启动BGP路由协议router bgpbgp引入路由信息redistributeimport-route设置访问控制列表access-list

4、acl配置日志信息logginginfo-center配置VTY端口信息line vty 0 4user-interface vty 0 4设备VTY登陆密码passwordset authentication password清除统计信息/复位进程clearreset重启路由器reloadreboot进入中文状态lang chinesehost与ip名字对应hostip host进入vlan配置vlan databasevlan设置成为骨干端口vtp trunktrunk模式mode主干线trunktrunk接口控制switchportport访问accessaccess设置dhcp服务器功

5、能ip dhcpdhcp取消所有debug命令no debug allctrl+d交换部分进入接口interface type/numberport type/number配置管理vlan地址interface vlan 1interface vlan 1定义多个端口组interface ranginterface ethID to ID配置接口状态duplex (half|full|auto)duplex (half|full|auto)配置端口速率speed(10|100|1000)speed(10|100|1000)配置trunkswitchport mode trunkport lin

6、k-type trunk将端口加入vlanswitchport access vlan IDport vlan ID添加/删除VLANvlan ID / no vlan IDvlan ID / undo vlan ID查看端口show interfacedisplay interface查看vlanshow vlan iddisplay vlan id链路聚合channel-group 1 mode onport link-aggregation group 1开启三层交换的路由功能ip routing默认开启开启接口三层功能no switchport不支持跨交换机的vlan动态注册vtp d

7、omainGVRPstp配置根网桥spanning-tree vlan ID root primary配置网桥优先级spanning-tree vlan ID root priority查看stp 配置show spanning-tree路由部分配置默认路由ip route 0.0.0.0 0.0.0.0ip route-static 0.0.0.0 0.0.0.0配置静态路由查看路由表show ip routedisplay ip routing-table启用rip、并宣告网段router rip /network 网段rip /network 网段启用ospfrouter ospfosp

8、f enable配置ospf区域network ip 反码 area area-idospf enable area area-id配置rip v2水平分割no auto-summaryrip split-horizon查看路由协议show ip protocoldisplay ip protocol标准访问控制列表access-list 1-99 permit/deny iprule normal permit source IP扩展访问控制列表access-list 100-199 permit/deny protocol source IP+反码rule normal|special p

9、ermit|deny tcp|udp source配置HSRPstandby group-number ip virtual-ipvrrp vrid number virtual-ip配置HSRP优先级standby group-number priorityvrry vrid number priority配置HSRP 占先权standby group-number preemptvrrp vrid number preempt-mode配置端口跟踪standby group-number track无配置静态地址转换ip nat inside source staticnat server global port inside port protocol

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 商业/管理/HR > 管理学资料

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号